Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367580
b: refs/heads/master
c: f084dbb
h: refs/heads/master
v: v3
  • Loading branch information
Yinghai Lu authored and Rafael J. Wysocki committed Mar 24, 2013
1 parent 24214b2 commit ac03cb7
Show file tree
Hide file tree
Showing 4 changed files with 5 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: eccc534378e74030b31cfe10f1188df06f7f680a
refs/heads/master: f084dbb939070281be7c882db63a4a428c51fcf4
1 change: 1 addition & 0 deletions trunk/drivers/acpi/pci_link.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ static int acpi_pci_link_set(struct acpi_pci_link *link, int irq)

}
resource->end.type = ACPI_RESOURCE_TYPE_END_TAG;
resource->end.length = sizeof(struct acpi_resource);

/* Attempt to set the resource */
status = acpi_set_current_resources(link->device->handle, &buffer);
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/platform/x86/sony-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -4121,7 +4121,7 @@ static int sony_pic_enable(struct acpi_device *device,
resource->res3.data.irq.sharable = ACPI_SHARED;

resource->res4.type = ACPI_RESOURCE_TYPE_END_TAG;

resource->res4.length = sizeof(struct acpi_resource);
}
/* setup Type 2/3 resources */
else {
Expand All @@ -4140,6 +4140,7 @@ static int sony_pic_enable(struct acpi_device *device,
resource->res2.data.irq.sharable = ACPI_SHARED;

resource->res3.type = ACPI_RESOURCE_TYPE_END_TAG;
resource->res3.length = sizeof(struct acpi_resource);
}

/* Attempt to set the resource */
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/pnp/pnpacpi/rsparser.c
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ int pnpacpi_build_resource_template(struct pnp_dev *dev,
}
/* resource will pointer the end resource now */
resource->type = ACPI_RESOURCE_TYPE_END_TAG;
resource->length = sizeof(struct acpi_resource);

return 0;
}
Expand Down

0 comments on commit ac03cb7

Please sign in to comment.