mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +00:00
6c0a15a3dc
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@oracle.com> Acked-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/Y1gCALFWXYYwqV1P@kili |
||
---|---|---|
.. | ||
afs.c | ||
ar7part.c | ||
bcm47xxpart.c | ||
bcm63xxpart.c | ||
brcm_u-boot.c | ||
cmdlinepart.c | ||
Kconfig | ||
Makefile | ||
ofpart_bcm4908.c | ||
ofpart_bcm4908.h | ||
ofpart_core.c | ||
ofpart_linksys_ns.c | ||
ofpart_linksys_ns.h | ||
parser_imagetag.c | ||
parser_trx.c | ||
qcomsmempart.c | ||
redboot.c | ||
scpart.c | ||
sharpslpart.c | ||
tplink_safeloader.c |