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 5A594C433F5 for ; Mon, 28 Mar 2022 04:36:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238060AbiC1EiU (ORCPT ); Mon, 28 Mar 2022 00:38:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233207AbiC1EiT (ORCPT ); Mon, 28 Mar 2022 00:38:19 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEFCB4F9E1 for ; Sun, 27 Mar 2022 21:36:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648442198; x=1679978198; h=date:from:to:cc:subject:message-id:mime-version; bh=FIz0Q1EvMYJmF9dpmCafzvMzCnhuyHbQDx/8zSoT89s=; b=LoaNVghW2Yn0hsJY88+nQhDYpP/mB/eGmHeb7RDxilGKNzyekcXug9GL hIHJxO9hOt9eS9CCKywrv3nk/Lvwn2cBVxLAnIOBV6zfE0VkgCoOo5j5o i+PmCyn1LOkrXCgKULDHfpERyC2dg+6lH4V0L4X5QJVv4W1FE6YmfzVNJ K8CfQ8342+vv6bflxpEgPaMzCIMHM2dYiFQp5+W6gBQDaMKy7BPLlXYfn 1uNCGvjCKlFjMEnHmOEdgZmxSxynHtIGL+obNpr5RWX7vFyPPJ5HkZgvA 4tFzqaTGgNhZe4UUbprKiyVs1cskrwYSRV5SjF9kKWv0QCnmhJq1XnnPo A==; X-IronPort-AV: E=McAfee;i="6200,9189,10299"; a="257738545" X-IronPort-AV: E=Sophos;i="5.90,216,1643702400"; d="scan'208";a="257738545" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2022 21:36:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,216,1643702400"; d="scan'208";a="502374947" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 27 Mar 2022 21:36:36 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nYh7L-0001is-Ur; Mon, 28 Mar 2022 04:36:35 +0000 Date: Mon, 28 Mar 2022 12:36:07 +0800 From: kernel test robot To: Ard Biesheuvel Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: arch/arm/boot/compressed/atags_to_fdt.c:129:5: warning: stack frame size (1344) exceeds limit (1280) in 'atags_to_fdt' Message-ID: <202203281213.XUi8zP3z-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 Ard, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ae085d7f9365de7da27ab5c0d16b12d51ea7fca9 commit: 672513bf583157cc088a32e75bd850dd9f81564c ARM: decompressor: disable stack protector date: 4 months ago config: arm-buildonly-randconfig-r003-20220327 (https://download.01.org/0day-ci/archive/20220328/202203281213.XUi8zP3z-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d) 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 arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=672513bf583157cc088a32e75bd850dd9f81564c git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 672513bf583157cc088a32e75bd850dd9f81564c # 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=arm 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/arm/boot/compressed/atags_to_fdt.c:129:5: warning: no previous prototype for function 'atags_to_fdt' [-Wmissing-prototypes] int atags_to_fdt(void *atag_list, void *fdt, int total_space) ^ arch/arm/boot/compressed/atags_to_fdt.c:129:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int atags_to_fdt(void *atag_list, void *fdt, int total_space) ^ static >> arch/arm/boot/compressed/atags_to_fdt.c:129:5: warning: stack frame size (1344) exceeds limit (1280) in 'atags_to_fdt' [-Wframe-larger-than] int atags_to_fdt(void *atag_list, void *fdt, int total_space) ^ 2 warnings generated. vim +/atags_to_fdt +129 arch/arm/boot/compressed/atags_to_fdt.c 31d0b9f9982f8e Ben Dooks 2018-10-12 120 b90b9a38251e9c Nicolas Pitre 2011-09-13 121 /* b90b9a38251e9c Nicolas Pitre 2011-09-13 122 * Convert and fold provided ATAGs into the provided FDT. b90b9a38251e9c Nicolas Pitre 2011-09-13 123 * 4716e2e34a22a8 Geert Uytterhoeven 2021-05-19 124 * Return values: b90b9a38251e9c Nicolas Pitre 2011-09-13 125 * = 0 -> pretend success b90b9a38251e9c Nicolas Pitre 2011-09-13 126 * = 1 -> bad ATAG (may retry with another possible ATAG pointer) b90b9a38251e9c Nicolas Pitre 2011-09-13 127 * < 0 -> error from libfdt b90b9a38251e9c Nicolas Pitre 2011-09-13 128 */ b90b9a38251e9c Nicolas Pitre 2011-09-13 @129 int atags_to_fdt(void *atag_list, void *fdt, int total_space) :::::: The code at line 129 was first introduced by commit :::::: b90b9a38251e9c89c34179eccde57411ceb5f1aa ARM: zImage: allow supplementing appended DTB with traditional ATAG data :::::: TO: Nicolas Pitre :::::: CC: Nicolas Pitre -- 0-DAY CI Kernel Test Service https://01.org/lkp