Thread (61 messages) flat view 61 messages, 7 authors, 2012-09-06

RE: [net-next 10/13] igb: Tidy up wrapping for CONFIG_IGB_PTP.

From: Vick, Matthew <hidden>
Date: 2012-08-23 17:41:20

-----Original Message-----
From: Richard Cochran [mailto:richardcochran@gmail.com]
Sent: Thursday, August 23, 2012 10:30 AM
To: Vick, Matthew
Cc: Kirsher, Jeffrey T; davem@davemloft.net; netdev@vger.kernel.org;
gospo@redhat.com; sassmann@redhat.com
Subject: Re: [net-next 10/13] igb: Tidy up wrapping for CONFIG_IGB_PTP.

On Thu, Aug 23, 2012 at 04:09:30PM +0000, Vick, Matthew wrote:
quoted
quoted
-----Original Message-----
From: Richard Cochran [mailto:richardcochran@gmail.com]
Sent: Thursday, August 23, 2012 4:04 AM
To: Kirsher, Jeffrey T
Cc: davem@davemloft.net; Vick, Matthew; netdev@vger.kernel.org;
gospo@redhat.com; sassmann@redhat.com
Subject: Re: [net-next 10/13] igb: Tidy up wrapping for
CONFIG_IGB_PTP.
quoted
quoted
On Thu, Aug 23, 2012 at 02:56:50AM -0700, Jeff Kirsher wrote:
quoted
From: Matthew Vick <redacted>

For users without CONFIG_IGB_PTP=y, we should not be compiling
any
quoted
quoted
PTP
quoted
code into the driver. Tidy up the wrapping in igb to support
this.
quoted
quoted
Actually, you are doing more than that. You are adding a bunch of
comments onto the already existing #endifs.
Fair enough. Would you like me to update the patch description?
Better would be to drop of the pendantic #endif /*CONFIG_FOO*/ stuff.
It is just churn.

Thanks,
Richard
I'm willing to drop it, but I would like to drop it universally in the driver if that's the case. Is that acceptable? There's no overly long or complex wrapping section in the driver that I think merits being sloppy with the end comments.

Cheers,
Matthew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help