From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:57182 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751472AbdEDW1K (ORCPT ); Thu, 4 May 2017 18:27:10 -0400 Date: Thu, 4 May 2017 15:27:01 -0700 From: Greg KH To: Arnd Bergmann Cc: stable@vger.kernel.org Subject: Re: [PATCH 01/13] [3.18-stable] ARM: cns3xxx: shut up frame size warning Message-ID: <20170504222701.GA4856@kroah.com> References: <20170504205209.498721-1-arnd@arndb.de> <20170504205209.498721-2-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170504205209.498721-2-arnd@arndb.de> Sender: stable-owner@vger.kernel.org List-ID: On Thu, May 04, 2017 at 10:51:57PM +0200, Arnd Bergmann wrote: > This shuts up a warning in the 3.18-stable series that has been fixed > in newer kernels with commit 498a92d42596 ("ARM: cns3xxx: pci: avoid > potential stack overflow"): > > arch/arm/mach-cns3xxx/pcie.c: In function 'cns3xxx_pcie_hw_init': > arch/arm/mach-cns3xxx/pcie.c:313:1: error: the frame size of 1080 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] > > The fix that went into v4.4 is known to be buggy and was later > fixed again with commit 88e9da9a2a70 ("CNS3xxx: Fix PCI > cns3xxx_write_config()"). While we could backport both to 3.18, > they are fairly invasive and the warning is definitely harmless > here as the call chain is known to not overflow the stack of the > init task. > > This simply adds a Makefile flag to extend the limit for this one > file. > > Signed-off-by: Arnd Bergmann > --- > We do want 88e9da9a2a70 ("CNS3xxx: Fix PCI cns3xxx_write_config()") > backported into v4.4 though. That's already there, thanks. greg k-h