Input: psmouse - fix attribute access on 64-bit systems
authorSergey Vlasov <vsu@altlinux.ru>
Thu, 9 Nov 2006 05:34:27 +0000 (00:34 -0500)
committerDmitry Torokhov <dtor@insightbb.com>
Thu, 9 Nov 2006 05:34:27 +0000 (00:34 -0500)
commiteb5d5829b368c5e32f248a70797bee5a414a2ef0
tree5c65bfd305a720f0d9802f4a086a09e129091b91
parent721556150e397f606a3f029736d77a27503f94e2
Input: psmouse - fix attribute access on 64-bit systems

psmouse_show_int_attr() and psmouse_set_int_attr() were accessing
unsigned int fields as unsigned long, which gave garbage on x86_64.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/psmouse-base.c