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 <[email protected]>
Cc: K. Y. Srinivasan <[email protected]>
Cc: Haiyang Zhang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
return;
}
- request = (void *)(unsigned long *)Packet->trans_id;
+ request = (void *)(unsigned long)Packet->trans_id;
if (request == &inputDevice->ProtocolReq) {
/* FIXME */