RE: [net-next 10/13] igb: Tidy up wrapping for CONFIG_IGB_PTP.
From: Vick, Matthew <hidden>
Date: 2012-08-23 18:40:32
-----Original Message----- From: Keller, Jacob E Sent: Thursday, August 23, 2012 11:04 AM To: Richard Cochran; 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. [...] Personally disagree here. I do agree that the churn is annoying with how it breaks git blame, however, in general I prefer tags at the end of #ifdefs even for short ones because it increases my ability to quickly spot matches. The end comment aligns with the starting comment, and even for small blocks makes it easier to process. It is less necessary the smaller the block, but I always prefer to have it than not. That said, it is nice when git blame points to the right place, and the comments aren't super necessary for such short blocks. - Jake
I tend to agree with Jake here--I like having the information. I'm fine removing them, but I'd like to do it for all CONFIG_IGB_PTP wrapping if we're going to do it. What do you think, Richard? Cheers, Matthew