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 X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91AECC55179 for ; Sun, 25 Oct 2020 19:17:14 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0CB0222260 for ; Sun, 25 Oct 2020 19:17:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="vzt1O+eR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0CB0222260 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 4FF106B005D; Sun, 25 Oct 2020 15:17:13 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 488B66B0062; Sun, 25 Oct 2020 15:17:13 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 326F96B0068; Sun, 25 Oct 2020 15:17:13 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0056.hostedemail.com [216.40.44.56]) by kanga.kvack.org (Postfix) with ESMTP id F0E906B005D for ; Sun, 25 Oct 2020 15:17:12 -0400 (EDT) Received: from smtpin14.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 852CB180AD806 for ; Sun, 25 Oct 2020 19:17:12 +0000 (UTC) X-FDA: 77411405904.14.move59_610ddd02726d Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin14.hostedemail.com (Postfix) with ESMTP id 69D1018229818 for ; Sun, 25 Oct 2020 19:17:12 +0000 (UTC) X-HE-Tag: move59_610ddd02726d X-Filterd-Recvd-Size: 3577 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf28.hostedemail.com (Postfix) with ESMTP for ; Sun, 25 Oct 2020 19:17:11 +0000 (UTC) Received: from X1 (nat-ab2241.sltdut.senawave.net [162.218.216.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DBC1622260; Sun, 25 Oct 2020 19:17:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603653431; bh=2vUyCRMxJX2pxLnOxASbAhuopJdZm9nVaG50ILhnBrk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=vzt1O+eR4ITDOnR6HYR0VXgjlEvUYBYbD/2L0AT0IvlDvAfTFtSDurpuLJcZy+0ZG 7gYfwflnSci8k0BJ8AzNu8iL8EiH/rhrDJ+SbadtBIl2PZHS9+dxkjSk8zYZTZit7Z E7LLTQtyhZx0Af+dKf04YcJzpadBniSn0+kquUQk= Date: Sun, 25 Oct 2020 12:17:08 -0700 From: Andrew Morton To: kernel test robot Cc: Andrey Konovalov , kbuild-all@lists.01.org, clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org, Linux Memory Management List Subject: Re: drivers/video/backlight/ltv350qv.c:192:12: warning: stack frame size of 13472 bytes in function 'ltv350qv_power' Message-Id: <20201025121708.04d4070a44e28146baf9a6a7@linux-foundation.org> In-Reply-To: <202010260230.VivTG0Gb-lkp@intel.com> References: <202010260230.VivTG0Gb-lkp@intel.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, 26 Oct 2020 02:15:37 +0800 kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: d76913908102044f14381df865bb74df17a538cb > commit: cae9dc35ed9ff82a99754e51d57ff6c332e1f7e4 kasan: allow enabling stack tagging for tag-based mode > date: 3 months ago > config: arm64-randconfig-r005-20201026 (attached as .config) > compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 1c8371692dfe8245bc6690ff1262dcced4649d21) > 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 arm64 cross compiling tool for clang build > # apt-get install binutils-aarch64-linux-gnu > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cae9dc35ed9ff82a99754e51d57ff6c332e1f7e4 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout cae9dc35ed9ff82a99754e51d57ff6c332e1f7e4 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> drivers/video/backlight/ltv350qv.c:192:12: warning: stack frame size of 13472 bytes in function 'ltv350qv_power' [-Wframe-larger-than=] That's a lot of stack. > static int ltv350qv_power(struct ltv350qv *lcd, int power) > ^ > 1 warning generated. > > vim +/ltv350qv_power +192 drivers/video/backlight/ltv350qv.c Odd - the code looks pretty normal. It is possible that your compiler is (crazily) inlining ltv350qv_write_reg()?