[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47139350.8010209@intel.com>
Date: Mon, 15 Oct 2007 09:20:32 -0700
From: "Kok, Auke" <auke-jan.h.kok@...el.com>
To: Joe Perches <joe@...ches.com>
CC: Jeff Garzik <jeff@...zik.org>, Auke Kok <auke-jan.h.kok@...el.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH] e1000e: fix debugging printout code
Joe Perches wrote:
> On Fri, 2007-10-05 at 13:53 -0400, Jeff Garzik wrote:
>>> diff --git a/drivers/net/e1000e/hw.h b/drivers/net/e1000e/hw.h
>>> index 848217a..aa82f1a 100644
>>> --- a/drivers/net/e1000e/hw.h
>>> +++ b/drivers/net/e1000e/hw.h
>>> @@ -852,7 +852,7 @@ struct e1000_hw {
>>>
>>> #ifdef DEBUG
>>> #define hw_dbg(hw, format, arg...) \
>>> - printk(KERN_DEBUG, "%s: " format, e1000_get_hw_dev_name(hw), ##arg);
>>> + printk(KERN_DEBUG, "%s: " format, e1000e_get_hw_dev_name(hw), ##arg);
>> I will apply this, but, I strongly encourage deletion of this in favor
>> of the existing dev_dbg()
>
> Instead the fix should be for the 2 existing bugs on macro:
>
> o Comma after KERN_DEBUG
> o Semicolon in macro
will push a patch, thanks.
Auke
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists