[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZGP64ejOZLJEL81O@bombadil.infradead.org>
Date: Tue, 16 May 2023 14:51:29 -0700
From: Luis Chamberlain <mcgrof@...nel.org>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Amadeusz Sławiński
<amadeuszx.slawinski@...ux.intel.com>,
Russ Weight <russell.h.weight@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Cezary Rojewski <cezary.rojewski@...el.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] firmware_loader: Fix a NULL vs IS_ERR() check
On Tue, May 16, 2023 at 11:12:51AM +0300, Dan Carpenter wrote:
> The crypto_alloc_shash() function doesn't return NULL, it returns
> error pointers. Update the check accordingly.
>
> Fixes: 02fe26f25325 ("firmware_loader: Add debug message with checksum for FW file")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
Acked-by: Luis Chamberlain <mcgrof@...nel.org>
Luis
Powered by blists - more mailing lists