lkml.org 
[lkml]   [2009]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 045/114] HID: fix bus endianity in file2alias
    2.6.28-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Jiri Slaby <jirislaby@gmail.com>

    commit 2b639386a2a26c84c8d26c649cf657ebd43a7bc8 upstream.

    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>
    Signed-off-by: Jiri Kosina <jkosina@suse.cz>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    scripts/mod/file2alias.c | 1 +
    1 file changed, 1 insertion(+)

    --- a/scripts/mod/file2alias.c
    +++ b/scripts/mod/file2alias.c
    @@ -210,6 +210,7 @@ static void do_usb_table(void *symval, u
    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);




    \
     
     \ /
      Last update: 2009-03-14 02:41    [W:0.020 / U:1.252 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site