[PATCH 0/2] Fix warnings with recent smatch

Ricardo Ribalda posted 2 patches 1 month ago
There is a newer version of this series
arch/x86/include/asm/uaccess.h |  4 ++--
include/linux/rcupdate.h       | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
[PATCH 0/2] Fix warnings with recent smatch
Posted by Ricardo Ribalda 1 month ago
Recent versions of smatch are more exhaustive while running typeof() [1].
This has triggered new errors in media-ci.

This series takes care of them following Dan's suggestion [2].

[1] https://github.com/error27/smatch/commit/e53027a4e816a772403baafa83c09e4a94c1cb8f
[2] https://lore.kernel.org/all/CANiDSCuizbMt77XfrzGPMa3Biai5TF1vcs+C5qdhYoLrP=9b3g@mail.gmail.com/

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Ricardo Ribalda (2):
      rcu: Fix casting while dereferencing rcu pointers
      x86/uaccess: Fix casting in put_user

 arch/x86/include/asm/uaccess.h |  4 ++--
 include/linux/rcupdate.h       | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)
---
base-commit: 66498c75b4f8017f62d720d9b59675bdf3abce91
change-id: 20260825-unqual-25d9ee74fd10

Best regards,
-- 
Ricardo Ribalda <ribalda@chromium.org>