Searched hist:"7 a13c786fea0ce3e6b583d8e3eefc15875abe2b1" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/ |
| H A D | mtd_uboot.c | 7a13c786fea0ce3e6b583d8e3eefc15875abe2b1 Sun Dec 02 09:54:28 UTC 2018 Boris Brezillon <boris.brezillon@bootlin.com> UPSTREAM: mtd: Make sure the name passed in mtdparts fits in mtd_name[]
The local mtd_name[] variable is limited in size. Return an error if the name passed in mtdparts does not fit in this local var.
Fixes: 5db66b3aee6f ("cmd: mtd: add 'mtd' command") Change-Id: I42886a7579c0550a2bf1913cf390a19d9b21e825 Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Tested-by: Heiko Schocher <hs@denx.de> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 772aa9799353d1d6bd6d9e2682945d4d7122539a)
|