Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67892C2D0EC for ; Fri, 27 Mar 2020 22:07:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4588C2071B for ; Fri, 27 Mar 2020 22:07:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727718AbgC0WHG (ORCPT ); Fri, 27 Mar 2020 18:07:06 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:39924 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726781AbgC0WHG (ORCPT ); Fri, 27 Mar 2020 18:07:06 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 4FD6D15B718AE; Fri, 27 Mar 2020 15:07:05 -0700 (PDT) Date: Fri, 27 Mar 2020 15:07:04 -0700 (PDT) Message-Id: <20200327.150704.46582365904452715.davem@davemloft.net> To: idosch@idosch.org Cc: netdev@vger.kernel.org, jiri@mellanox.com, kuba@kernel.org, mlxsw@mellanox.com, idosch@mellanox.com Subject: Re: [PATCH net-next 0/6] mlxsw: Various static checkers fixes From: David Miller In-Reply-To: <20200327085525.1906170-1-idosch@idosch.org> References: <20200327085525.1906170-1-idosch@idosch.org> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 27 Mar 2020 15:07:05 -0700 (PDT) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Ido Schimmel Date: Fri, 27 Mar 2020 11:55:19 +0300 > From: Ido Schimmel > > Jakub told me he gets some warnings with W=1, so I decided to check with > sparse, smatch and coccinelle as well. This patch set fixes all the > issues found. None are actual bugs / regressions and therefore not > targeted at net. > > Patches #1-#2 add missing kernel-doc comments. > > Patch #3 removes dead code. > > Patch #4 reworks the ACL code to avoid defining a static variable in a > header file. > > Patch #5 removes unnecessary conversion to bool that coccinelle warns > about. > > Patch #6 avoids false-positive uninitialized symbol errors emitted by > smatch. Series applied, thanks Ido.