- 1. Re: [PATCH 02/24] bpfilter: fix up a sparse annotation (score: 1)
- Author: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 21 Jul 2020 06:28:21 +0100
- Cast to unsigned long. Or to uintptr_t if you want to be fancy.
- /html/lvs-devel/2020-07/msg00071.html (13,640 bytes)
- 2. Re: [PATCH 02/24] bpfilter: fix up a sparse annotation (score: 1)
- Author: Christoph Hellwig <hch@xxxxxx>
- Date: Tue, 21 Jul 2020 07:23:26 +0200
- That's what I thought. but if I remove it here I actually do get a warning: CHECK net/bpfilter/bpfilter_kern.c net/bpfilter/bpfilter_kern.c:52:21: warning: cast removes address space '__user' of expr
- /html/lvs-devel/2020-07/msg00070.html (13,752 bytes)
- 3. Re: [PATCH 02/24] bpfilter: fix up a sparse annotation (score: 1)
- Author: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
- Date: Tue, 21 Jul 2020 04:40:16 +0200
- For casts to integers, even '__force' is not needed (since integers can't be dereferenced, the concept of address-space is meaningless for them, so it's never useful to warn when it's dropped and '__
- /html/lvs-devel/2020-07/msg00069.html (13,619 bytes)
- 4. [PATCH 02/24] bpfilter: fix up a sparse annotation (score: 1)
- Author: Christoph Hellwig <hch@xxxxxx>
- Date: Mon, 20 Jul 2020 14:47:15 +0200
- The __user doesn't make sense when casting to an integer type. Signed-off-by: Christoph Hellwig <hch@xxxxxx> -- net/bpfilter/bpfilter_kern.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff
- /html/lvs-devel/2020-07/msg00060.html (12,332 bytes)
This search system is powered by
Namazu