]> git.baikalelectronics.ru Git - kernel.git/commit
sgiioc4: add missing ->dma_base check
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 13 Oct 2007 15:47:52 +0000 (17:47 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 13 Oct 2007 15:47:52 +0000 (17:47 +0200)
commit558857bc520791ce247d31080a6110d241c5a444
tree2f021637a5e90ea01e3ad0aad24d39552ae89916
parentb70279e94de8de141b522561d4ad50f1cac371d9
sgiioc4: add missing ->dma_base check

If ->dma_base is not set (== PCI BAR4 cannot be reserved) then DMA hooks
shouldn't be initialized or bad things will happen.

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