From: Kirill A. Shutemov Date: Tue, 8 Sep 2015 22:02:15 +0000 (-0700) Subject: mm: drop __nocast from vm_flags_t definition X-Git-Tag: v4.14-rc1~4721^2~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=64b990d2957cb535fe1c17b9694d5d4f7de69962;p=platform%2Fkernel%2Flinux-rpi.git mm: drop __nocast from vm_flags_t definition __nocast does no good for vm_flags_t. It only produces useless sparse warnings. Let's drop it. Signed-off-by: Kirill A. Shutemov Cc: Oleg Nesterov Acked-by: David Rientjes Cc: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index c8d0a73..3d6baa7 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -235,7 +235,7 @@ struct page_frag_cache { bool pfmemalloc; }; -typedef unsigned long __nocast vm_flags_t; +typedef unsigned long vm_flags_t; /* * A region containing a mapping of a non-memory backed file under NOMMU