]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: ks7010: Replace __attribute__(aligned(x)) with __aligned(x)
authorSabitha George <sabitha.george@gmail.com>
Thu, 13 Oct 2016 17:02:20 +0000 (22:32 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:27:38 +0000 (10:27 +0200)
Fixes checkpatch.pl warning: __aligned(size) is preferred over
__attribute__((aligned(size)) in ks7010_sdio.h

Signed-off-by: Sabitha George <sabitha.george@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.h

index c72064b48bd8fe60b105ca49ddee33a5d80c35fd..c89e5704c03dbbf9b5deef9c4a12750977318d01 100644 (file)
@@ -100,7 +100,7 @@ struct hw_info_t {
 struct ks_sdio_packet {
        struct ks_sdio_packet *next;
        u16 nb;
-       u8 buffer[0] __attribute__ ((aligned(4)));
+       u8 buffer[0] __aligned(4);
 };
 
 struct ks_sdio_card {