fastboot: Replace literal 32 with PART_NAME_LEN
authorAlex Kiernan <alex.kiernan@gmail.com>
Tue, 9 Apr 2019 05:30:05 +0000 (05:30 +0000)
committerMarek Vasut <marex@denx.de>
Sun, 21 Apr 2019 08:26:52 +0000 (10:26 +0200)
commitb762aa126e648fa9bc62fc8997b01a4a73089367
tree238153a7aa77e7ae6ab2344f5a5329d6fd953253
parent6fe7dd3327d552bacf4266d7f1ed074bf98ffb92
fastboot: Replace literal 32 with PART_NAME_LEN

Where we have to compute partition names, rather than using a hardcoded
32 for the partition name length, replace with PART_NAME_LEN.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Reviewed-by: Eugeniu Rosca <rosca.eugeniu@gmail.com>
drivers/fastboot/fb_mmc.c