arch: cxd56xx: hostif: Remove -Wformat-truncation warnings

Remove -Wformat-truncation warnings in cxd56_hostif.c.
This commit is contained in:
SPRESENSE 2022-10-20 22:30:37 +09:00 committed by Petro Karashchenko
parent 52cbfcf3bd
commit 2060f7be60

View File

@ -371,7 +371,7 @@ static int hif_initialize(struct hostif_buff_s *buffer)
{ {
struct cxd56_hifdrv_s *drv = &g_hifdrv; struct cxd56_hifdrv_s *drv = &g_hifdrv;
struct cxd56_hifdev_s *priv; struct cxd56_hifdev_s *priv;
char devpath[16]; char devpath[32];
int num; int num;
int ret; int ret;
@ -576,7 +576,7 @@ int hostif_uninitialize(void)
{ {
struct cxd56_hifdrv_s *drv = &g_hifdrv; struct cxd56_hifdrv_s *drv = &g_hifdrv;
struct cxd56_hifdev_s *priv; struct cxd56_hifdev_s *priv;
char devpath[16]; char devpath[32];
int num; int num;
for (num = 0; num < drv->ndev; num++) for (num = 0; num < drv->ndev; num++)