All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2021-12-07  3:04 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-07  3:04 UTC (permalink / raw)
  To: Bjorn Andersson; +Cc: kbuild-all, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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'
@ 2021-12-07  3:04 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-12-07  3:04 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2343 bytes --]

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(a)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(a)lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-07  3:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-07  3:04 [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' kernel test robot
2021-12-07  3:04 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.