commit | d30a426dc5fd8801dbd05485788a001de623d487 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | Mon Feb 11 00:32:12 2008 +0100 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Mon Feb 11 00:32:12 2008 +0100 |
tree | 208b400c9d42ffef8a8ee811ef057f88fc28d623 | |
parent | cb777922c3a15ccbea4c02bed401e030f195aaea [diff] |
ide: insert BUG_ON() into __ide_set_handler() (take 2) Replace the check for hwgroup->handler and printk(KERN_CRIT, ...) at the start of __ide_set_handler() with mere BUG_ON() while removing such from the caller, ide_execute_command(). Fix up the code formatting, while at it... Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>