1

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:
zhang jiao 2024-09-04 15:35:50 +08:00 committed by Mark Brown
parent 8426899ff6
commit dce35dd276
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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);
}