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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 B4C10C388F7 for ; Sun, 25 Oct 2020 19:23:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6B0A22223C for ; Sun, 25 Oct 2020 19:23:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1418515AbgJYTXZ (ORCPT ); Sun, 25 Oct 2020 15:23:25 -0400 Received: from smtprelay0069.hostedemail.com ([216.40.44.69]:50434 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1418507AbgJYTXZ (ORCPT ); Sun, 25 Oct 2020 15:23:25 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id DFF89100E7B42; Sun, 25 Oct 2020 19:23:23 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: view04_0705c4a2726d X-Filterd-Recvd-Size: 1750 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf10.hostedemail.com (Postfix) with ESMTPA; Sun, 25 Oct 2020 19:23:22 +0000 (UTC) Message-ID: <7e76d1c3239bf2d33889c4874bc9919fee6b6ebe.camel@perches.com> Subject: Re: drivers/video/backlight/ltv350qv.c:192:12: warning: stack frame size of 13472 bytes in function 'ltv350qv_power' From: Joe Perches To: Andrew Morton , 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 Date: Sun, 25 Oct 2020 12:23:21 -0700 In-Reply-To: <20201025121708.04d4070a44e28146baf9a6a7@linux-foundation.org> References: <202010260230.VivTG0Gb-lkp@intel.com> <20201025121708.04d4070a44e28146baf9a6a7@linux-foundation.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2020-10-25 at 12:17 -0700, Andrew Morton wrote: > On Mon, 26 Oct 2020 02:15:37 +0800 kernel test robot wrote: > > 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()? There's a lot of stack used when gcc's compiler options include -fsanitize=object-size This option enables instrumentation of memory references using the "__builtin_object_size" function. Various out of bounds pointer accesses are detected. Perhaps this config enables it?