Re: [PATCH] mtd: rawnand: gpmi: fix dst bit offset when extracting raw payload

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

 





On 04/01/2021 11.35, Miquel Raynal wrote:
On Mon, 2020-12-21 at 10:00:13 UTC, Sean Nyekjaer wrote:
Re-add the multiply by 8 to "step * eccsize" to correct the destination bit offset
when extracting the data payload in gpmi_ecc_read_page_raw().

Fixes: e5e5631cc889 ("mtd: rawnand: gpmi: Use nand_extract_bits()")
Cc: stable@xxxxxxxxxxxxxxx
Reported-by: Martin Hundebøll <martin@xxxxxxxxxx>
Signed-off-by: Sean Nyekjaer <sean@xxxxxxxxxx>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel
Hi Miquel

Will you please queue this for fixes? It's quite relevant for 5.10 LTS :)

Best regards
Sean Nyekjaer



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux