[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

printf warning in gnumach

From: Pietro Braione
Subject: printf warning in gnumach
Date: Mon, 1 Sep 2014 10:47:18 +0200

Hello; my first (extremely small) contribution, just to understand how to 
report bugs and propose patches. I am addressing build warnings in gnumach, and 
this patch fixes a printf format warning in the sundance Linux driver. Let me 
know if the submission format is correct.

diff --git a/linux/src/drivers/net/sundance.c b/linux/src/drivers/net/sundance.c
index 47f32eb..26a3eb9 100644
--- a/linux/src/drivers/net/sundance.c
+++ b/linux/src/drivers/net/sundance.c
@@ -986,7 +986,7 @@ static int start_tx(struct sk_buff *skb, struct net_device 
        dev->trans_start = jiffies;
        if (np->msg_level & NETIF_MSG_TX_QUEUED) {
-               printk(KERN_DEBUG "%s: Transmit frame #%d len %ld queued in 
slot %ld.\n",
+               printk(KERN_DEBUG "%s: Transmit frame #%d len %lu queued in 
slot %u.\n",
                           dev->name, np->cur_tx, skb->len, entry);
        return 0;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]