From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D439F39022B for ; Thu, 20 Aug 2026 19:08:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787252899; cv=none; b=InZy0WFVHZrJ5LtElicGcV4U5u2LLNe3qKkhUHDKqC50s4s+c4JfqCYAsQgq+flfJfdw0sdcEf2ng642l7r1rslt1WQqFf5kCtJwKS5Zg8PLBw4R04bBvUx8pr/j0SPOLQYTVpS39IOFTL1GgzmJ6md7REBLue1qbDOvQtry10A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787252899; c=relaxed/simple; bh=4xGXoy/KwANLRDzk4x1mHV/vjIydtc9C9+XeDys3vEg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=eZBUsIkFl7bi0g0BipPiA/28pBvR7dOjQdYFGQSJr+0FtybbujUqYAhN4Ll5yIXjPixZh7bO74PdwFp8odzdLglOdId77mZ6z14No3zvLY6LF91EtvIpYseQlCQNyUawL1PdqVddXvUxnbJyodAmBb+HMeE1HAfonSsByICNVK8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=R2DSNL86; arc=none smtp.client-ip=209.85.167.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="R2DSNL86" Received: by mail-oi1-f178.google.com with SMTP id 5614622812f47-4a451915d8aso169195b6e.2 for ; Thu, 20 Aug 2026 12:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1787252895; x=1787857695; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=hpWItAlpq954MxVG2E0S7uqVlBXwoggdwApAJjsT5Ks=; b=R2DSNL86eIBGYwS6SvE0EsouB+LN9aOiapwC7GLvXbUPodIIE+07qezpV8GeW0ZWw9 pMB1wgxdi/kwVx9t1DsbML16bLnDChPNBAt1Xrg6HaDkWdTVpfgVWB0OTz3ny8tPXxcG T/pMALa9Z52BCIPklf09kOTeGhg4+ttGml403j4QjsjNn98J8Or5oTPkUVH+HkN3bATQ uKzYV1EvqXuSWilDuyYf0qErdp6L95CALjIY7qbGoEc2wgju0TOaN8e8Gyhf1EsJuyu+ VEB40tG0HouTk9gWjDy21W5rPh7vtHAOJhsF2sqcvZEnCCYCLLkcq/bWC3pjlJQn7F7V I9FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787252895; x=1787857695; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=hpWItAlpq954MxVG2E0S7uqVlBXwoggdwApAJjsT5Ks=; b=Rqf2c4cy9CuEzBB/xpOAyEF3MrOi8hKnsFLG1le1/m/SD4awmIkOegDiEzDJMuHuhD R5y8nunomxh5ei9Vo1ik4Q9Y8ij6c6NMqPA/D8kdvhVIvQDqdxgaI2PYLexdRyraBg3w 1T7LzNcefCgN4FlSRxDQ2R/DsZiIPGthX+JkDNBG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47-4b2ef452ea9mr225735b6e.21.1787252895508; Thu, 20 Aug 2026 12:08:15 -0700 (PDT) Received: from [192.168.1.169] (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 5614622812f47-4b2d6ce0cb6sm2367235b6e.12.2026.08.20.12.08.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Aug 2026 12:08:14 -0700 (PDT) Message-ID: <01f0c3c4-9dbb-4d30-b718-41c636c4271d@baylibre.com> Date: Thu, 20 Aug 2026 14:08:13 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: drivers/gpu/drm/panel/panel-samsung-ld9040.c:240:12: warning: stack frame size (8344) exceeds limit (8192) in 'ld9040_prepare' To: kernel test robot Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Mark Brown , Jonathan Cameron , Nuno Sa References: <202608191043.9OK2y1fN-lkp@intel.com> Content-Language: en-US From: David Lechner In-Reply-To: <202608191043.9OK2y1fN-lkp@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 8/18/26 9:29 PM, kernel test robot wrote: > Hi David, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 3a0dd7ba4f44cdc116d83712f61e7c1a95be3588 > commit: 700a281905f2a4ccf6f3b2d3cd6985e034b4b021 spi: add offload TX/RX streaming APIs I fail to see how this commit could possibly be related to the compiler warning in ld9040_prepare() below. > date: 1 year, 6 months ago > config: x86_64-randconfig-003-20260819 (https://download.01.org/0day-ci/archive/20260819/202608191043.9OK2y1fN-lkp@intel.com/config) > compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project e9846648fd6183ee6d8cbdb4502213fcf902a211) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260819/202608191043.9OK2y1fN-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Fixes: 700a281905f2 ("spi: add offload TX/RX streaming APIs") > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202608191043.9OK2y1fN-lkp@intel.com/ > > All warnings (new ones prefixed by >>): > > In file included from :3: > In file included from include/linux/compiler_types.h:171: > include/linux/compiler-clang.h:28:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined] > 28 | #define __SANITIZE_ADDRESS__ > | ^ > :353:9: note: previous definition is here > 353 | #define __SANITIZE_ADDRESS__ 1 > | ^ >>> drivers/gpu/drm/panel/panel-samsung-ld9040.c:240:12: warning: stack frame size (8344) exceeds limit (8192) in 'ld9040_prepare' [-Wframe-larger-than] > 240 | static int ld9040_prepare(struct drm_panel *panel) > | ^ > 2 warnings generated. > > > vim +/ld9040_prepare +240 drivers/gpu/drm/panel/panel-samsung-ld9040.c > > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 239 > 099b3e8699322e drivers/gpu/drm/panel/panel-ld9040.c Ajay Kumar 2014-07-31 @240 static int ld9040_prepare(struct drm_panel *panel) > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 241 { > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 242 struct ld9040 *ctx = panel_to_ld9040(panel); > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 243 int ret; > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 244 > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 245 ret = ld9040_power_on(ctx); > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 246 if (ret < 0) > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 247 return ret; > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 248 > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 249 ld9040_init(ctx); > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 250 > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 251 ret = ld9040_clear_error(ctx); > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 252 > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 253 if (ret < 0) > 8141028278c2ea drivers/gpu/drm/panel/panel-ld9040.c Ajay Kumar 2014-07-31 254 ld9040_unprepare(panel); > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 255 > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 256 return ret; > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 257 } > ff219937763253 drivers/gpu/drm/panel/panel-ld9040.c Andrzej Hajda 2014-03-26 258 > > :::::: The code at line 240 was first introduced by commit > :::::: 099b3e8699322efb7229913d2c1651588205f182 drm/panel: ld9040: Add dummy prepare and unprepare routines > > :::::: TO: Ajay Kumar > :::::: CC: Thierry Reding > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki