[PATCH 2/2] acpi: dmar: make seg a uint16_t rather than an int
Colin King
colin.king at canonical.com
Fri Mar 2 09:30:58 UTC 2012
From: Colin Ian King <colin.king at canonical.com>
Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
src/acpi/dmar/dmar.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/acpi/dmar/dmar.c b/src/acpi/dmar/dmar.c
index baab3df..7fa1a60 100644
--- a/src/acpi/dmar/dmar.c
+++ b/src/acpi/dmar/dmar.c
@@ -128,7 +128,7 @@ static int read_pci_device_secondary_bus_number(const uint8_t seg,
}
static int acpi_parse_one_dev_scope(fwts_framework *fw,
- struct acpi_dev_scope *scope, const int seg)
+ struct acpi_dev_scope *scope, const uint16_t seg)
{
struct acpi_pci_path *path;
int count;
@@ -187,7 +187,7 @@ error:
}
static int acpi_parse_dev_scope(fwts_framework *fw,
- void *start, void *end, const int seg)
+ void *start, void *end, const uint16_t seg)
{
struct acpi_dev_scope *scope;
int ret;
--
1.7.9
More information about the fwts-devel
mailing list