[PATCH 3/3] drm/bridge: Return NULL instead of plain 0 in drm_dp_hpd_bridge_register() stub
Guenter Roeck
linux at roeck-us.net
Tue Dec 5 20:59:30 UTC 2023
On 12/5/23 12:13, Nathan Chancellor wrote:
> 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 at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202312060025.BdeqZrWx-lkp@intel.com/
> Fixes: e560518a6c2e ("drm/bridge: implement generic DP HPD bridge")
> Signed-off-by: Nathan Chancellor <nathan at kernel.org>
Reviewed-by: Guenter Roeck <linux at roeck-us.net>
More information about the dri-devel
mailing list