linux-hardening.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] gcc-plugins: structleak: remove unneeded variable 'ret'
       [not found] <20200418070505.10715-1-yanaijie@huawei.com>
@ 2021-03-02 22:54 ` Kees Cook
  0 siblings, 0 replies; only message in thread
From: Kees Cook @ 2021-03-02 22:54 UTC (permalink / raw)
  To: Jason Yan, linux-hardening, linux-kernel; +Cc: Kees Cook, Hulk Robot

On Sat, 18 Apr 2020 15:05:05 +0800, Jason Yan wrote:
> Fix the following coccicheck warning:
> 
> scripts/gcc-plugins/structleak_plugin.c:177:14-17: Unneeded variable:
> "ret". Return "0" on line 207

Applied to for-next/gcc-plugins, thanks!

[1/1] gcc-plugins: structleak: remove unneeded variable 'ret'
      https://git.kernel.org/kees/c/b924a8197ac7

-- 
Kees Cook


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-03  7:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200418070505.10715-1-yanaijie@huawei.com>
2021-03-02 22:54 ` [PATCH] gcc-plugins: structleak: remove unneeded variable 'ret' Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).