linux-mainline/drivers/base/firmware_loader
Dan Carpenter ffa28312e2 firmware_loader: Fix a NULL vs IS_ERR() check
The crypto_alloc_shash() function doesn't return NULL, it returns
error pointers.  Update the check accordingly.

Fixes: 02fe26f253 ("firmware_loader: Add debug message with checksum for FW file")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/36ef6042-ce74-4e8e-9e2c-5b5c28940610@kili.mountain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-05-31 20:31:00 +01:00
..
builtin
fallback_platform.c
fallback_table.c
fallback.c
fallback.h
firmware.h
Kconfig firmware_loader: rework crypto dependencies 2023-04-20 11:42:31 +02:00
main.c firmware_loader: Fix a NULL vs IS_ERR() check 2023-05-31 20:31:00 +01:00
Makefile
sysfs_upload.c
sysfs_upload.h
sysfs.c
sysfs.h