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
425 425
426our $allowed_asm_includes = qr{(?x:426our $allowed_asm_includes = qr{(?x:
427 irq|427 irq|
428 memory428 memory|
429 time|
430 reboot
429)};431)};
430# memory.h: ARM has a custom one432# memory.h: ARM has a custom one
431 433