aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-05-16 08:12:51 +0000
committerGreg Kroah-Hartman <[email protected]>2023-05-31 19:31:00 +0000
commitffa28312e2837ae788855840e126fa6f8a1ac35d (patch)
treec8f494d4dd733b90efe8d72dc4e6c7f2043190d6 /drivers/fpga/fpga-region.c
parentMAINTAINERS: Vaibhav Gupta is the new ipack maintainer (diff)
downloadkernel-ffa28312e2837ae788855840e126fa6f8a1ac35d.tar.gz
kernel-ffa28312e2837ae788855840e126fa6f8a1ac35d.zip
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: 02fe26f25325 ("firmware_loader: Add debug message with checksum for FW file") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Cezary Rojewski <[email protected]> Acked-by: Luis Chamberlain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions