Fix kernel/softirq.c printk format warning properly
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 22:32:46 +0000 (15:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 22:32:46 +0000 (15:32 -0700)
commit1c95e1b69073cff5ff179e592fa1a1e182c78a17
tree3fc9d1f665f66beb24d66b3ea65d2b5fdd7a1878
parente533b227055598b1f7dc8503a3b4f36b14b9da8a
Fix kernel/softirq.c printk format warning properly

This fixes the broken 77af7e3403e7314c47b0c07fbc5e4ef21d939532
("softirq, warning fix: correct a format to avoid a warning") fix
correctly.

The type of a pointer subtraction is not "int", nor is it "long".  It
can be either (or something else).  It's "ptrdiff_t", and the printk
format for it is "%td".

Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/softirq.c