linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Kosina <jkosina@suse.cz>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: linux-input@vger.kernel.org, nyet@mrv.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] HID: fix bus handling in scripts/mod/file2alias.c
Date: Tue, 17 Feb 2009 14:04:30 +0100 (CET)	[thread overview]
Message-ID: <alpine.LNX.1.10.0902171403090.18110@jikos.suse.cz> (raw)
In-Reply-To: <1234870528-24562-1-git-send-email-jirislaby@gmail.com>

On Tue, 17 Feb 2009, jirislaby@gmail.com wrote:

> From: Jiri Slaby <jirislaby@gmail.com>
> 
> Fix endianness of bus member of hid_device_id in modpost.
> 
> Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
> Reported-by: Nye Liu <nyet@mrv.com>
> Cc: Jiri Kosina <jkosina@suse.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

      reply	other threads:[~2009-02-17 13:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17 11:35 [PATCH 1/1] HID: fix bus handling in scripts/mod/file2alias.c jirislaby
2009-02-17 13:04 ` Jiri Kosina [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.1.10.0902171403090.18110@jikos.suse.cz \
    --to=jkosina@suse.cz \
    --cc=jirislaby@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nyet@mrv.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).