staging: vc04_services: Do not pass NULL to vchiq_log_error()
authorUmang Jain <umang.jain@ideasonboard.com>
Tue, 28 Nov 2023 20:19:22 +0000 (01:49 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Dec 2023 07:08:56 +0000 (08:08 +0100)
commit149261d378d0ca441b16de6c1a250a350df66598
treea75ca5c912d58ae2fc206c560c720045c710f7e9
parentf9c42898830383aff4fdc723828fa93a6abec02d
staging: vc04_services: Do not pass NULL to vchiq_log_error()

vchiq_add_connected_callback() logs using vchiq_log_error() macro,
but passes NULL instead of a struct device pointer. Fix it.

vchiq_add_connected_callback() is not used anywhere in the vc04_services
as of now. It will be used when we add new drivers(VC shared memory and
bcm2835-isp), hence it kept as it is for now.

Fixes: 1d8915cf8899 ("staging: vc04: Convert vchiq_log_error() to use dynamic debug")
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Link: https://lore.kernel.org/r/20231128201926.489269-2-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.h