[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190621135007.GA27890@kroah.com>
Date: Fri, 21 Jun 2019 15:50:07 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Kees Cook <keescook@...omium.org>
Cc: Colin King <colin.king@...onical.com>,
Arnd Bergmann <arnd@...db.de>, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] lkdtm: remove redundant initialization of ret
On Thu, Jun 20, 2019 at 11:13:32AM -0700, Kees Cook wrote:
> On Fri, Jun 14, 2019 at 10:43:11AM +0100, Colin King wrote:
> > From: Colin Ian King <colin.king@...onical.com>
> >
> > The variable ret is being initialized with the value -EINVAL however
> > this value is never read and ret is being re-assigned later on. Hence
> > the initialization is redundant and can be removed.
> >
> > Addresses-Coverity: ("Unused value")
> > Signed-off-by: Colin Ian King <colin.king@...onical.com>
>
> Thanks!
>
> Acked-by: Kees Cook <keescook@...omium.org>
>
> Greg, can you take this please?
Will do, thanks.
greg k-h
Powered by blists - more mailing lists