Re: [PATCH] hfs: Change structure initialisation to C99 style

2016-06-22 Thread Viacheslav Dubeyko
On Wed, 2016-06-22 at 11:04 +0530, Amitoj Kaur Chawla wrote: > To allow for structure randomisation, replace the in order > struct initialisation style with explicit field style. > Also, remove an unnecessary initialisation since NULL values do not > need to be explicitly initialised. > > The

Re: [PATCH] hfs: Change structure initialisation to C99 style

2016-06-22 Thread Viacheslav Dubeyko
On Wed, 2016-06-22 at 11:04 +0530, Amitoj Kaur Chawla wrote: > To allow for structure randomisation, replace the in order > struct initialisation style with explicit field style. > Also, remove an unnecessary initialisation since NULL values do not > need to be explicitly initialised. > > The

[PATCH] hfs: Change structure initialisation to C99 style

2016-06-21 Thread Amitoj Kaur Chawla
To allow for structure randomisation, replace the in order struct initialisation style with explicit field style. Also, remove an unnecessary initialisation since NULL values do not need to be explicitly initialised. The Coccinelle semantic patch used to make this change is as follows: @decl@

[PATCH] hfs: Change structure initialisation to C99 style

2016-06-21 Thread Amitoj Kaur Chawla
To allow for structure randomisation, replace the in order struct initialisation style with explicit field style. Also, remove an unnecessary initialisation since NULL values do not need to be explicitly initialised. The Coccinelle semantic patch used to make this change is as follows: @decl@