[PATCH 0/2] platform/raspberrypi: vc-sm-cma: Fix sparse and smatch warnings

From: Jai Luthra

Date: Mon Nov 16 2026 - 08:33:22 EST


Hi Florian,

I've fixed the issues reported by sparse and smatch on my series that
added shared memory support for VC4 based peripherals in Raspberry Pi 4.

My apologies for not running those checks on my machine before sending.

As those patches are now applied in your tree, I have added Fixes tags
using the SHAs for the applied commits.

Thanks,
Jai

Signed-off-by: Jai Luthra <jai.luthra@xxxxxxxxxxxxxxxx>
---
Jai Luthra (2):
platform/raspberrypi: vc-sm-cma: Fix get_kernel_id check, pass NULL for pointer
platform/raspberrypi: vchiq-mmal: Fix warnings in the zero-copy path

drivers/platform/raspberrypi/vc-sm-cma/vc_sm.c | 11 +++++++----
drivers/platform/raspberrypi/vc-sm-cma/vc_sm_cma_vchi.c | 2 +-
drivers/platform/raspberrypi/vchiq-mmal/mmal-vchiq.c | 8 ++++----
3 files changed, 12 insertions(+), 9 deletions(-)
---
base-commit: 0cab822bca7a59667774725b83e948b71462290f
change-id: 20261116-vc-sm-cma-fix-4235f323fd61

Best regards,
--
Jai Luthra <jai.luthra@xxxxxxxxxxxxxxxx>