arch: cxd56xx: hostif: Remove -Wformat-truncation warnings
Remove -Wformat-truncation warnings in cxd56_hostif.c.
This commit is contained in:
parent
52cbfcf3bd
commit
2060f7be60
@ -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++)
|
||||||
|
Loading…
Reference in New Issue
Block a user