[PATCH] ide: cast arguments to pr_debug() properly
authorMichael Richardson <mcr@sandelman.ottawa.on.ca>
Tue, 7 Feb 2006 20:58:33 +0000 (12:58 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Feb 2006 00:12:31 +0000 (16:12 -0800)
commitc2f8311d3168ed7d391ba5df5b80f4af0a3457d0
tree08d9638a748da146d3d91cce2a64555aa9670282
parentcbd0d51a3318583fabf03bccc7a987e158482361
[PATCH] ide: cast arguments to pr_debug() properly

This does not show up unless you #define DEBUG in the file, which most
people wouldn't do.  On PPC405, at least, "sector_t" is unsigned long,
which doesn't match %llx/%llu.  Since sector# may well be >32 bits, promote
the value to match the format.

Signed-off-by: Michael Richardson <mcr@xelerance.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/ide-disk.c