HID: the `bit' in hidinput_mapping_quirks() is an out parameter
authorFengguang Wu <wfg@mail.ustc.edu.cn>
Fri, 7 Dec 2007 08:35:14 +0000 (16:35 +0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 28 Jan 2008 13:51:22 +0000 (14:51 +0100)
commit70d215c4a7dfbddc138a2dd726d8f80f3e6d2622
tree68e38ea2f3f0df7a51b73e6d150b74a780c67a6e
parentc4124c9b68bf8ecf1e8afedad3a22e18666cb6f3
HID: the `bit' in hidinput_mapping_quirks() is an out parameter

Fix a panic, by changing
hidinput_mapping_quirks(,, unsigned long *bit,)
to
hidinput_mapping_quirks(,, unsigned long **bit,)

The `bit' in this function is an out parameter.

Signed-off-by: Fengguang Wu <wfg@mail.ustc.edu.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-input-quirks.c
drivers/hid/hid-input.c
include/linux/hid.h