Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 376767
b: refs/heads/master
c: a98d4f6
h: refs/heads/master
i:
  376765: a721c05
  376763: b5d2237
  376759: a392647
  376751: 74a18ba
  376735: 60eb624
  376703: 5e17a50
v: v3
  • Loading branch information
Wei Yongjun authored and Rafael J. Wysocki committed Jun 5, 2013
1 parent d162d9b commit e04abab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 780a6ec640a3fed671fc2c40e4dd30c03eca3ac3
refs/heads/master: a98d4f64a20b2b88697e7e08c871144a7e3f0ec4
7 changes: 4 additions & 3 deletions trunk/drivers/acpi/apei/ghes.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,13 +917,14 @@ static int ghes_probe(struct platform_device *ghes_dev)
break;
case ACPI_HEST_NOTIFY_EXTERNAL:
/* External interrupt vector is GSI */
if (acpi_gsi_to_irq(generic->notify.vector, &ghes->irq)) {
rc = acpi_gsi_to_irq(generic->notify.vector, &ghes->irq);
if (rc) {
pr_err(GHES_PFX "Failed to map GSI to IRQ for generic hardware error source: %d\n",
generic->header.source_id);
goto err_edac_unreg;
}
if (request_irq(ghes->irq, ghes_irq_func,
0, "GHES IRQ", ghes)) {
rc = request_irq(ghes->irq, ghes_irq_func, 0, "GHES IRQ", ghes);
if (rc) {
pr_err(GHES_PFX "Failed to register IRQ for generic hardware error source: %d\n",
generic->header.source_id);
goto err_edac_unreg;
Expand Down

0 comments on commit e04abab

Please sign in to comment.