staging: vc04_services: vchiq_arm: Fix NULL ptr dereferences
authorStefan Wahren <wahrenst@gmx.net>
Sat, 20 Apr 2024 09:12:40 +0000 (11:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 May 2024 16:41:36 +0000 (18:41 +0200)
commit62cbabc6fd228e62daff6ec108fae35632e2b692
tree47d98d660d2f524d983839c5815b979b5c7095cb
parentbae502410013af607b9a766469360eab3a0409e5
staging: vc04_services: vchiq_arm: Fix NULL ptr dereferences

The commit 8c9753f63905 ("staging: vc04_services: vchiq_arm: Drop
g_cache_line_size") introduced NULL pointer dereferences by
using the wrong device.

Fixes: 8c9753f63905 ("staging: vc04_services: vchiq_arm: Drop g_cache_line_size")
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Link: https://lore.kernel.org/r/20240420091240.9552-1-wahrenst@gmx.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c