Commit 2b7ab45
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 <joe@perches.com>
Cc: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 507e514 commit 2b7ab45
1 file changed
+12
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1769 | 1769 | | |
1770 | 1770 | | |
1771 | 1771 | | |
1772 | | - | |
| 1772 | + | |
1773 | 1773 | | |
1774 | 1774 | | |
1775 | 1775 | | |
1776 | | - | |
| 1776 | + | |
1777 | 1777 | | |
1778 | 1778 | | |
1779 | 1779 | | |
| |||
3877 | 3877 | | |
3878 | 3878 | | |
3879 | 3879 | | |
3880 | | - | |
| 3880 | + | |
| 3881 | + | |
3881 | 3882 | | |
3882 | 3883 | | |
3883 | 3884 | | |
| |||
3887 | 3888 | | |
3888 | 3889 | | |
3889 | 3890 | | |
3890 | | - | |
| 3891 | + | |
| 3892 | + | |
3891 | 3893 | | |
3892 | 3894 | | |
3893 | 3895 | | |
3894 | 3896 | | |
3895 | 3897 | | |
3896 | | - | |
| 3898 | + | |
| 3899 | + | |
3897 | 3900 | | |
3898 | 3901 | | |
3899 | 3902 | | |
3900 | 3903 | | |
3901 | 3904 | | |
3902 | | - | |
| 3905 | + | |
| 3906 | + | |
3903 | 3907 | | |
3904 | 3908 | | |
3905 | 3909 | | |
| |||
3909 | 3913 | | |
3910 | 3914 | | |
3911 | 3915 | | |
3912 | | - | |
| 3916 | + | |
| 3917 | + | |
3913 | 3918 | | |
3914 | 3919 | | |
3915 | 3920 | | |
| |||
0 commit comments