On Tue, 2022-10-25 at 15:34:24 UTC, Dan Carpenter wrote: > On 64 bit systems, the highest 32 bits of the "offset" variable are > not initialized. Also the existing code is not endian safe (it will > fail on big endian systems). Change the type of "offset" to a u32. > > Fixes: aec4d5f5ffd0 ("mtd: parsers: add TP-Link SafeLoader partitions table parser") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > Acked-by: Rafał Miłecki <rafal@xxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks. Miquel