[linux-next:master 4248/4884] include/drm/bridge/aux-bridge.h:29:16: sparse: sparse: Using plain integer as NULL pointer

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   0f5f12ac05f36f117e793656c3f560625e927f1b
commit: 7d9f1b72b29698e3030c2b163522cf4aa91b47e9 [4248/4884] usb: typec: qcom-pmic-typec: switch to DRM_AUX_HPD_BRIDGE
config: sh-randconfig-r112-20231205 (https://download.01.org/0day-ci/archive/20231206/202312060025.BdeqZrWx-lkp@xxxxxxxxx/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231206/202312060025.BdeqZrWx-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312060025.BdeqZrWx-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
   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

vim +29 include/drm/bridge/aux-bridge.h

2a04739139b2b2 Dmitry Baryshkov 2023-12-03  20  
e560518a6c2e60 Dmitry Baryshkov 2023-12-03  21  #if IS_ENABLED(CONFIG_DRM_AUX_HPD_BRIDGE)
e560518a6c2e60 Dmitry Baryshkov 2023-12-03  22  struct device *drm_dp_hpd_bridge_register(struct device *parent,
e560518a6c2e60 Dmitry Baryshkov 2023-12-03  23  					  struct device_node *np);
e560518a6c2e60 Dmitry Baryshkov 2023-12-03  24  void drm_aux_hpd_bridge_notify(struct device *dev, enum drm_connector_status status);
e560518a6c2e60 Dmitry Baryshkov 2023-12-03  25  #else
e560518a6c2e60 Dmitry Baryshkov 2023-12-03  26  static inline struct device *drm_dp_hpd_bridge_register(struct device *parent,
e560518a6c2e60 Dmitry Baryshkov 2023-12-03  27  							struct device_node *np)
e560518a6c2e60 Dmitry Baryshkov 2023-12-03  28  {
e560518a6c2e60 Dmitry Baryshkov 2023-12-03 @29  	return 0;
e560518a6c2e60 Dmitry Baryshkov 2023-12-03  30  }
e560518a6c2e60 Dmitry Baryshkov 2023-12-03  31  

:::::: The code at line 29 was first introduced by commit
:::::: e560518a6c2e60f1566473c146fddcff3281f617 drm/bridge: implement generic DP HPD bridge

:::::: TO: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
:::::: CC: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux