[PATCH] staging: lustre: fix pointer declarations

2014-11-25 Thread Zahari Doychev
[noderef] asn:1*iov_base lib-lnet.h:819:48:got void *src lib-lnet.h:808:47: warning: incorrect type in initializer (different address spaces) lib-lnet.h:808:47:expected void [noderef] asn:1*iov_base lib-lnet.h:808:47:got void *src Signed-off-by: Zahari Doychev zahari.doyc...@linux.com

[PATCH 1/2] [drivers] staging/lustre: fix sparse warnings

2014-11-24 Thread Zahari Doychev
This patch fixes the following sparse warnings: lib-lnet.h:787:47: warning: incorrect type in initializer (different address spaces) lib-lnet.h:787:47:expected void [noderef] asn:1*iov_base lib-lnet.h:787:47:got void *dest Signed-off-by: Zahari Doychev zahari.doyc...@linux.com

[PATCH 0/2] fix some sparse warnings in lustre

2014-11-24 Thread Zahari Doychev
The two patches fix several sparse warning in the lustre module. Zahari Doychev (2): [drivers] staging/lustre: fix sparse warnings [drivers] staging/lustre: fix sparse warnings drivers/staging/lustre/include/linux/lnet/lib-lnet.h | 14 +- drivers/staging/lustre/lnet/klnds

Re: [PATCH 1/2] [drivers] staging/lustre: fix sparse warnings

2014-11-24 Thread Zahari Doychev
On Tue, Nov 25, 2014 at 02:40:36AM +0300, Dan Carpenter wrote: On Mon, Nov 24, 2014 at 07:55:41PM +0100, Zahari Doychev wrote: --- a/drivers/staging/lustre/include/linux/lnet/lib-lnet.h +++ b/drivers/staging/lustre/include/linux/lnet/lib-lnet.h @@ -784,7 +784,8 @@ lnet_copy_iov2flat(int

[PATCH] [staging] bcm: fix code style

2014-07-27 Thread Zahari Doychev
this patch fixes some errors and warnings reported by checkpatch.pl Signed-off-by: Zahari Doychev zahari.doyc...@linux.com --- drivers/staging/bcm/PHSModule.h | 25 + 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/drivers/staging/bcm/PHSModule.h b/drivers