aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorVadim Pasternak <[email protected]>2022-08-23 23:19:34 +0300
committerHans de Goede <[email protected]>2022-09-01 14:22:48 +0200
commit17c2bd6bea4c32fe691c1f9ebcc20fd48d77454a (patch)
tree20da3d4d5209388781aa6a261b8993a7695e0fa7 /lib/test_fortify/write_overflow-strlcpy-src.c
parentc3b82d26bc85f5fc2fef5ec8cce17c89633a55a8 (diff)
platform/mellanox: mlxreg-lc: Fix coverity warning
Fix smatch warning: drivers/platform/mellanox/mlxreg-lc.c:866 mlxreg_lc_probe() warn: passing zero to 'PTR_ERR' by removing 'err = PTR_ERR(regmap)'. Fixes: b4b830a34d80 ("platform/mellanox: mlxreg-lc: Fix error flow and extend verbosity") Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Vadim Pasternak <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions