IO resources: fix/remove printk
authorIngo Molnar <mingo@elte.hu>
Thu, 4 Sep 2008 19:26:06 +0000 (21:26 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Sep 2008 20:08:24 +0000 (22:08 +0200)
commit1cf44baad76b6f20f95ece397c6f643320aa44c9
tree8b501126d03eb2c977b4ffe506b5ecdea8ade4ff
parent268364a0f48aee2f851f9d1ef8a6cda0f3039ef1
IO resources: fix/remove printk

Andrew Morton noticed that the printk in kernel/resource.c was buggy:

| start and end have type resource_size_t.  Such types CANNOT be printed
| unless cast to a known type.
|
| Because there is a %s following an incorrect %lld, the above code will
| crash the machine.

... and it's probably quite unneeded as well, so remove it.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/resource.c