Re: [PATCH v4 15/18] staging: r8188eu: hal: Clean up usbctrl_vendorreq()

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

 



On Tue, Sep 14, 2021 at 03:24:06PM +0200, Fabio M. De Francesco wrote:
> On Tuesday, September 14, 2021 11:24:05 AM CEST Dan Carpenter wrote:
> > I don't understand why you moved these from the top to the bottom.
> > But the original was better.  In networking code declarations are
> > normally written in Reverse Christmas Tree format, longest to shortest,
> > like this:
> > 
> > 	long long long_name;
> > 	medium name;
> > 	u8 short;
> 
> Dear Dan,
> 
> I'm sorry that I forgot to thank you for the reviews in the other messages I 
> sent in reply. :(
> 
> I also forgot to answer to the above question...
> 
> I changed the order of the declarations because David Laight wrote "I think 
> you'll need 'reverse xmas tree' ordering as well." (copy-paste from his 
> message).
> 
> As far as I know you are both experienced kernel developers, so I took his 
> words for truth. Is it a matter of personal taste or Reverse/Non Reverse Xmas 
> Trees are strictly required by the Linux kernel coding style guidelines?

David and I are saying the same thing.  "Reverse Christmas Tree" vs
"reverse xmas tree".  It's like an upside down pine tree.

	asfklajsdfljasldf
	asdflkjasldfjal
	asdflkjalsdfj
	asldfkjalsdf
	asldfkjl98
	lwkejrlw
	ljklkjl
	lkjkll
	kjld
	asdf
	x

regards,
dan carpenter





[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux