History

checkpatch: update $allowed_asm_includes macros, add reboot.h and time.h

Several architectures (e.g. x86, MIPS, Blackfin) have asm/reboot.h and asm/time.h header files, which are not included in linux/reboot.h and linux/time.h headers. This lead to generation of false positive errors.

Sergey Ryazanov committed 12 years ago

Commit cdcee681 parent 72c231c1 file · +3 −1Browse files

Showing the changes to scripts/checkpatch.pl (1 of 1 file). Show all

Unified · Split

scripts/checkpatch.pl+3−1
@@ -425,7 +425,9 @@ foreach my $entry (@mode_permission_funcs) { · 424 unmodified lines
425425
426426 our $allowed_asm_includes = qr{(?x:
427427 irq|
428− memory
428+ memory|
429+ time|
430+ reboot
429431 )};
430432 # memory.h: ARM has a custom one
431433