[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.1.10.0902171403090.18110@jikos.suse.cz>
Date: Tue, 17 Feb 2009 14:04:30 +0100 (CET)
From: Jiri Kosina <jkosina@...e.cz>
To: Jiri Slaby <jirislaby@...il.com>
Cc: linux-input@...r.kernel.org, nyet@....com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] HID: fix bus handling in scripts/mod/file2alias.c
On Tue, 17 Feb 2009, jirislaby@...il.com wrote:
> From: Jiri Slaby <jirislaby@...il.com>
>
> Fix endianness of bus member of hid_device_id in modpost.
>
> Signed-off-by: Jiri Slaby <jirislaby@...il.com>
> Reported-by: Nye Liu <nyet@....com>
> Cc: Jiri Kosina <jkosina@...e.cz>
> ---
> scripts/mod/file2alias.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/scripts/mod/file2alias.c b/scripts/mod/file2alias.c
> index 82a1011..a334428 100644
> --- a/scripts/mod/file2alias.c
> +++ b/scripts/mod/file2alias.c
> @@ -210,6 +210,7 @@ static void do_usb_table(void *symval, unsigned long size,
> static int do_hid_entry(const char *filename,
> struct hid_device_id *id, char *alias)
> {
> + id->bus = TO_NATIVE(id->bus);
> id->vendor = TO_NATIVE(id->vendor);
> id->product = TO_NATIVE(id->product);
Good catch, applied, thanks.
--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists