From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:33826 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751599AbdJ0HvK (ORCPT ); Fri, 27 Oct 2017 03:51:10 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: [v4,2/9] brcmsmac: split up wlc_phy_workarounds_nphy From: Kalle Valo In-Reply-To: <20170922212930.620249-3-arnd@arndb.de> References: <20170922212930.620249-3-arnd@arndb.de> To: Arnd Bergmann Cc: Arend van Spriel , Franky Lin , Hante Meuleman , Chi-Hsien Lin , Wright Feng , Arnd Bergmann , Mauro Carvalho Chehab , Jiri Pirko , "David S. Miller" , Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Masahiro Yamada , Michal Marek , Andrew Morton , Kees Cook , Geert Uytterhoeven , Greg Kroah-Hartman , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, brcm80211-dev-list@cypress.com, kasan-dev@googlegroups.com, linux-kbuild@vger.kernel.org, Jakub Jelinek , =?UTF-8?q?Martin=20Li=C5=A1ka?= Message-Id: <20171027075109.6D3CE605A8@smtp.codeaurora.org> (sfid-20171027_095140_518612_60F01178) Date: Fri, 27 Oct 2017 07:51:09 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: Arnd Bergmann wrote: > The stack consumption in this driver is still relatively high, with one > remaining warning if the warning level is lowered to 1536 bytes: > > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c:17135:1: error: the frame size of 1880 bytes is larger than 1536 bytes [-Werror=frame-larger-than=] > > The affected function is actually a collection of three separate implementations, > and each of them is fairly large by itself. Splitting them up is done easily > and improves readability at the same time. > > I'm leaving the original indentation to make the review easier. > > Acked-by: Arend van Spriel > Signed-off-by: Arnd Bergmann 2 patches applied to wireless-drivers-next.git, thanks. 0425f079590c brcmsmac: split up wlc_phy_workarounds_nphy ad1987d67392 brcmsmac: reindent split functions -- https://patchwork.kernel.org/patch/9967141/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches