RE: [PATCH] checkpatch: Don't require kernel style __attribute__ shortcuts in uapi paths

2013-11-11 Thread Dixit, Ashutosh
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Sunday, November 10, 2013 1:55 PM > Subject: [PATCH] checkpatch: Don't require kernel style __attribute__ > shortcuts > in uapi paths > > Avoid proscribing kernel styled shor

[PATCH] checkpatch: Don't require kernel style __attribute__ shortcuts in uapi paths

2013-11-10 Thread Joe Perches
Avoid proscribing 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 P