summaryrefslogtreecommitdiff
path: root/drivers/hwmon/w83l785ts.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-03-07 11:58:42 +0100
committerHans de Goede <hdegoede@redhat.com>2023-03-07 12:08:30 +0100
commit1a0009abfa7893b9cfcd3884658af1cbee6b26ce (patch)
treeeaff9c112e94640628e87aeac6abf483bfcc255b /drivers/hwmon/w83l785ts.c
parente8059d393158e927e36898aca89986a52025b9f3 (diff)
platform: mellanox: mlx-platform: Initialize shift variable to 0
Initialize shift variable in mlxplat_mlxcpld_verify_bus_topology() to 0 to avoid the following compile error: drivers/platform/x86/mlx-platform.c:6013 mlxplat_mlxcpld_verify_bus_topology() error: uninitialized symbol 'shift'. Fixes: 50b823fdd357 ("platform: mellanox: mlx-platform: Move bus shift assignment out of the loop") Cc: Vadim Pasternak <vadimp@nvidia.com> Cc: Michael Shych <michaelsh@nvidia.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20230307105842.286118-1-hdegoede@redhat.com
Diffstat (limited to 'drivers/hwmon/w83l785ts.c')
0 files changed, 0 insertions, 0 deletions