Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] uml: __deprecated makes build unnecessarily noisy

Remove the __deprecated from verify_area_skas and verify_area_tt. Since
verify_area is itself marked __deprecated, and it is the only caller of
these, then they don't need to be marked. Marking them only makes the
build noisier.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Jeff Dike and committed by
Linus Torvalds
f2a0f8b9 c184ca36

+4 -4
+2 -2
arch/um/kernel/skas/include/uaccess-skas.h
··· 18 18 ((unsigned long) (addr) + (size) <= FIXADDR_USER_END) && \ 19 19 ((unsigned long) (addr) + (size) >= (unsigned long)(addr)))) 20 20 21 - static inline int __deprecated verify_area_skas(int type, const void * addr, 22 - unsigned long size) 21 + static inline int verify_area_skas(int type, const void * addr, 22 + unsigned long size) 23 23 { 24 24 return(access_ok_skas(type, addr, size) ? 0 : -EFAULT); 25 25 }
+2 -2
arch/um/kernel/tt/include/uaccess-tt.h
··· 33 33 (((unsigned long) (addr) <= ((unsigned long) (addr) + (size))) && \ 34 34 (under_task_size(addr, size) || is_stack(addr, size)))) 35 35 36 - static inline int __deprecated verify_area_tt(int type, const void * addr, 37 - unsigned long size) 36 + static inline int verify_area_tt(int type, const void * addr, 37 + unsigned long size) 38 38 { 39 39 return(access_ok_tt(type, addr, size) ? 0 : -EFAULT); 40 40 }