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 E64D2C433EF for ; Tue, 31 May 2022 01:22:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243033AbiEaBWy (ORCPT ); Mon, 30 May 2022 21:22:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231168AbiEaBWv (ORCPT ); Mon, 30 May 2022 21:22:51 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57782205D6 for ; Mon, 30 May 2022 18:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653960170; x=1685496170; h=date:from:to:cc:subject:message-id:mime-version; bh=8hwg1e0BTiGT8CDRF/ldp8eqUq4Cu0/MdTKgELOE8gk=; b=O3PLaN/fNHxlKSDYOYx6nfUymX1PhXShW0RJ9OAPEa/EdSj5ySXJx41b 0oh50H684WxY05RBC162snAfwN/RDJ8tYGbHzq/qStmL0jcoHHT7MVm7o fPPj5qWcFOkp+3AKwwaXvUtSF57fca4H9RAEzsohmsW+JBC2Wt+wR9lEu 9S0hO6iT4mV2IgvPpzL/gP72D1cHg+rv+FhiZZFbLBwQF5/eKkNXXDBLH kZsV3LJAFDHBQ5NQGn52m3eHxEEu7UTZZZmsAV/vD2Jwkz9muNOVuPo0f yEbhCm0JbCdTdKSHMpjrZuz9A2hIGy6AFlCKQeslqI85jk12trpSzYXed g==; X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="274827648" X-IronPort-AV: E=Sophos;i="5.91,263,1647327600"; d="scan'208";a="274827648" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2022 18:22:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,263,1647327600"; d="scan'208";a="720087535" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 30 May 2022 18:22:48 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nvqau-0002AG-0D; Tue, 31 May 2022 01:22:48 +0000 Date: Tue, 31 May 2022 09:22:36 +0800 From: kernel test robot To: YunQiang Su Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Thomas Bogendoerfer Subject: arch/mips/boot/compressed/uart-16550.c:44:6: warning: no previous prototype for 'putc' Message-ID: <202205310916.7RgfWNTT-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 YunQiang, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8ab2afa23bd197df47819a87f0265c0ac95c5b6a commit: 31b2f3dc851c65fee288612432c4fc956f1a264e MIPS: enable both vmlinux.gz.itb and vmlinuz for generic date: 5 months ago config: mips-randconfig-r021-20220530 (https://download.01.org/0day-ci/archive/20220531/202205310916.7RgfWNTT-lkp@intel.com/config) compiler: mipsel-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=31b2f3dc851c65fee288612432c4fc956f1a264e git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 31b2f3dc851c65fee288612432c4fc956f1a264e # 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 Note: functions only called from assembly code should be annotated with the asmlinkage attribute All warnings (new ones prefixed by >>): >> arch/mips/boot/compressed/uart-16550.c:44:6: warning: no previous prototype for 'putc' [-Wmissing-prototypes] 44 | void putc(char c) | ^~~~ 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://01.org/lkp