Re: rcu warnings in tun

2020-07-30 Thread Jason Wang
On 2020/7/31 上午4:16, Michael S. Tsirkin wrote: drivers/net/tun.c:3003:36: warning: incorrect type in argument 2 (different address spaces) drivers/net/tun.c:3003:36:expected struct tun_prog [noderef] __rcu **prog_p drivers/net/tun.c:3003:36:got struct tun_prog **prog_p drivers/net/tun.

rcu warnings in tun

2020-07-30 Thread Michael S. Tsirkin
Was building tun with sparse the other day, noticed this: drivers/net/tun.c:3003:36: warning: incorrect type in argument 2 (different address spaces) drivers/net/tun.c:3003:36:expected struct tun_prog [noderef] __rcu **prog_p drivers/net/tun.c:3003:36:got struct tun_prog **prog_p drivers/