diff options
author | Armin Wolf <W_Armin@gmx.de> | 2021-12-21 17:28:05 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-12-26 15:02:07 -0800 |
commit | 565210c7812013aac7969320ac5b86fff7a74cc6 (patch) | |
tree | daa8f24ec73220c3cda0f8a6cabb80b1f479b6d8 /drivers/hwmon/nzxt-smart2.c | |
parent | 20f2e67cbc7599217d5a764c76e9c2bbe85e3761 (diff) | |
download | linux-565210c7812013aac7969320ac5b86fff7a74cc6.tar.bz2 |
hwmon: (dell-smm) Pack the whole smm_regs struct
When desiring the whole struct to be packed, __packed
should be applied to the whole struct, not just
every struct member except the first one.
Tested on a Dell Inspiron 3505.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20211221162805.104202-1-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/nzxt-smart2.c')
0 files changed, 0 insertions, 0 deletions