Re: [PATCH blktests v1 01/11] nvme/{003,004,005,013,046,049}: Group all variables declarations

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

 



On 7/27/23 00:11, Daniel Wagner wrote:
On Wed, Jul 26, 2023 at 07:54:24AM -0700, Bart Van Assche wrote:
On 7/26/23 05:46, Daniel Wagner wrote:
Group all variable declarations together at the beginning of the
function.

An explanation of why this change has been proposed is missing from the
patch description.

Sure, I'll add one. The coding style to declare all local variables at the
beginning of the function.

Isn't declaring local variables just before their first use a better style?

Thanks,

Bart.




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux