aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pcie-xilinx-cpm.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-04-25 11:56:48 +0000
committerMike Snitzer <[email protected]>2022-05-09 16:14:00 +0000
commitd3f2a14b8906df913cb04a706367b012db94a6e8 (patch)
tree77bd8b91dc0a2886e41e723544aa5cc2835d25dd /drivers/pci/controller/pcie-xilinx-cpm.c
parentdm stats: add cond_resched when looping over entries (diff)
downloadkernel-d3f2a14b8906df913cb04a706367b012db94a6e8.tar.gz
kernel-d3f2a14b8906df913cb04a706367b012db94a6e8.zip
dm integrity: fix error code in dm_integrity_ctr()
The "r" variable shadows an earlier "r" that has function scope. It means that we accidentally return success instead of an error code. Smatch has a warning for this: drivers/md/dm-integrity.c:4503 dm_integrity_ctr() warn: missing error code 'r' Fixes: 7eada909bfd7 ("dm: add integrity target") Cc: [email protected] Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Mikulas Patocka <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pcie-xilinx-cpm.c')
0 files changed, 0 insertions, 0 deletions