Skip to content

Commit 74b4630

Browse files
zhang jiaotsbogend
zhang jiao
authored andcommitted
TC: Fix the wrong format specifier
The format specifier of "unsigned int" in pr_info() should be "%u", not "%d". Signed-off-by: zhang jiao <[email protected]> Acked-by: Maciej W. Rozycki <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent c4a0a4a commit 74b4630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/tc/tc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ static int __init tc_init(void)
162162
if (tc_bus.info.slot_size) {
163163
unsigned int tc_clock = tc_get_speed(&tc_bus) / 100000;
164164

165-
pr_info("tc: TURBOchannel rev. %d at %d.%d MHz "
165+
pr_info("tc: TURBOchannel rev. %d at %u.%u MHz "
166166
"(with%s parity)\n", tc_bus.info.revision,
167167
tc_clock / 10, tc_clock % 10,
168168
tc_bus.info.parity ? "" : "out");

0 commit comments

Comments
 (0)