Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f2a0f8b9 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds
Browse files

[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: default avatarJeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c184ca36
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
	  ((unsigned long) (addr) + (size) <= FIXADDR_USER_END) && \
	  ((unsigned long) (addr) + (size) >= (unsigned long)(addr))))

static inline int __deprecated verify_area_skas(int type, const void * addr,
static inline int verify_area_skas(int type, const void * addr,
                                   unsigned long size)
{
	return(access_ok_skas(type, addr, size) ? 0 : -EFAULT);
+2 −2
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ extern unsigned long uml_physmem;
         (((unsigned long) (addr) <= ((unsigned long) (addr) + (size))) && \
          (under_task_size(addr, size) || is_stack(addr, size))))

static inline int __deprecated verify_area_tt(int type, const void * addr,
static inline int verify_area_tt(int type, const void * addr,
                                 unsigned long size)
{
	return(access_ok_tt(type, addr, size) ? 0 : -EFAULT);