mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
epoll: drop struct epoll_event definition
Add kernel header sanitizer check to drop struct epoll_event. This struct epoll_event is not following the POSIX standard and defining element in opaque data type. Change-Id: I1eecef1b64eb1fb8f0dd6999263093a453e7b9fb Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org> Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
parent
abccff1b3e
commit
944694f6de
1 changed files with 2 additions and 0 deletions
|
|
@ -74,6 +74,7 @@
|
|||
#define EPOLL_PACKED
|
||||
#endif
|
||||
|
||||
#ifdef __KERNEL__
|
||||
struct epoll_event {
|
||||
__poll_t events;
|
||||
__u64 data;
|
||||
|
|
@ -91,4 +92,5 @@ static inline void ep_take_care_of_epollwakeup(struct epoll_event *epev)
|
|||
epev->events &= ~EPOLLWAKEUP;
|
||||
}
|
||||
#endif
|
||||
#endif /* __KERNEL__ */
|
||||
#endif /* _UAPI_LINUX_EVENTPOLL_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue