From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB141145B00; Sat, 20 Jul 2024 18:56:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721501811; cv=none; b=UEthZbezrW7aR5s7zWQ2pMOvHTyiKeSqjxrcm0hB0ZoJmuf5FW88FKz2rKEDj59FaJ109vZTZu2esUrpBCmTgbEMTOBO1bBM3iY1FtIvzuQmY8LxO84XPaiLeKQjQqXbuFj97MmqHC7wVTf9cTS2h8Wg2GRgoCvQGmO0nM6LmJI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721501811; c=relaxed/simple; bh=S8TcbKH6JM1WQJzQZjxjyPM16V4KOd3DtbrOYkFhO/A=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=ClXGh5B+I7IpoRETCl9kljZ9jyqeYxQErdMStrfg8LovBHopA+q2VGewJFXbq6syZDmRaYmGt42tjj/2GUg6Jz/2n3P/gMi/za8yNY/MMovJlU6M/i18cWEbwA/c+lNwowcm24jaWvK10lotYHmiqYpKdIIEtzpP0Ml+ZtQLkJo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=OTilic6n; arc=none smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OTilic6n" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1721501810; x=1753037810; h=date:from:to:cc:subject:message-id:mime-version; bh=S8TcbKH6JM1WQJzQZjxjyPM16V4KOd3DtbrOYkFhO/A=; b=OTilic6n/CSm6w5HmYVZf/C7sOTPe0TtVNw8cXecwPS+a+Yr/pLx0/TH op9H0CYQZ9wqwmfm4Zsu4IhQ7yvbJP4DuWFZWdjicToQSiGNk9GOr5WNo P6s2zsGk70wit76D+94Ia5W4EKOdKzvivEN1BkeosoHp617CjLhr3xRzq 39MdM7ZhOvkRUPLh42MhXCX2IfELtR+BA9b6wHWCgesE7eDQxP/Fkiwec VKqd0huo0xKgMU1pwfBxJRJQZ3C8VyzEK0nFg0oNnrNzgPI6tKCrsylGf cYUQinHH7N0ASUZlb5jIJw2J+SweAHAtcgDy9MpHbe/lhJd3PDPDUK1WM g==; X-CSE-ConnectionGUID: gAcvgv/2RIOgd2xVPCs18A== X-CSE-MsgGUID: uslkLbDpR92+YJiLyEKx7A== X-IronPort-AV: E=McAfee;i="6700,10204,11139"; a="22871816" X-IronPort-AV: E=Sophos;i="6.09,224,1716274800"; d="scan'208";a="22871816" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2024 11:56:48 -0700 X-CSE-ConnectionGUID: MMhoB/7RQSCXHfUVXJUvIA== X-CSE-MsgGUID: drpxeY3rSGORnIic2meRjw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,224,1716274800"; d="scan'208";a="51410356" Received: from lkp-server01.sh.intel.com (HELO 68891e0c336b) ([10.239.97.150]) by fmviesa009.fm.intel.com with ESMTP; 20 Jul 2024 11:56:46 -0700 Received: from kbuild by 68891e0c336b with local (Exim 4.96) (envelope-from ) id 1sVFG7-000jWD-0u; Sat, 20 Jul 2024 18:56:43 +0000 Date: Sun, 21 Jul 2024 02:56:29 +0800 From: kernel test robot To: Jocelyn Falempe Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, dri-devel@lists.freedesktop.org, Javier Martinez Canillas , Daniel Vetter Subject: [drm-misc:drm-misc-next 4/4] drivers/gpu/drm/drm_panic.c:712:6: error: no previous prototype for function 'drm_panic_is_enabled' Message-ID: <202407210209.qmItlGt0-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Jocelyn, First bad commit (maybe != root cause): tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 7e33fc2ff6754b5ff39b11297f713cd0841d9962 commit: 3a9b77cee7502f7450c725d4ead2c4a44924d158 [4/4] drm/panic: Remove build time dependency with FRAMEBUFFER_CONSOLE config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20240721/202407210209.qmItlGt0-lkp@intel.com/config) compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240721/202407210209.qmItlGt0-lkp@intel.com/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 | Closes: https://lore.kernel.org/oe-kbuild-all/202407210209.qmItlGt0-lkp@intel.com/ Note: the drm-misc/drm-misc-next HEAD 7e33fc2ff6754b5ff39b11297f713cd0841d9962 builds fine. It only hurts bisectability. All errors (new ones prefixed by >>): >> drivers/gpu/drm/drm_panic.c:712:6: error: no previous prototype for function 'drm_panic_is_enabled' [-Werror,-Wmissing-prototypes] 712 | bool drm_panic_is_enabled(struct drm_device *dev) | ^ drivers/gpu/drm/drm_panic.c:712:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 712 | bool drm_panic_is_enabled(struct drm_device *dev) | ^ | static 1 error generated. vim +/drm_panic_is_enabled +712 drivers/gpu/drm/drm_panic.c 813ca3aa8fecac Jocelyn Falempe 2024-04-09 705 9f774c42a908af Jocelyn Falempe 2024-07-17 706 /** 9f774c42a908af Jocelyn Falempe 2024-07-17 707 * drm_panic_is_enabled 9f774c42a908af Jocelyn Falempe 2024-07-17 708 * @dev: the drm device that may supports drm_panic 9f774c42a908af Jocelyn Falempe 2024-07-17 709 * 9f774c42a908af Jocelyn Falempe 2024-07-17 710 * returns true if the drm device supports drm_panic 9f774c42a908af Jocelyn Falempe 2024-07-17 711 */ 9f774c42a908af Jocelyn Falempe 2024-07-17 @712 bool drm_panic_is_enabled(struct drm_device *dev) 9f774c42a908af Jocelyn Falempe 2024-07-17 713 { 9f774c42a908af Jocelyn Falempe 2024-07-17 714 struct drm_plane *plane; 9f774c42a908af Jocelyn Falempe 2024-07-17 715 9f774c42a908af Jocelyn Falempe 2024-07-17 716 if (!dev->mode_config.num_total_plane) 9f774c42a908af Jocelyn Falempe 2024-07-17 717 return false; 9f774c42a908af Jocelyn Falempe 2024-07-17 718 9f774c42a908af Jocelyn Falempe 2024-07-17 719 drm_for_each_plane(plane, dev) 9f774c42a908af Jocelyn Falempe 2024-07-17 720 if (plane->helper_private && plane->helper_private->get_scanout_buffer) 9f774c42a908af Jocelyn Falempe 2024-07-17 721 return true; 9f774c42a908af Jocelyn Falempe 2024-07-17 722 return false; 9f774c42a908af Jocelyn Falempe 2024-07-17 723 } 9f774c42a908af Jocelyn Falempe 2024-07-17 724 EXPORT_SYMBOL(drm_panic_is_enabled); 9f774c42a908af Jocelyn Falempe 2024-07-17 725 :::::: The code at line 712 was first introduced by commit :::::: 9f774c42a908affba615bbed7463dd4f904dd5f1 drm/panic: Add drm_panic_is_enabled() :::::: TO: Jocelyn Falempe :::::: CC: Jocelyn Falempe -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki