checkpatch.pl: add "prefer __packed" check
authorJoe Perches <joe@perches.com>
Thu, 13 Jan 2011 01:00:00 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Jan 2011 16:03:11 +0000 (08:03 -0800)
commit3d130fd03e06672f7700e2cb694b29f9a98227ca
tree65608fc8841362c586cdfd06b69389165753ae93
parent88f8831c055858179a7844d9dd4ddd7d3621322e
checkpatch.pl: add "prefer __packed" check

There's a __packed #define for __attribute__((packed)).  Add a checkpatch
to tell people about it.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl