Patch "drm/bridge: Return NULL instead of plain 0 in drm_dp_hpd_bridge_register() stub" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/bridge: Return NULL instead of plain 0 in drm_dp_hpd_bridge_register() stub

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-bridge-return-null-instead-of-plain-0-in-drm_dp_.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 07ea395c1063726b3e679d2830eae8eee3186278
Author: Nathan Chancellor <nathan@xxxxxxxxxx>
Date:   Tue Dec 5 13:13:36 2023 -0700

    drm/bridge: Return NULL instead of plain 0 in drm_dp_hpd_bridge_register() stub
    
    [ Upstream commit 812cc1da7ffd9e178ef66b8a22113be10fba466c ]
    
    sparse complains:
    
      drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c: note: in included file:
      include/drm/bridge/aux-bridge.h:29:16: sparse: sparse: Using plain integer as NULL pointer
    
    Return NULL to clear up the warning.
    
    Reported-by: kernel test robot <lkp@xxxxxxxxx>
    Closes: https://lore.kernel.org/oe-kbuild-all/202312060025.BdeqZrWx-lkp@xxxxxxxxx/
    Fixes: e560518a6c2e ("drm/bridge: implement generic DP HPD bridge")
    Signed-off-by: Nathan Chancellor <nathan@xxxxxxxxxx>
    Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
    Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>
    Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
    Link: https://patchwork.freedesktop.org/patch/msgid/20231205-drm_aux_bridge-fixes-v1-3-d242a0ae9df4@xxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/include/drm/bridge/aux-bridge.h b/include/drm/bridge/aux-bridge.h
index 874f177381e34..4453906105ca1 100644
--- a/include/drm/bridge/aux-bridge.h
+++ b/include/drm/bridge/aux-bridge.h
@@ -41,7 +41,7 @@ static inline int devm_drm_dp_hpd_bridge_add(struct auxiliary_device *adev)
 static inline struct device *drm_dp_hpd_bridge_register(struct device *parent,
 							struct device_node *np)
 {
-	return 0;
+	return NULL;
 }
 
 static inline void drm_aux_hpd_bridge_notify(struct device *dev, enum drm_connector_status status)




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux