]> git.baikalelectronics.ru Git - kernel.git/commit
tun: add missing rcu annotation
authorJason Wang <jasowang@redhat.com>
Mon, 22 Jan 2018 02:55:38 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jan 2018 14:16:18 +0000 (09:16 -0500)
commitb2d9336736e557078b8d646dbecfbb3dc78821fe
treefc06a8968b7fb49657ca8d0fc1f7a87243cd4d54
parent900979ca818c9af1e11b72d26e4b1381bed876ad
tun: add missing rcu annotation

This patch fixes the following sparse warnings:

drivers/net/tun.c:2241:15: error: incompatible types in comparison expression (different address spaces)

Fixes: 345b555a8224 ("tuntap: rename struct tun_steering_prog to struct tun_prog")
Cc: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c