net: rtl8169: Build warning fixes for 64-bit
authorThierry Reding <treding@nvidia.com>
Fri, 20 Mar 2015 11:41:21 +0000 (12:41 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 20 Apr 2015 22:57:11 +0000 (17:57 -0500)
commit744152f8cf426ee939fc469925ebafca89fe14d5
tree0544cbf8790c566e44d1164b82b7e9202aa4825e
parent3cee1388927015fc96edcd6e3ed707cb3a5fa26b
net: rtl8169: Build warning fixes for 64-bit

Turn ioaddr into an unsigned long rather than a sized 32-bit variable.
While at it, fix a couple of pointer to integer cast size mismatch
warnings by casting through unsigned long going from pointers to
integers and vice versa.

Cc: Joe Hershberger <joe.hershberger@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/rtl8169.c