Commit dce35dd2 authored by zhang jiao's avatar zhang jiao Committed by Mark Brown

spi: spidev_fdx: Fix the wrong format specifier

The unsigned int should use "%u" instead of "%d".
Signed-off-by: default avatarzhang jiao <zhangjiao2@cmss.chinamobile.com>
Link: https://patch.msgid.link/20240904073550.103618-1-zhangjiao2@cmss.chinamobile.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 8426899f
......@@ -99,7 +99,7 @@ static void dumpstat(const char *name, int fd)
return;
}
printf("%s: spi mode 0x%x, %d bits %sper word, %d Hz max\n",
printf("%s: spi mode 0x%x, %d bits %sper word, %u Hz max\n",
name, mode, bits, lsb ? "(lsb first) " : "", speed);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment