Re: [U-Boot] [PATCH v2 1/3] fastboot: Use const qualifier for char *part_name

2019-06-13 Thread Igor Opaniuk
On Thu, Jun 13, 2019 at 12:14 AM Sam Protsenko wrote: > > In fastboot_*_get_part_info() functions we can use stronger typing by > expecting const strings. > > Signed-off-by: Sam Protsenko > --- > drivers/fastboot/fb_mmc.c | 3 ++- > drivers/fastboot/fb_nand.c | 4 ++-- > include/fb_mmc.h

Re: [U-Boot] [PATCH v2 1/3] fastboot: Use const qualifier for char *part_name

2019-06-12 Thread Lukasz Majewski
On Thu, 13 Jun 2019 00:14:09 +0300 Sam Protsenko wrote: > In fastboot_*_get_part_info() functions we can use stronger typing by > expecting const strings. > > Signed-off-by: Sam Protsenko > --- > drivers/fastboot/fb_mmc.c | 3 ++- > drivers/fastboot/fb_nand.c | 4 ++-- > include/fb_mmc.h

[U-Boot] [PATCH v2 1/3] fastboot: Use const qualifier for char *part_name

2019-06-12 Thread Sam Protsenko
In fastboot_*_get_part_info() functions we can use stronger typing by expecting const strings. Signed-off-by: Sam Protsenko --- drivers/fastboot/fb_mmc.c | 3 ++- drivers/fastboot/fb_nand.c | 4 ++-- include/fb_mmc.h | 3 ++- include/fb_nand.h | 4 ++-- 4 files changed, 8 ins