From patchwork Mon Sep 11 19:41:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helge Deller X-Patchwork-Id: 9947975 X-Patchwork-Delegate: deller@gmx.de Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 18E766024A for ; Mon, 11 Sep 2017 19:41:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04EFC28D2B for ; Mon, 11 Sep 2017 19:41:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED28128D30; Mon, 11 Sep 2017 19:41:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17DC128D2B for ; Mon, 11 Sep 2017 19:41:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751119AbdIKTlu (ORCPT ); Mon, 11 Sep 2017 15:41:50 -0400 Received: from mout.gmx.net ([212.227.17.21]:51863 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbdIKTlt (ORCPT ); Mon, 11 Sep 2017 15:41:49 -0400 Received: from ls3530.fritz.box ([193.159.25.24]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MY3Ho-1dvo0v0dqy-00UqxC; Mon, 11 Sep 2017 21:41:45 +0200 Date: Mon, 11 Sep 2017 21:41:43 +0200 From: Helge Deller To: Meelis Roos Cc: linux-parisc@vger.kernel.org, Linux Kernel list Subject: Re: fs/select.c:991:1: warning: the frame size of 1032 bytes is larger than 1024 bytes Message-ID: <20170911194143.GA17131@ls3530.fritz.box> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-Provags-ID: V03:K0:1luLx1twmzdTNJ81pI2nHKeXib/B7itlGmms/W3YGuBIaa3ymdk G5tetmvoCbFjwl+VcpF9k8lECeFiV8ZVrhAmdlwFJupwN8XHVuWmMwUsIsdPwW0+gX7CGuJ ogMNAE5k1xSzkzX8ekPuz9xPbKeSVmv80eRDjTgFByNf6mRjBs+N0JRRmMdfBW2F1d7+9qa bhk1lhxJTYzckedMYchRA== X-UI-Out-Filterresults: notjunk:1; V01:K0:tuQ+3fZD5fY=:duVCHTpQjdP/2N/gSgT3TB KYTZLnQ3ZsJcakrC1FU+GXEOHjb/iUPrL3xAnxl4qJiwUAbYkSSmLNSOTMhuw5HuNT8kwycpW lMFawPKkSsKMrpQFnbZfbJS17JMpjtYEmWpW9liSzppX5KoHAf2mtx+6NGuToiAXSL5cX4KIQ PhuPwHjA9kZuCy1Ce2vHFa8a2ThNhv47l0X9TuqSXrOVvvtVnj4jQEnPcM/TUZUF6goq1QCyY 8t+wtEYeYsQp2mj5tSurEmThcAIr7IVUA4y9ENSEmRlCQuY+DCCletrTHiJ8soZNoW8w9sj0U 4gZxA3+GNJ8LQFURuSrpn9iTTrNTsqD28bjoqGsfDWO1/Gss19WRtfozN4kqpeHBjizI3jb18 GSp4VoCXzs9l1WRR79xbRBGFyOUR3QA+S10T1L8v1YoK7omXHr4q8Qw4zPaLq7UIsWgoefl3F uwojXg54GgQ8BFgsEOmVgnjzA9n7KuGct4O00YmQOM7t6CcwoibiM/iTxy13lEf48gq4qo9Ex shoCDE7P2vsAUAjwnleaHyoqwHGg4vlDuCy6qfpkihWbu6wtYiESD4bcJEkqTIohV5gOb2SI7 6RGrsT+B6mH9y3v5Uoz5G7y5De9zOigYBBCyvP8UDxki6iEKXNpJhjKYUrvv5DjtA/OlsucFU CggMIgAzGGSNjgyVGbE1EuYxoPmPL1H/HAU7SpL69SapnJnvYtFvdE6pVigIB3K4T8sOonysy Cu0l5rImpKTdEMDlTsg5hzA9XaWDqsOsAhOxnXtLV3aOl6+MMsAK00Uo6eTHuXErTG6T5fUSN aF004PArLkmG/xG++9KSmYYcBfrOA== Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP * Meelis Roos : > fs/select.c:991:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=] > arch/parisc/kernel/inventory.c:359:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] Meelis, this patch should fix both issues. Can you test? Helge [PATCH] parisc: Fix too large frame size warnings The parisc architecture requires larger stack frames than most other architectures on 32-bit kernels. Increase the default to 1280 bytes for parisc to avoid warnings in do_sys_poll() and pat_memconfig() functions. Signed-off-by: Helge Deller --- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index b19c491cbc4e..2689b7c50c52 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -219,7 +219,8 @@ config FRAME_WARN range 0 8192 default 0 if KASAN default 2048 if GCC_PLUGIN_LATENT_ENTROPY - default 1024 if !64BIT + default 1280 if (!64BIT && PARISC) + default 1024 if (!64BIT && !PARISC) default 2048 if 64BIT help Tell gcc to warn at build time for stack frames larger than this.