Re: [PATCH] staging: lustre: socklnd: sparse warning fix

2014-11-16 Thread Al Viro
> the same value casted the same way few lines below: > csum = ksocknal_csum(~0, (void *)tx->tx_iov[0].iov_base, > > then it seems like a typo in LASSERT() that is got fixed > > drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib-linux.c | 2 +- > 1 file changed, 1 insertion(+), 1 deleti

[PATCH] staging: lustre: socklnd: sparse warning fix

2014-11-16 Thread Igor Bogomazov
sparse reports the following issue: drivers/staging/lustre/lnet/klnds/socklnd/socklnd_lib-linux.c:393:9: error: incompatible types in comparison expression (different address spaces) Cc: Oleg Drokin Cc: Andreas Dilger Cc: Greg Kroah-Hartman Signed-off-by: Igor Bogomazov --- applies to linux-ne