]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: acer-wmi: use __packed instead of __attribute__((packed))
authorJules Irenge <jbi.octave@gmail.com>
Sun, 12 Sep 2021 01:17:41 +0000 (02:17 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 14 Sep 2021 10:27:15 +0000 (12:27 +0200)
commitc69cb31d628e1030aa6e0a72dd011d9a9d1a4fd3
treec0b182547182965a9d71d8a95af5fda4baa00b7c
parent7aa4ac5d700876dc8fea27941e5e20ca83065ce0
platform/x86: acer-wmi: use __packed instead of __attribute__((packed))

checkpatch.pl tool warns about using __attribute__((packed))
"WARNING: __packed is preferred over __attribute__((packed))"
To fix this __attribute__((packed)) is replaced by __packed

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Link: https://lore.kernel.org/r/20210912011741.30495-1-jbi.octave@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/acer-wmi.c