]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: make "paranoia" ->handler check in ide_intr() more strict
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 6 Jan 2009 16:20:58 +0000 (17:20 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 6 Jan 2009 16:20:58 +0000 (17:20 +0100)
commit9600dcf1347d304cf4dff34ef50569d6584b6968
tree30923b41dbc75151efc676097af416a3af6d85a6
parentd6251d4488a361c93da2398818e1ec69cffb6073
ide: make "paranoia" ->handler check in ide_intr() more strict

If ->handler is set while it shouldn't be it indicates deep problems
so BUG_ON()-ning and preventing further damage is much more appropriate
than merely printing an error message.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c