diff options
| author | Vadim Pasternak <[email protected]> | 2020-12-07 17:47:45 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2020-12-08 10:14:49 +0000 |
| commit | cf791774a16caf87b0e4c0c55b82979bad0b6c01 (patch) | |
| tree | f6bd233141e7e83fc2156004c396e6bdfb168045 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | platform/x86: mlx-platform: Fix item counter assignment for MSN2700, MSN24xx ... (diff) | |
| download | kernel-cf791774a16caf87b0e4c0c55b82979bad0b6c01.tar.gz kernel-cf791774a16caf87b0e4c0c55b82979bad0b6c01.zip | |
platform/x86: mlx-platform: Fix item counter assignment for MSN2700/ComEx system
Fix array names to match assignments for data items and data items
counter in 'mlxplat_mlxcpld_comex_items' structure for:
.data = mlxplat_mlxcpld_default_pwr_items_data,
.count = ARRAY_SIZE(mlxplat_mlxcpld_pwr),
and
.data = mlxplat_mlxcpld_default_fan_items_data,
.count = ARRAY_SIZE(mlxplat_mlxcpld_fan),
Replace:
- 'mlxplat_mlxcpld_pwr' by 'mlxplat_mlxcpld_default_pwr_items_data' for
ARRAY_SIZE() calculation.
- 'mlxplat_mlxcpld_fan' by 'mlxplat_mlxcpld_default_fan_items_data'
for ARRAY_SIZE() calculation.
Fixes: bdd6e155e0d6 ("platform/x86: mlx-platform: Add support for new system type")
Signed-off-by: Vadim Pasternak <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
