[PATCH v6 11/11] arm64: annotate user pointers casts detected by sparse

From
Luc Van Oostenryck <hidden>
Date
2018-08-31 08:11:31
Also in
linux-arch, linux-doc, linux-kselftest, linux-mm, lkml
Reply to
Andrey Konovalov, 2018-08-30
On Thu, Aug 30, 2018 at 01:41:16PM +0200, Andrey Konovalov wrote:
This patch adds __force annotations for __user pointers casts detected by
sparse with the -Wcast-from-as flag enabled (added in [1]).

[1] https://github.com/lucvoo/sparse-dev/commit/5f960cb10f56ec2017c128ef9d16060e0145f292
Hi,

It would be nice to have some explanation for why these added __force
are useful.

-- Luc Van Oostenryck
Thread (33 messages) 33 messages, 6 authors, last reply 2018-10-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help