From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F32DC450D5 for ; Tue, 17 Oct 2023 15:40:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="rUhN19a8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA571C433C8; Tue, 17 Oct 2023 15:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697557231; bh=k/4uIOPBHeaTpt7AKBQLDITfX6Aadkm7yb2mLqKeNWM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=rUhN19a8JFNf11jlSvHC/pjUaeM1BnwqHbcWiQ7N/JFb9Adqsz5S4vYjL3BjmSbjK loa1jKQGeLqAt8RcHcp1mj1lOyj17+J21LT7xKWNDPNcLsI7FeK7r0RXMLAn/yIaGH 3DnJEzc9gsmWFiM6KUkgNLJWrGuiGG5jHdz5ta+eTC/I48AvkDpnqf6j8XhrVok5SK TcOBUKkmFaIX8J25XYVN0CC7UiKJTBm5ogISECZp/b+cA4mTJ5I2/BQ+YPmTFKS94B 6hsUWwEmcKkzQDuWWXjRl6b5EEHHgZadholqceIgTCjgAbuKh1HXX6SGY3oiqvyVBH A/QNaxIrKjarw== Date: Tue, 17 Oct 2023 08:40:29 -0700 From: Jakub Kicinski To: Jamal Hadi Salim Cc: netdev@vger.kernel.org, anjali.singhai@intel.com, namrata.limaye@intel.com, deb.chatterjee@intel.com, john.andy.fingerhut@intel.com, dan.daly@intel.com, Vipin.Jain@amd.com, tom@sipanda.io, mleitner@redhat.com, Mahesh.Shirshyad@amd.com, tomasz.osinski@intel.com, jiri@resnulli.us, xiyou.wangcong@gmail.com, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, vladbu@nvidia.com, horms@kernel.org, khalidm@nvidia.com, toke@redhat.com, mattyk@nvidia.com Subject: Re: [PATCH v7 net-next 00/18] Introducing P4TC Message-ID: <20231017084029.3920553d@kernel.org> In-Reply-To: References: <20231016093549.181952-1-jhs@mojatatu.com> <20231016131506.71ad76f5@kernel.org> <20231016153548.1c050ea3@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 17 Oct 2023 11:27:36 -0400 Jamal Hadi Salim wrote: > > patch-by-patch W=1 C=1 should be good enough to catch the problems. > > Thanks - this helps. We didnt pay good attention to > https://www.kernel.org/doc/Documentation/process/maintainer-netdev.rst > Only thing that is missing now is the mention of C=1 in the doc. Patch > to the doc acceptable? > Also a note about false positives in sparse output (there were a few > in the warnings from the bot) would be apropos. Um. Maybe.. Sparse generates more false positives than good warnings lately :( We'd have to add some extra info like "Note that sparse is known to generate false-positive warnings, if you think that the warning generated with C=1 is bogus, ignore it and note that fact in the commit message". I don't like documenting things which aren't clear-cut :( I'm pretty sure you have pure W=1 warnings here, too.