The time comparsion functions require arguments of type unsigned long
instead of (signed) long.
Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
 
 int temac_indirect_busywait(struct temac_local *lp)
 {
-       long end = jiffies + 2;
+       unsigned long end = jiffies + 2;
 
        while (!(temac_ior(lp, XTE_RDY0_OFFSET) & XTE_RDY0_HARD_ACS_RDY_MASK)) {
                if (time_before_eq(end, jiffies)) {
 
 /* Wait till MDIO interface is ready to accept a new transaction.*/
 int axienet_mdio_wait_until_ready(struct axienet_local *lp)
 {
-       long end = jiffies + 2;
+       unsigned long end = jiffies + 2;
        while (!(axienet_ior(lp, XAE_MDIO_MCR_OFFSET) &
                 XAE_MDIO_MCR_READY_MASK)) {
                if (time_before_eq(end, jiffies)) {
 
 
 static int xemaclite_mdio_wait(struct net_local *lp)
 {
-       long end = jiffies + 2;
+       unsigned long end = jiffies + 2;
 
        /* wait for the MDIO interface to not be busy or timeout
           after some time.