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 EE465C433FE for ; Tue, 24 May 2022 07:28:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233568AbiEXH23 (ORCPT ); Tue, 24 May 2022 03:28:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbiEXH21 (ORCPT ); Tue, 24 May 2022 03:28:27 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 570AB98089 for ; Tue, 24 May 2022 00:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653377306; x=1684913306; h=date:from:to:cc:subject:message-id:mime-version; bh=MBCQmSWSjaBZX+Ab8lxaSAhjV6IIxOBcZt2Atm/KQ00=; b=ItVQ90XL7Tt4P0yu/9hCrnnVlZs2KnxOsyoqm0pmp84RayeL2UkIHACw VOhiWJ6LItr9KpzP2lHrZLcjlEVEAsWynxRosQvu47PSoJo7S9989DLPP T7ZSjFCUw8wn8bEtp4AbLhUTm8xQutXQixFyET2EziS4LlatszFdDkZPd XuiX6JqhDs3WPUuIljXsPKmMuLFhLQFxC1m0sE5STme5QBCoiEuXFIs48 qau1VVh6I4u5R3RGoa1RP3thR1c0w0HcjkMeGfQ6C7EvdhjoJUfiLaaMg jJkXC1dGtFeaowIoE5/jmdg/wAyrkFukBFb1Jc77C6HizmtHMB5tUtonB A==; X-IronPort-AV: E=McAfee;i="6400,9594,10356"; a="359850581" X-IronPort-AV: E=Sophos;i="5.91,248,1647327600"; d="scan'208";a="359850581" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 May 2022 00:28:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,248,1647327600"; d="scan'208";a="559017123" Received: from lkp-server01.sh.intel.com (HELO db63a1be7222) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 24 May 2022 00:28:13 -0700 Received: from kbuild by db63a1be7222 with local (Exim 4.95) (envelope-from ) id 1ntOxg-0001qs-NU; Tue, 24 May 2022 07:28:12 +0000 Date: Tue, 24 May 2022 15:27:22 +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/bswapdi.c:5:28: warning: no previous prototype for '__bswapdi2' Message-ID: <202205241534.4Z0ssaoD-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 Masahiro, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 143a6252e1b8ab424b4b293512a97cca7295c182 commit: f78b25ee922ef6faf59a258af1b9388ca894cfd9 mips: decompressor: do not copy source files while building date: 7 months ago config: mips-randconfig-r034-20220524 (https://download.01.org/0day-ci/archive/20220524/202205241534.4Z0ssaoD-lkp@intel.com/config) compiler: mips64el-linux-gcc (GCC) 11.3.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 mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from arch/mips/boot/compressed/bswapdi.c:2: >> arch/mips/boot/compressed/../../lib/bswapdi.c:5:28: warning: no previous prototype for '__bswapdi2' [-Wmissing-prototypes] 5 | unsigned long long notrace __bswapdi2(unsigned long long u) | ^~~~~~~~~~ vim +/__bswapdi2 +5 arch/mips/boot/compressed/../../lib/bswapdi.c 1ee3630a3e57f3 Ralf Baechle 2015-09-29 4 aedcfbe06558a9 Harvey Hunt 2016-05-25 @5 unsigned long long notrace __bswapdi2(unsigned long long u) 1ee3630a3e57f3 Ralf Baechle 2015-09-29 6 { 1ee3630a3e57f3 Ralf Baechle 2015-09-29 7 return (((u) & 0xff00000000000000ull) >> 56) | 1ee3630a3e57f3 Ralf Baechle 2015-09-29 8 (((u) & 0x00ff000000000000ull) >> 40) | 1ee3630a3e57f3 Ralf Baechle 2015-09-29 9 (((u) & 0x0000ff0000000000ull) >> 24) | 1ee3630a3e57f3 Ralf Baechle 2015-09-29 10 (((u) & 0x000000ff00000000ull) >> 8) | 1ee3630a3e57f3 Ralf Baechle 2015-09-29 11 (((u) & 0x00000000ff000000ull) << 8) | 1ee3630a3e57f3 Ralf Baechle 2015-09-29 12 (((u) & 0x0000000000ff0000ull) << 24) | 1ee3630a3e57f3 Ralf Baechle 2015-09-29 13 (((u) & 0x000000000000ff00ull) << 40) | 1ee3630a3e57f3 Ralf Baechle 2015-09-29 14 (((u) & 0x00000000000000ffull) << 56); 1ee3630a3e57f3 Ralf Baechle 2015-09-29 15 } 1ee3630a3e57f3 Ralf Baechle 2015-09-29 16 :::::: The code at line 5 was first introduced by commit :::::: aedcfbe06558a9f53002e82d5be64c6c94687726 MIPS: lib: Mark intrinsics notrace :::::: TO: Harvey Hunt :::::: CC: Ralf Baechle -- 0-DAY CI Kernel Test Service https://01.org/lkp