aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorBaoyou Xie <[email protected]>2016-10-08 00:00:55 +0000
committerLinus Torvalds <[email protected]>2016-10-08 01:46:29 +0000
commit08ea8c07fb56d6eb8194d8ad408b469544bf2c29 (patch)
tree59ecdc97181fc0b14c335268b390dcad2cbf218b /net/ipv4/tcp_ipv4.c
parentmm/page_io.c: replace some BUG_ON()s with VM_BUG_ON_PAGE() (diff)
downloadkernel-08ea8c07fb56d6eb8194d8ad408b469544bf2c29.tar.gz
kernel-08ea8c07fb56d6eb8194d8ad408b469544bf2c29.zip
mm: move phys_mem_access_prot_allowed() declaration to pgtable.h
We get 1 warning when building kernel with W=1: drivers/char/mem.c:220:12: warning: no previous prototype for 'phys_mem_access_prot_allowed' [-Wmissing-prototypes] int __weak phys_mem_access_prot_allowed(struct file *file, In fact, its declaration is spreading to several header files in different architecture, but need to be declare in common header file. So this patch moves phys_mem_access_prot_allowed() to pgtable.h. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Baoyou Xie <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Acked-by: Ralf Baechle <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions