Re: [PATCH] epoll: fix sparse error on RCU assignment

2013-03-28 Thread Eric Wong
Oleg Nesterov wrote: > On 03/14, Eric Wong wrote: > > Oleg Nesterov wrote: > > > On 03/10, Eric Wong wrote: > > > > > > > > This fixes the following sparse error when using > > > > CONFIG_SPARSE_RCU_POINTER=y and "make C=2 fs/eventpoll.o" > > > > > > > > fs/eventpoll.c:514:17: error: incompatib

Re: [PATCH] epoll: fix sparse error on RCU assignment

2013-03-15 Thread Oleg Nesterov
On 03/14, Eric Wong wrote: > > Oleg Nesterov wrote: > > On 03/10, Eric Wong wrote: > > > > > > This fixes the following sparse error when using > > > CONFIG_SPARSE_RCU_POINTER=y and "make C=2 fs/eventpoll.o" > > > > > > fs/eventpoll.c:514:17: error: incompatible types in comparison > > > expres

Re: [PATCH] epoll: fix sparse error on RCU assignment

2013-03-13 Thread Eric Wong
Oleg Nesterov wrote: > On 03/10, Eric Wong wrote: > > > > This fixes the following sparse error when using > > CONFIG_SPARSE_RCU_POINTER=y and "make C=2 fs/eventpoll.o" > > > > fs/eventpoll.c:514:17: error: incompatible types in comparison expression > > (different address spaces) > > ep_remov

Re: [PATCH] epoll: fix sparse error on RCU assignment

2013-03-10 Thread Oleg Nesterov
On 03/10, Eric Wong wrote: > > This fixes the following sparse error when using > CONFIG_SPARSE_RCU_POINTER=y and "make C=2 fs/eventpoll.o" > > fs/eventpoll.c:514:17: error: incompatible types in comparison expression > (different address spaces) ep_remove_wait_queue() does rcu_dereference(pwq-

[PATCH] epoll: fix sparse error on RCU assignment

2013-03-10 Thread Eric Wong
This fixes the following sparse error when using CONFIG_SPARSE_RCU_POINTER=y and "make C=2 fs/eventpoll.o" fs/eventpoll.c:514:17: error: incompatible types in comparison expression (different address spaces) Cc: Al Viro Cc: Andrew Morton Cc: Davide Libenzi Cc: Eric Dumazet Cc: Oleg Nestero