Re: [PATCH] drm/i915/lspcon: do not hardcode settle timeout

From: kernel test robot
Date: Tue Oct 15 2024 - 06:13:54 EST


Hi Giedrius,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linus/master]
[also build test WARNING on v6.12-rc3 next-20241015]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Giedrius-Statkevi-ius/drm-i915-lspcon-do-not-hardcode-settle-timeout/20241014-174131
base: linus/master
patch link: https://lore.kernel.org/r/20241014093914.109162-1-giedriuswork%40gmail.com
patch subject: [PATCH] drm/i915/lspcon: do not hardcode settle timeout
config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20241015/202410151813.Hw9oCTae-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241015/202410151813.Hw9oCTae-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/202410151813.Hw9oCTae-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/display/drm_dp_dual_mode_helper.c:495: warning: Function parameter or struct member 'time_out' not described in 'drm_lspcon_set_mode'


vim +495 drivers/gpu/drm/display/drm_dp_dual_mode_helper.c

056996b9568632 drivers/gpu/drm/drm_dp_dual_mode_helper.c Shashank Sharma 2016-10-17 482
056996b9568632 drivers/gpu/drm/drm_dp_dual_mode_helper.c Shashank Sharma 2016-10-17 483 /**
613a308159e5dd drivers/gpu/drm/drm_dp_dual_mode_helper.c Jani Nikula 2016-10-19 484 * drm_lspcon_set_mode: Change LSPCON's mode of operation by
613a308159e5dd drivers/gpu/drm/drm_dp_dual_mode_helper.c Jani Nikula 2016-10-19 485 * writing offset (0x80, 0x40)
318fbd7dfedd67 drivers/gpu/drm/drm_dp_dual_mode_helper.c Lyude Paul 2021-04-23 486 * @dev: &drm_device to use
613a308159e5dd drivers/gpu/drm/drm_dp_dual_mode_helper.c Jani Nikula 2016-10-19 487 * @adapter: I2C-over-aux adapter
613a308159e5dd drivers/gpu/drm/drm_dp_dual_mode_helper.c Jani Nikula 2016-10-19 488 * @mode: required mode of operation
056996b9568632 drivers/gpu/drm/drm_dp_dual_mode_helper.c Shashank Sharma 2016-10-17 489 *
056996b9568632 drivers/gpu/drm/drm_dp_dual_mode_helper.c Shashank Sharma 2016-10-17 490 * Returns:
056996b9568632 drivers/gpu/drm/drm_dp_dual_mode_helper.c Shashank Sharma 2016-10-17 491 * 0 on success, -error on failure/timeout
056996b9568632 drivers/gpu/drm/drm_dp_dual_mode_helper.c Shashank Sharma 2016-10-17 492 */
318fbd7dfedd67 drivers/gpu/drm/drm_dp_dual_mode_helper.c Lyude Paul 2021-04-23 493 int drm_lspcon_set_mode(const struct drm_device *dev, struct i2c_adapter *adapter,
3d7a1094af9e7e drivers/gpu/drm/display/drm_dp_dual_mode_helper.c Giedrius Statkevičius 2024-10-14 494 enum drm_lspcon_mode mode, int time_out)
056996b9568632 drivers/gpu/drm/drm_dp_dual_mode_helper.c Shashank Sharma 2016-10-17 @495 {

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