Fix a compile warning in the s2io driver. It's caused because u64 is
unsigned long on PPC64 not unsigned long long.

Signed-off-by: Michael Ellerman <[EMAIL PROTECTED]>
---

Index: work/drivers/net/s2io.c
===================================================================
--- work.orig/drivers/net/s2io.c
+++ work/drivers/net/s2io.c
@@ -2506,7 +2506,8 @@ static int s2io_set_swapper(nic_t * sp)
                }
                if(i == 4) {
                        DBG_PRINT(ERR_DBG, "Write failed, Xmsi_addr ");
-                       DBG_PRINT(ERR_DBG, "reads:0x%llx\n",val64);
+                       DBG_PRINT(ERR_DBG, "reads:0x%llx\n",
+                                       (unsigned long long)val64);
                        return FAILURE;
                }
        }
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to