Skip to content

Commit

Permalink
ATM: horizon, fix hrz_probe fail path
Browse files Browse the repository at this point in the history
One fail path in hrz_probe omitted device disable. Fix it.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jiri Slaby authored and David S. Miller committed Nov 30, 2008
1 parent e635813 commit aac725c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/atm/horizon.c
Original file line number Diff line number Diff line change
Expand Up @@ -2705,7 +2705,7 @@ static int __devinit hrz_probe(struct pci_dev *pci_dev, const struct pci_device_

/* XXX DEV_LABEL is a guess */
if (!request_region(iobase, HRZ_IO_EXTENT, DEV_LABEL)) {
return -EINVAL;
err = -EINVAL;
goto out_disable;
}

Expand Down

0 comments on commit aac725c

Please sign in to comment.