[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdXe5PZ-XeU678VxWgWbT8CRcUJgPRQk0pEO49_nnPhFew@mail.gmail.com>
Date: Wed, 22 Jun 2022 09:14:05 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Sasha Levin <sashal@...nel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
stable <stable@...r.kernel.org>,
Brad Bishop <bradleyb@...ziesquirrel.com>,
Eddie James <eajames@...ux.ibm.com>,
Joel Stanley <joel@....id.au>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Kees Cook <keescook@...omium.org>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Ralph Siemsen <ralph.siemsen@...aro.org>
Subject: Re: [PATCH AUTOSEL 5.17 05/20] eeprom: at25: Split reads into chunks
and cap write size
Hi Sasha,
On Tue, Jun 21, 2022 at 11:02 PM Sasha Levin <sashal@...nel.org> wrote:
> From: Brad Bishop <bradleyb@...ziesquirrel.com>
>
> [ Upstream commit 0a35780c755ccec097d15c6b4ff8b246a89f1689 ]
>
> Make use of spi_max_transfer_size to avoid requesting transfers that are
> too large for some spi controllers.
>
> Signed-off-by: Brad Bishop <bradleyb@...ziesquirrel.com>
> Signed-off-by: Eddie James <eajames@...ux.ibm.com>
> Signed-off-by: Joel Stanley <joel@....id.au>
> Link: https://lore.kernel.org/r/20220524215142.60047-1-eajames@linux.ibm.com
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Signed-off-by: Sasha Levin <sashal@...nel.org>
Please drop this, as it breaks operation on devices that don't need
the split, and may cause a buffer overflow on those that do.
https://lore.kernel.org/r/7ae260778d2c08986348ea48ce02ef148100e088.1655817534.git.geert+renesas@glider.be/
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists