]> bbs.cooldavid.org Git - net-next-2.6.git/commit
floppy: use warning macros
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 15 Jun 2010 11:21:11 +0000 (13:21 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:15:43 +0000 (18:15 +0200)
commit01b6b67edabe864391163dc6405e2cb454f108db
tree0becf9407f37302cb86ffd5021eae684d5841873
parentb862f26fe17df273167bd47df79e8742a1bf101c
floppy: use warning macros

Convert assertions to use WARN().  There are several error checks in the
code for things that should never happen.  Convert them to standard
warnings so kerneloops.org will see them.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/floppy.c