[no subject]

2017-03-30 Thread skanda . kashyap
I have modified struct lu_dirpage as suggested to remove the below warnings. CHECK drivers/staging/lustre/lustre/mdc/mdc_request.c drivers/staging/lustre/lustre/mdc/mdc_request.c:958:42: warning: cast to restricted __le64 drivers/staging/lustre/lustre/mdc/mdc_request.c:959:42: warning: cast to r

[PATCH] Remove sparse warnings in mdc_request.c

2017-03-30 Thread skanda . kashyap
From: Skanda Guruanand --- drivers/staging/lustre/lustre/include/lustre/lustre_idl.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h b/drivers/staging/lustre/lustre/include/lustre/lustre_idl.h index 60b827e..d

[PATCH v2] Remove sparse warnings in mdc_request.c

2017-04-03 Thread skanda . kashyap
From: Skanda Guruanand Signed-off-by: Skanda Guruanand I have modified struct lu_dirpage as suggested in lustre_idl.h file CHECK drivers/staging/lustre/lustre/mdc/mdc_request.c drivers/staging/lustre/lustre/mdc/mdc_request.c:958:42: warning: cast to restricted __le64 drivers/staging/lustre/

[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

[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

[PATCH v2] staging: lustre: Fix sparse endianness warnings cast to restricted __le64 and __le32

2017-04-13 Thread skanda . kashyap
From: Skanda Guruanand Modified struct lu_dirpage in lustre_idl.h file to remove the sparse warnings where cast to restricted types are made. Following warnings are removed by this fix. drivers/staging/lustre/lustre/mdc/mdc_request.c:958:42: warning: cast to restricted __le64 drivers/staging/l

[PATCH v2] staging: lustre: Fix sparse endianness warnings cast to restricted __le64 and __le32

2017-04-15 Thread skanda . kashyap
From: Skanda Guruanand The struct lu_dirpage elements in lustre_idl.h file are modified to __le64 and __le32 types since the elements are always converted from litte endian to processor native format in mdc_request.c file. Following warnings are removed by this fix. drivers/staging/lustre/lust