]> git.karo-electronics.de Git - linux-beck.git/commitdiff
parisc: fixed faulty check in lba_pci
authorStoyan Gaydarov <sgayda2@uiuc.edu>
Thu, 30 Jul 2009 10:25:19 +0000 (10:25 +0000)
committerHelge Deller <deller@gmx.de>
Sun, 2 Aug 2009 10:35:40 +0000 (12:35 +0200)
This patche fixes a spelling error that has resulted from copy and pasting.
The location of the error was found using a semantic patch but the semantic
patch was not trying to find these errors. After looking things over it
seemed logical that this change was needed.

Signed-off-by: Stoyan Gaydarov <sgayda2@uiuc.edu>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/lba_pci.c

index ede614616f8efbb4b3ca20149ed73c0b877c37ba..3aeb3279c92ab976d62fad84223442e441225963 100644 (file)
@@ -992,7 +992,7 @@ lba_pat_resources(struct parisc_device *pa_dev, struct lba_device *lba_dev)
                return;
 
        io_pdc_cell = kzalloc(sizeof(pdc_pat_cell_mod_maddr_block_t), GFP_KERNEL);
-       if (!pa_pdc_cell) {
+       if (!io_pdc_cell) {
                kfree(pa_pdc_cell);
                return;
        }