From: Jason Wang
Date: Fri, 31 Jul 2020 00:17:20 -0400
> We expecte prog_p to be protected by rcu, so adding the rcu annotation
> to fix the following sparse warning:
>
> drivers/net/tun.c:3003:36: warning: incorrect type in argument 2 (different
> address spaces)
> drivers/net/tun.c:3003:36:
We expecte prog_p to be protected by rcu, so adding the rcu annotation
to fix the following sparse warning:
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
From: Jason Wang
Date: Mon, 22 Jan 2018 10:55:38 +0800
> This patch fixes the following sparse warnings:
>
> drivers/net/tun.c:2241:15: error: incompatible types in comparison expression
> (different address spaces)
>
> Fixes: cd5681d7d890 ("tuntap: rename struct tun_steering_prog to struct
>
This patch fixes the following sparse warnings:
drivers/net/tun.c:2241:15: error: incompatible types in comparison expression
(different address spaces)
Fixes: cd5681d7d890 ("tuntap: rename struct tun_steering_prog to struct
tun_prog")
Cc: Daniel Borkmann
Signed-off-by: Jason Wang
---
driver