aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorJia-Ju Bai <[email protected]>2021-03-09 08:00:20 +0000
committerMike Marshall <[email protected]>2021-10-11 18:25:34 +0000
commit4c2b46c824a78fc8190d8eafaaea5a9078fe7479 (patch)
treec3c8cc267f837bd51bdfd1db804ad0f43fc0a565 /drivers/fpga/fpga-bridge.c
parentorangefs: Remove redundant initialization of variable ret (diff)
downloadkernel-4c2b46c824a78fc8190d8eafaaea5a9078fe7479.tar.gz
kernel-4c2b46c824a78fc8190d8eafaaea5a9078fe7479.zip
fs: orangefs: fix error return code of orangefs_revalidate_lookup()
When op_alloc() returns NULL to new_op, no error return code of orangefs_revalidate_lookup() is assigned. To fix this bug, ret is assigned with -ENOMEM in this case. Fixes: 8bb8aefd5afb ("OrangeFS: Change almost all instances of the string PVFS2 to OrangeFS.") Reported-by: TOTE Robot <[email protected]> Signed-off-by: Jia-Ju Bai <[email protected]> Signed-off-by: Mike Marshall <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions