diff options
| author | Hans de Goede <[email protected]> | 2023-03-07 10:58:42 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2023-03-07 11:08:30 +0000 |
| commit | 1a0009abfa7893b9cfcd3884658af1cbee6b26ce (patch) | |
| tree | eaff9c112e94640628e87aeac6abf483bfcc255b /drivers/platform/x86/intel/vsec.c | |
| parent | platform/x86: int3472: Add GPIOs to Surface Go 3 Board data (diff) | |
| download | kernel-1a0009abfa7893b9cfcd3884658af1cbee6b26ce.tar.gz kernel-1a0009abfa7893b9cfcd3884658af1cbee6b26ce.zip | |
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 <[email protected]>
Cc: Michael Shych <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/vsec.c')
0 files changed, 0 insertions, 0 deletions
