]> git.baikalelectronics.ru Git - kernel.git/commit
bpfilter: fix up a sparse annotation
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Jul 2020 06:08:43 +0000 (08:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jul 2020 22:41:53 +0000 (15:41 -0700)
commitf7e988ef8d03921722bbecaabe4493e097d19471
tree601b446be8e685655c04d3436914b10f8a26def5
parentc3991de8de0a143be3fa73cd795a7540f8849665
bpfilter: fix up a sparse annotation

The __user doesn't make sense when casting to an integer type, just
switch to a uintptr_t cast which also removes the need for the __force.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bpfilter/bpfilter_kern.c