Re: [PATCH v2] Fix endianness issues in mdc_request.c

2017-04-11 Thread Greg KH
On Tue, Apr 11, 2017 at 09:22:37PM -0700, skanda.kash...@gmail.com wrote: > From: Skanda Guruanand Your subject is odd, please match other commits made for this driver when you resend it. > Sparse generates warnings where cast to restricted types are made. > This commit changes types of struct f

[PATCH v2] Fix endianness issues in mdc_request.c

2017-04-11 Thread skanda . kashyap
From: Skanda Guruanand Sparse generates warnings where cast to restricted types are made. This commit changes types of struct fields to match endianness. Signed-off-by: Skanda Guruanand --- I have modified struct lu_dirpage in lustre_idl.h file to remove the sparse warnings where cast to restr

Re: [PATCH v2] Fix endianness issues in mdc_request.c

2017-04-10 Thread Greg KH
On Mon, Apr 10, 2017 at 10:05:25PM -0700, skanda.kash...@gmail.com wrote: > From: Skanda Guruanand > > Signed-off-by: Skanda Guruanand I can't take patches with no changelog text at all, sorry. Please fix up and resend. greg k-h ___ devel mailing li

[PATCH v2] Fix endianness issues in mdc_request.c

2017-04-10 Thread skanda . kashyap
From: Skanda Guruanand Signed-off-by: Skanda Guruanand --- I have modified struct lu_dirpage in lustre_idl.h file to remove the sparse warnings where cast to restricted types are made. Following warnings were removed by this fix. drivers/staging/lustre/lustre/mdc/mdc_request.c:958:42: warning