From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 897E02F44 for ; Sun, 13 Mar 2022 20:22:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647202929; x=1678738929; h=date:from:to:cc:subject:message-id:mime-version; bh=9YapVSMVKThjCQUu7poc5w6eEUHWTa3pA/0z4XDeDIY=; b=dXM5nfCJ1sgK9gJLeY3/stfABq8GE1GXfMnG9rz622/BaK4uwJDX/kwX bm0GIGcWAz1EJKV+0+GqGbjJGI+azeyuuAzN3Ut9/C/+WYvfV95Pxh2xJ lEeAyHv1RqDtjPfrB9e020eKJ0ZXWMowdeVrqhajZuGc/L+Q2ZQP8Exhw 3nX0pRBpN8+cw4IfK72rv/CB7MPygGV3tEwppea2D9j2YdTsOCK/WB9mC 2VOw0CCbiV2toBrXqlcHJn7Go4Pf/ur51axWQcn5A9vzCfgIO/y/e+zSI /nO+eFfODndRCyzaVMa6KpoO+MEE4kximVz7kMj0SeP8+dx+wFRh8rYVO Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10285"; a="253456365" X-IronPort-AV: E=Sophos;i="5.90,179,1643702400"; d="scan'208";a="253456365" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Mar 2022 13:22:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,179,1643702400"; d="scan'208";a="597669843" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by fmsmga008.fm.intel.com with ESMTP; 13 Mar 2022 13:22:07 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nTUj8-0009FW-Cf; Sun, 13 Mar 2022 20:22:06 +0000 Date: Mon, 14 Mar 2022 04:21:22 +0800 From: kernel test robot To: Gal Pressman Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Jakub Kicinski , Tariq Toukan , Eric Dumazet Subject: arch/mips/boot/compressed/uart-16550.c:44:6: warning: no previous prototype for function 'putc' Message-ID: <202203140415.rtqGbgJn-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 User-Agent: Mutt/1.10.1 (2018-07-13) Hi Gal, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f0e18b03fcafd8344539101f564ae358950ae892 commit: 48cec899e357cfb92d022a9c0df6bbe72a7f6951 tcp: Add a stub for sk_defer_free_flush() date: 7 weeks ago config: mips-randconfig-r016-20220313 (https://download.01.org/0day-ci/archive/20220314/202203140415.rtqGbgJn-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0467eb2cb7654c15ae366967ef35093c5724c416) 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 # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=48cec899e357cfb92d022a9c0df6bbe72a7f6951 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 48cec899e357cfb92d022a9c0df6bbe72a7f6951 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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 >>): >> arch/mips/boot/compressed/uart-16550.c:44:6: warning: no previous prototype for function 'putc' [-Wmissing-prototypes] void putc(char c) ^ arch/mips/boot/compressed/uart-16550.c:44:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void putc(char c) ^ static 1 warning generated. vim +/putc +44 arch/mips/boot/compressed/uart-16550.c 1b93b3c3e94be2 Wu Zhangjin 2009-10-14 43 1b93b3c3e94be2 Wu Zhangjin 2009-10-14 @44 void putc(char c) :::::: The code at line 44 was first introduced by commit :::::: 1b93b3c3e94be2605759735a89fc935ba5f58dcf MIPS: Add support for GZIP / BZIP2 / LZMA compressed kernel images :::::: TO: Wu Zhangjin :::::: CC: Ralf Baechle --- 0-DAY CI Kernel Test Service https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org