[PATCH] staging: gasket: use NULL instead of 0 for null pointer

2018-07-28 Thread Dmitriy Cherkasov
Fixes sparse warning: Using plain integer as NULL pointer Signed-off-by: Dmitriy Cherkasov --- drivers/staging/gasket/gasket_page_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gasket/gasket_page_table.c b/drivers/staging/gasket/gasket_page_table.c

[PATCH] staging: lustre: lov: remove dead code

2017-07-28 Thread Dmitriy Cherkasov
This #if 0 block has been commented out for years. Assume it is not needed and remove it. Signed-off-by: Dmitriy Cherkasov --- drivers/staging/lustre/lustre/lov/lov_io.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/lustre/lustre/lov/lov_io.c b/drivers/staging/lustre

[PATCH] staging: wilc1000: add parameter name to function definition

2017-07-08 Thread Dmitriy Cherkasov
Add missing parameter name to fix the following checkpatch.pl warning: WARNING: function definition argument 'struct device *' should also have an identifier name Signed-off-by: Dmitriy Cherkasov --- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 4 ++-- 1 file changed, 2 insert

[PATCH v5] staging: lustre: lnet: remove dead code and useless wrapper

2017-07-07 Thread Dmitriy Cherkasov
After removing commented out code, ksocknal_csum() becomes a useless wrapper for crc32_le(). Remove it, and instead call crc32_le() directly. Fixes the following checkpatch warning: WARNING: space prohibited before semicolon Signed-off-by: Dmitriy Cherkasov --- v5: - fix incomplete

Re: [PATCH v4] staging: lustre: lnet: remove dead code and crc32_le() wrapper

2017-07-06 Thread Dmitriy Cherkasov
On 06/29/2017 10:50 PM, Dmitriy Cherkasov wrote: After removing code which was permanently disabled with ifdefs, the function ksocknal_csum() becomes just a wrapper for crc32_le(). Remove this useless wrapper and instead call crc32_le() directly. Any feedback on v4 please

[PATCH v4] staging: lustre: lnet: remove dead code and crc32_le() wrapper

2017-06-29 Thread Dmitriy Cherkasov
: space prohibited before semicolon Signed-off-by: Dmitriy Cherkasov --- Changes since v3: * fixed spacing issues * fixed typo in commit message drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h | 11 --- .../staging/lustre/lnet/klnds/socklnd/socklnd_lib.c | 20

Re: [PATCH v2] staging: lustre: lnet: remove dead code and crc32_le() wrapper

2017-06-29 Thread Dmitriy Cherkasov
On 06/30/2017, Joe Perches wrote: Please use checkpatch on your proposed patches before sending them. Whoops! Sorry about that. Fixed and re-sent. ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/lis

[PATCH v3] staging: lustre: lnet: remove dead code and crc32_le() wrapper

2017-06-29 Thread Dmitriy Cherkasov
: space prohibited before semicolon Signed-off-by: Dmitriy Cherkasov --- drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h | 11 --- drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c | 14 +++--- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/drivers

[PATCH v2] staging: lustre: lnet: remove dead code and crc32_le() wrapper

2017-06-29 Thread Dmitriy Cherkasov
: space prohibited before semicolon Signed-off-by: Dmitriy Cherkasov --- drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h | 11 --- drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib.c | 10 +- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/drivers

[PATCH] staging: lustre: lnet: remove dead code

2017-06-28 Thread Dmitriy Cherkasov
Remove code which was permanently disabled with ifdefs. This also resolves the following checkpatch warning which was triggered by the dead code: WARNING: space prohibited before semicolon Signed-off-by: Dmitriy Cherkasov --- drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h | 6 -- 1