[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z7mZQRQhis-DHRFP@shikoro>
Date: Sat, 22 Feb 2025 10:30:41 +0100
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Su Hui <suhui@...china.com>, linux-i2c@...r.kernel.org,
linux-renesas-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: core: Allocate temporary client dynamically
On Thu, Feb 20, 2025 at 04:12:12PM +0100, Geert Uytterhoeven wrote:
> drivers/i2c/i2c-core-base.c: In function ‘i2c_detect.isra’:
> drivers/i2c/i2c-core-base.c:2544:1: warning: the frame size of 1312 bytes is larger than 1024 bytes [-Wframe-larger-than=]
> 2544 | }
> | ^
>
> Fix this by allocating the temporary client structure dynamically, as it
> is a rather large structure (1216 bytes, depending on kernel config).
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
As Arnd mentioned, this is basically a revert of 735668f8e5c9.
Applied to for-current, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists