powerpc/sparse: constify addresses in get_user macros
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | powerpc/sparse: constify the address pointer in __get_user_checkarch/ | +1 | 1 reply | |
| 2/3 | powerpc/sparse: constify the address pointer in __get_user_nocheckarch/ | +1 | 0 replies | |
| 3/3 | powerpc/sparse: constify the address pointer in __get_user_nosleeparch/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] powerpc/sparse: constify addresses in get_user macros
Looking through the sparse warnings, I noticed that we were getting warnings about dropping const qualifiers in get_user calls. This took a while to figure out: it turns out that if you pass a const pointer in, sparse will complain when we drop the const qualifier deep inside the __get_user_ macros. This simple series fixes that, squashing over 60 warnings.
Daniel Axtens (3):
powerpc/sparse: constify the address pointer in __get_user_check powerpc/sparse: constify the address pointer in __get_user_nocheck powerpc/sparse: constify the address pointer in __get_user_nosleep
arch/powerpc/include/asm/uaccess.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.9.3