Skip to content

Commit

Permalink
parisc: fixed faulty check in lba_pci
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stoyan Gaydarov authored and Helge Deller committed Aug 2, 2009
1 parent 447c233 commit 450d6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/parisc/lba_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 450d6e3

Please sign in to comment.