Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53382
b: refs/heads/master
c: 9890b12
h: refs/heads/master
v: v3
  • Loading branch information
Michael Ellerman authored and Greg Kroah-Hartman committed May 3, 2007
1 parent c499313 commit 9b1673e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c0affe9db42bf85f4a606b3262c35ec59a5d3788
refs/heads/master: 9890b12a4a65a7b3181dd963421740edf0e14d69
4 changes: 3 additions & 1 deletion trunk/drivers/pci/pci-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ int __must_check pci_create_sysfs_dev_files (struct pci_dev *pdev)
goto err_rom;
} else {
retval = -ENOMEM;
goto err_bin_file;
goto err_resource_files;
}
}
/* add platform-specific attributes */
Expand All @@ -646,6 +646,8 @@ int __must_check pci_create_sysfs_dev_files (struct pci_dev *pdev)

err_rom:
kfree(rom_attr);
err_resource_files:
pci_remove_resource_files(pdev);
err_bin_file:
if (pdev->cfg_size < 4096)
sysfs_remove_bin_file(&pdev->dev.kobj, &pci_config_attr);
Expand Down

0 comments on commit 9b1673e

Please sign in to comment.