Re: [PATCH v2] staging: lustre: Fix address space mismatch in ksocknal_recv_iov()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 13, 2014 at 02:31:33AM +1000, Artemiy Volkov wrote:
> This patch fixes the following sparse warnings:
> 
> drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c:284:51: warning:
> 	cast removes address space of expression
> drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c:284:39: warning:
> 	incorrect type in assignment (different address spaces)
> drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c:284:39:    expected
> 	void [noderef] <asn:1>*iov_base
> drivers/staging/lustre/lnet/klnds/socklnd/socklnd_cb.c:284:39:    got
> 	void *<noident>
> 
> by simplifying an expression containing non-__user-attributed type names.
> 

Thanks!

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

regards,
dan carpenter

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux