From: Joe Perches Date: Tue, 12 Nov 2013 23:10:14 +0000 (-0800) Subject: checkpatch: don't require kernel style __attribute__ shortcuts in uapi paths X-Git-Tag: v3.13-rc1~106^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b7ab45395dc4d91ef30985f76d90a8f28f58c27;p=pandora-kernel.git checkpatch: don't require kernel style __attribute__ shortcuts in uapi paths Avoid prescribing kernel styled shortcuts for gcc extensions of __attribute__((foo)) in the uapi include paths. Fix $realfile filename when using -f/--file to not remove first level directory as if the filename was used in a -P1 patch. Only strip the first level directory (typically a or b) for P1 patches. Signed-off-by: Joe Perches Cc: "Dixit, Ashutosh" Cc: Andy Whitcroft Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed