summaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2010-05-11 00:08:03 -0700
committerDavid S. Miller <davem@davemloft.net>2010-05-11 00:08:03 -0700
commita9ddabc52ce3757a4331d6c1e8bf4065333cc51b (patch)
tree3ed67e857fe0b729aed9b466ea5827e9c8e0114a /include/linux/ide.h
parentf693be4d8a00431b53a59d74aefdb3f7ae92f662 (diff)
downloadop-kernel-dev-a9ddabc52ce3757a4331d6c1e8bf4065333cc51b.zip
op-kernel-dev-a9ddabc52ce3757a4331d6c1e8bf4065333cc51b.tar.gz
cmd640: fix kernel oops in test_irq() method
When implementing the test_iqr() method, I forgot that this driver is not an ordinary PCI driver and also needs to support VLB variant of the chip. Moreover, 'hwif->dev' should be NULL, potentially causing oops in pci_read_config_byte(). Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ide.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud