[PATCH 2/2] acpi: dmar: make seg a uint16_t rather than an int
Alex Hung
alex.hung at canonical.com
Wed Mar 7 13:19:27 UTC 2012
On 12-03-02 05:30 PM, Colin King wrote:
> 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;
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list