From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18A5FC433EF for ; Tue, 7 Dec 2021 03:04:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232730AbhLGDH7 (ORCPT ); Mon, 6 Dec 2021 22:07:59 -0500 Received: from mga01.intel.com ([192.55.52.88]:27005 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbhLGDH6 (ORCPT ); Mon, 6 Dec 2021 22:07:58 -0500 X-IronPort-AV: E=McAfee;i="6200,9189,10190"; a="261544563" X-IronPort-AV: E=Sophos;i="5.87,293,1631602800"; d="scan'208";a="261544563" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Dec 2021 19:04:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,293,1631602800"; d="scan'208";a="461086106" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 06 Dec 2021 19:04:27 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1muQmI-000M3a-Px; Tue, 07 Dec 2021 03:04:26 +0000 Date: Tue, 7 Dec 2021 11:04:22 +0800 From: kernel test robot To: Bjorn Andersson Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org 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' Message-ID: <202112071035.dHjyvfSi-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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