Re: [patch] staging: lustre: lnet: memory corruption in selftest

2016-11-25 Thread Dilger, Andreas
On Nov 24, 2016, at 04:10, Dan Carpenter wrote: > > We want sizeof(struct lstcon_node) but instead we're getting the sizeof > a pointer. > > Fixes: 8d78f0f2ba76 ("staging: lustre: lnet: cleanup some of the > 80 line > issues") > Signed-off-by: Dan Carpenter

[patch] staging: lustre: lnet: memory corruption in selftest

2016-11-24 Thread Dan Carpenter
We want sizeof(struct lstcon_node) but instead we're getting the sizeof a pointer. Fixes: 8d78f0f2ba76 ("staging: lustre: lnet: cleanup some of the > 80 line issues") Signed-off-by: Dan Carpenter diff --git a/drivers/staging/lustre/lnet/selftest/console.c