mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
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. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> Cc: Andy Whitcroft <apw@canonical.com> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
72c231cb70
commit
cdcee686ee
1 changed files with 3 additions and 1 deletions
|
@ -425,7 +425,9 @@ foreach my $entry (@mode_permission_funcs) {
|
||||||
|
|
||||||
our $allowed_asm_includes = qr{(?x:
|
our $allowed_asm_includes = qr{(?x:
|
||||||
irq|
|
irq|
|
||||||
memory
|
memory|
|
||||||
|
time|
|
||||||
|
reboot
|
||||||
)};
|
)};
|
||||||
# memory.h: ARM has a custom one
|
# memory.h: ARM has a custom one
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue