mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 09:16:33 +00:00
spi: spidev_fdx: Fix the wrong format specifier
The unsigned int should use "%u" instead of "%d". Signed-off-by: zhang jiao <zhangjiao2@cmss.chinamobile.com> Link: https://patch.msgid.link/20240904073550.103618-1-zhangjiao2@cmss.chinamobile.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
8426899ff6
commit
dce35dd276
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user