aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.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:20:30 +0200
commit16b36a953bc7fc4843568abcdb7b32f92cc65457 (patch)
treec0a9ffa2fe9fe8dfed32d62c4daa55a185a13889 /net/lapb/lapb_timer.c
parentaf024a39ebda58694935f420bf396b11afb0df6b (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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions