Re: [PATCH] i2c: core: Allocate temporary client dynamically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

As Arnd mentioned, this is basically a revert of 735668f8e5c9.
Applied to for-current, thanks!

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux