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 BDB42C433EF for ; Mon, 28 Mar 2022 09:01:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239611AbiC1JDZ (ORCPT ); Mon, 28 Mar 2022 05:03:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232972AbiC1JDY (ORCPT ); Mon, 28 Mar 2022 05:03:24 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19FA34EA25 for ; Mon, 28 Mar 2022 02:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648458104; x=1679994104; h=date:from:to:cc:subject:message-id:mime-version; bh=uN72xQG8JfwUCWArdqbx6gNtUH+ZpeBJT5IP9+NE9+E=; b=h8dRE2SOhcZBvsylClwxDqSmxRrQ+AZn2/Zy6Mp4dt5uZ2s/CsrClceQ YdceCT0PTV63yAj7GFyQnzh92LmY/CGpfLp4N8zBDyBDtof3wKmQJaNoA 1H0Bn5G1XSiarf27BSmXbiVUXYOWyB//7xrwMCNc2O2wlCcgj+EDp0atn 5p5NNTmq+04zxYOUUqYLIdvlsehg6rDcmwzIIE4gntM3Od0a4ga3mC2pu T8eDSFgR5lGPc1/HfYNRnd4Y6YoH7l74PI6jexaIEMM8oNQQyqnN2Js31 J2uTNGDHxo7o9Yw2weoRlqlrHmB4p7oCDUHEPnXm5YKkmzSaVYqyy7gLy g==; X-IronPort-AV: E=McAfee;i="6200,9189,10299"; a="256526906" X-IronPort-AV: E=Sophos;i="5.90,216,1643702400"; d="scan'208";a="256526906" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Mar 2022 02:01:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,216,1643702400"; d="scan'208";a="520935840" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 28 Mar 2022 02:01:42 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nYlFt-0001u6-Ff; Mon, 28 Mar 2022 09:01:41 +0000 Date: Mon, 28 Mar 2022 17:01:33 +0800 From: kernel test robot To: Masahiro Yamada Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Thomas Bogendoerfer Subject: arch/mips/boot/compressed/../../../../lib/ashldi3.c:9:19: warning: no previous prototype for '__ashldi3' Message-ID: <202203281615.7DKtA9hq-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 Hi Masahiro, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ae085d7f9365de7da27ab5c0d16b12d51ea7fca9 commit: f78b25ee922ef6faf59a258af1b9388ca894cfd9 mips: decompressor: do not copy source files while building date: 5 months ago config: mips-loongson1b_defconfig (https://download.01.org/0day-ci/archive/20220328/202203281615.7DKtA9hq-lkp@intel.com/config) compiler: mipsel-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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f78b25ee922ef6faf59a258af1b9388ca894cfd9 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout f78b25ee922ef6faf59a258af1b9388ca894cfd9 # 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 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from arch/mips/boot/compressed/ashldi3.c:2: >> arch/mips/boot/compressed/../../../../lib/ashldi3.c:9:19: warning: no previous prototype for '__ashldi3' [-Wmissing-prototypes] 9 | long long notrace __ashldi3(long long u, word_type b) | ^~~~~~~~~ vim +/__ashldi3 +9 arch/mips/boot/compressed/../../../../lib/ashldi3.c b35cd9884fa5d8 Palmer Dabbelt 2017-05-23 8 b35cd9884fa5d8 Palmer Dabbelt 2017-05-23 @9 long long notrace __ashldi3(long long u, word_type b) :::::: The code at line 9 was first introduced by commit :::::: b35cd9884fa5d81c9d5e7f57c9d03264ae2bd835 lib: Add shared copies of some GCC library routines :::::: TO: Palmer Dabbelt :::::: CC: Palmer Dabbelt -- 0-DAY CI Kernel Test Service https://01.org/lkp