aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-04-19 17:27:03 +0300
committerGreg Kroah-Hartman <[email protected]>2023-04-20 11:45:28 +0200
commite1d6ca042e62c2a69513235f8629eb6e62ca79c5 (patch)
treecb2149f7d7b8d1adb3d658462c5b327d97c09235 /drivers/fpga/fpga-bridge.c
parent12124d16726ca7d9cb1eb8725767cbcfb96195c8 (diff)
firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
The svc_create_memory_pool() function returns error pointers. It never returns NULL. Fix the check. Fixes: 7ca5ce896524 ("firmware: add Intel Stratix10 service layer driver") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions