]> www.infradead.org Git - linux-platform-drivers-x86.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)
commit1f88e0a22f7cef04e2ef7eeb5252b061e5842d6b
treec0b182547182965a9d71d8a95af5fda4baa00b7c
parentb0179b805eed104eb3b2319c23ccbfa717c18897
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