lkml.org 
[lkml]   [2021]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[andersson:wip/sm8350-next-20211118 46/48] drivers/gpu/drm/msm/dp/dp_display.c:420:6: warning: no previous prototype for 'dp_display_oob_hotplug_event'
tree:   https://github.com/andersson/kernel wip/sm8350-next-20211118
head: 801a35a569988584ffd5f6028a992f636c2a6634
commit: 6cc13d7c2d774fa5b1c7f024ce7e1c7313af4a2f [46/48] drm/msm/dp: Wire up oob callback
config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20211207/202112071035.dHjyvfSi-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/andersson/kernel/commit/6cc13d7c2d774fa5b1c7f024ce7e1c7313af4a2f
git remote add andersson https://github.com/andersson/kernel
git fetch --no-tags andersson wip/sm8350-next-20211118
git checkout 6cc13d7c2d774fa5b1c7f024ce7e1c7313af4a2f
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash drivers/gpu/drm/msm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/msm/dp/dp_display.c:420:6: warning: no previous prototype for 'dp_display_oob_hotplug_event' [-Wmissing-prototypes]
420 | void dp_display_oob_hotplug_event(struct msm_dp *dp_display)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/dp_display_oob_hotplug_event +420 drivers/gpu/drm/msm/dp/dp_display.c

419
> 420 void dp_display_oob_hotplug_event(struct msm_dp *dp_display)
421 {
422 struct dp_display_private *dp;
423 static bool current_state;
424
425 dp = container_of(dp_display, struct dp_display_private, dp_display);
426
427 printk(KERN_ERR "=================================== %s() hpd_state: %d current_state: %d\n", __func__, dp->hpd_state, current_state);
428
429 if (!current_state) {
430 dp_display_host_init(dp, false);
431 dp_display_process_hpd_high(dp);
432 } else {
433 dp_add_event(dp, EV_USER_NOTIFICATION, false, 0);
434 }
435
436 current_state = !current_state;
437

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

\
 
 \ /
  Last update: 2021-12-07 04:05    [W:0.023 / U:1.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site