]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
Staging: hv: hv_mouse: fix build warning
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 Mar 2011 03:08:05 +0000 (19:08 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 Mar 2011 03:08:05 +0000 (19:08 -0800)
commitc4e68fa9537cb8190ba542a93558730783e49cdf
treeda455cf34501c5dcafec724a9f342a27cb8ad59d
parent0ce815d54e55611e1567e17c08f57d1b2e0ab0d9
Staging: hv: hv_mouse: fix build warning

The trans_id variable (u64) was being incorrectly cast to a unsigned
long * when it should have just been unsigned long.

Fun with pointers, what a fricken mess, we need some real type safety
for these types of fields somehow...

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/hv_mouse.c