ide-cd: Improve "weird block size" error message
authorFrans Pop <elendil@planet.nl>
Tue, 23 Jun 2009 23:02:58 +0000 (16:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jun 2009 07:32:31 +0000 (00:32 -0700)
commitd9ae62433e46909fc9e7d97ce74202c2851667b8
tree3d567816d2791e31e2fcfd53c54e2ea90223a69e
parentaf054ed0018f0a69f8ea6f7546cbf34385edf13b
ide-cd: Improve "weird block size" error message

Currently the error gets repeated too frequently, for example each
time HAL polls the device when a disc is present. Avoid that by using
printk_once instead of printk.

Also join the error and corrective action messages into a single line.

Signed-off-by: Frans Pop <elendil@planet.nl>
Acked-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-cd.c