Recent versions of smatch preserve the address space qualifiers while running typeof() [1]. This has triggered tens of new sparse warnings 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=9...@mail.gmail.com/ Signed-off-by: Ricardo Ribalda <[email protected]> --- Changes in v2: - Add TYPEOF_NO_ADDRESS_SPACE() in compiler.h - x86: improve changelog - Link to v1: https://lore.kernel.org/r/[email protected] --- Ricardo Ribalda (2): rcu: Drop the address space qualifier from the dereference macros x86/uaccess: Drop the address space qualifier from put_user() arch/x86/include/asm/uaccess.h | 4 ++-- include/linux/compiler.h | 17 +++++++++++++++++ include/linux/rcupdate.h | 10 +++++----- 3 files changed, 24 insertions(+), 7 deletions(-) --- base-commit: 704340f1cd0dcef829eb62f5b48ae95a2ce17bdf change-id: 20260825-unqual-25d9ee74fd10 Best regards, -- Ricardo Ribalda <[email protected]>

