[drm-tip:drm-tip 1/7] drivers/gpu/drm/bridge/samsung-dsim.c:1504:3: error: implicit declaration of function 'samsung_dsim_set_stop_state' is invalid in C99

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

 



tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   0f1b42b9d395bd4097b2846230a13869dc638216
commit: cd3a0e22e5de2867cd98b5223094a467a5b0993d [1/7] Merge remote-tracking branch 'drm-misc/drm-misc-next' into drm-tip
config: arm-defconfig (https://download.01.org/0day-ci/archive/20240129/202401291018.WgYuxgMh-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240129/202401291018.WgYuxgMh-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/202401291018.WgYuxgMh-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/bridge/samsung-dsim.c:1504:3: error: implicit declaration of function 'samsung_dsim_set_stop_state' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                   samsung_dsim_set_stop_state(dsi, true);
                   ^
   drivers/gpu/drm/bridge/samsung-dsim.c:1504:3: note: did you mean 'samsung_dsim_set_phy_ctrl'?
   drivers/gpu/drm/bridge/samsung-dsim.c:749:13: note: 'samsung_dsim_set_phy_ctrl' declared here
   static void samsung_dsim_set_phy_ctrl(struct samsung_dsim *dsi)
               ^
   drivers/gpu/drm/bridge/samsung-dsim.c:1629:22: error: use of undeclared identifier 'samsung_dsim_atomic_disable'; did you mean 'samsung_dsim_atomic_enable'?
           .atomic_disable                 = samsung_dsim_atomic_disable,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                             samsung_dsim_atomic_enable
   drivers/gpu/drm/bridge/samsung-dsim.c:1487:13: note: 'samsung_dsim_atomic_enable' declared here
   static void samsung_dsim_atomic_enable(struct drm_bridge *bridge,
               ^
   2 errors generated.


vim +/samsung_dsim_set_stop_state +1504 drivers/gpu/drm/bridge/samsung-dsim.c

e7447128ca4a25 Jagan Teki     2023-03-08  1497  
e7447128ca4a25 Jagan Teki     2023-03-08  1498  static void samsung_dsim_atomic_post_disable(struct drm_bridge *bridge,
e7447128ca4a25 Jagan Teki     2023-03-08  1499  					     struct drm_bridge_state *old_bridge_state)
e7447128ca4a25 Jagan Teki     2023-03-08  1500  {
e7447128ca4a25 Jagan Teki     2023-03-08  1501  	struct samsung_dsim *dsi = bridge_to_dsi(bridge);
e7447128ca4a25 Jagan Teki     2023-03-08  1502  
b2fe2292624ac4 Dario Binacchi 2023-12-18  1503  	if (!samsung_dsim_hw_is_exynos(dsi->plat_data->hw_type))
b2fe2292624ac4 Dario Binacchi 2023-12-18 @1504  		samsung_dsim_set_stop_state(dsi, true);
e7447128ca4a25 Jagan Teki     2023-03-08  1505  
e7447128ca4a25 Jagan Teki     2023-03-08  1506  	dsi->state &= ~DSIM_STATE_ENABLED;
e7447128ca4a25 Jagan Teki     2023-03-08  1507  	pm_runtime_put_sync(dsi->dev);
e7447128ca4a25 Jagan Teki     2023-03-08  1508  }
e7447128ca4a25 Jagan Teki     2023-03-08  1509  

:::::: The code at line 1504 was first introduced by commit
:::::: b2fe2292624ac4fc98dcdaf76c983d3f6e8455e5 drm: bridge: samsung-dsim: enter display mode in the enable() callback

:::::: TO: Dario Binacchi <dario.binacchi@xxxxxxxxxxxxxxxxxxxx>
:::::: CC: Robert Foss <rfoss@xxxxxxxxxx>

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



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux