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 40044C77B73 for ; Mon, 1 May 2023 08:40:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232173AbjEAIkH (ORCPT ); Mon, 1 May 2023 04:40:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjEAIkF (ORCPT ); Mon, 1 May 2023 04:40:05 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10823E62 for ; Mon, 1 May 2023 01:40:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682930404; x=1714466404; h=date:from:to:cc:subject:message-id:mime-version; bh=//KI8y+/sgpuuH11lzGKTdHfa+IyhZIjeLca2O2Sb5U=; b=nhiOa68yaGYHLLt1PrRCK+4tVmNmBHWjwl+YOTvWGZ1lk7AMZrR6P0VE SeAePAUmxMwvM1jiJTjRFspBDkoRMrWiBlKF5Ibz7IKndpAtnqGkTEtlq YHZ3eb1AFhXn7huVSgDeMe/2hC4SKPyUbBAU23cOXsRWOTWoQl4spD9tS wgQMHFIAxR71GRmwvw15DxLNmbV+Lrx+LR0mvC2Y+nqYca/xcXanZU4sa KT7+lce2P2bHsriDVaq6KqVz6/2bzwkP8bu3vDa6RKDI4pwjeHbTDCXkY pyZTwFigz8341mGQ6+EPphjY9C0C3cAhVTrpzg1yZOAvhOKM5eAj246m8 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10696"; a="413542727" X-IronPort-AV: E=Sophos;i="5.99,239,1677571200"; d="scan'208";a="413542727" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2023 01:40:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10696"; a="689817447" X-IronPort-AV: E=Sophos;i="5.99,239,1677571200"; d="scan'208";a="689817447" Received: from lkp-server01.sh.intel.com (HELO e3434d64424d) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 01 May 2023 01:40:02 -0700 Received: from kbuild by e3434d64424d with local (Exim 4.96) (envelope-from ) id 1ptP4j-0000N7-1J; Mon, 01 May 2023 08:40:01 +0000 Date: Mon, 1 May 2023 16:39:43 +0800 From: kernel test robot To: Arnd Bergmann Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org Subject: arch/arm/mach-omap1/serial.c:236:12: warning: no previous prototype for 'omap_serial_wakeup_init' Message-ID: <202305011637.7zaKatRo-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 58390c8ce1bddb6c623f62e7ed36383e7fa5c02f commit: 980a637d11fe8dfc734f508a422185c2de55e669 ARM: omap1: fix !ARCH_OMAP1_ANY link failures date: 4 months ago config: arm-randconfig-r024-20230429 (https://download.01.org/0day-ci/archive/20230501/202305011637.7zaKatRo-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=980a637d11fe8dfc734f508a422185c2de55e669 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 980a637d11fe8dfc734f508a422185c2de55e669 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305011637.7zaKatRo-lkp@intel.com/ All warnings (new ones prefixed by >>): >> arch/arm/mach-omap1/serial.c:236:12: warning: no previous prototype for 'omap_serial_wakeup_init' [-Wmissing-prototypes] 236 | int __init omap_serial_wakeup_init(void) | ^~~~~~~~~~~~~~~~~~~~~~~ vim +/omap_serial_wakeup_init +236 arch/arm/mach-omap1/serial.c 7c38cf021b42a4 Tony Lindgren 2005-09-08 235 82c3bd03535f15 Shawn Guo 2012-04-26 @236 int __init omap_serial_wakeup_init(void) 7c38cf021b42a4 Tony Lindgren 2005-09-08 237 { 7c38cf021b42a4 Tony Lindgren 2005-09-08 238 if (!cpu_is_omap16xx()) 7c38cf021b42a4 Tony Lindgren 2005-09-08 239 return 0; 7c38cf021b42a4 Tony Lindgren 2005-09-08 240 7c38cf021b42a4 Tony Lindgren 2005-09-08 241 if (uart1_ck != NULL) 7c38cf021b42a4 Tony Lindgren 2005-09-08 242 omap_serial_set_port_wakeup(37); 7c38cf021b42a4 Tony Lindgren 2005-09-08 243 if (uart2_ck != NULL) 7c38cf021b42a4 Tony Lindgren 2005-09-08 244 omap_serial_set_port_wakeup(18); 7c38cf021b42a4 Tony Lindgren 2005-09-08 245 if (uart3_ck != NULL) 7c38cf021b42a4 Tony Lindgren 2005-09-08 246 omap_serial_set_port_wakeup(49); 7c38cf021b42a4 Tony Lindgren 2005-09-08 247 7c38cf021b42a4 Tony Lindgren 2005-09-08 248 return 0; 7c38cf021b42a4 Tony Lindgren 2005-09-08 249 } 7c38cf021b42a4 Tony Lindgren 2005-09-08 250 :::::: The code at line 236 was first introduced by commit :::::: 82c3bd03535f1571426fdd19b7d832f76b7ac85e ARM: omap1: use machine specific hook for late init :::::: TO: Shawn Guo :::::: CC: Shawn Guo -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests