]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
uapi: turn __poll_t sparse checks on by default
authorChristoph Hellwig <hch@lst.de>
Wed, 23 May 2018 15:42:59 +0000 (17:42 +0200)
committerChristoph Hellwig <hch@lst.de>
Sat, 26 May 2018 07:16:44 +0000 (09:16 +0200)
Signed-off-by: Christoph Hellwig <hch@lst.de>
include/uapi/linux/types.h

index cd4f0b897a4862224d445e22d67005165de90d5b..2fce8b6876e9091aff4c81a36a7b8a3396d1efce 100644 (file)
@@ -49,11 +49,7 @@ typedef __u32 __bitwise __wsum;
 #define __aligned_be64 __be64 __attribute__((aligned(8)))
 #define __aligned_le64 __le64 __attribute__((aligned(8)))
 
-#ifdef __CHECK_POLL
 typedef unsigned __bitwise __poll_t;
-#else
-typedef unsigned __poll_t;
-#endif
 
 #endif /*  __ASSEMBLY__ */
 #endif /* _UAPI_LINUX_TYPES_H */