[PATCH 2/2] staging: lustre: fix sparse warning "unexpected unlock"

2014-05-06 Thread Toby Smith
Fix the following warning in lib-eq.c warning: context imbalance in 'lnet_eq_wait_locked' - unexpected unlock Signed-off-by: Toby Smith --- drivers/staging/lustre/lnet/lnet/lib-eq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/lustre/lnet/lnet/lib-eq.c b/drive

[PATCH 0/2] staging: lustre: fix sparse warnings in lib-eq.c

2014-05-06 Thread Toby Smith
Fix warnings from sparse in lib-eq.c Toby Smith (2): staging: lustre: fix sparse warning "should it be static" staging: lustre: fix sparse warning "unexpected unlock" drivers/staging/lustre/lnet/lnet/lib-eq.c | 3 ++- 1 file changed, 2 insertions(+), 1 de

[PATCH 1/2] staging: lustre: fix sparse warning "should it be static"

2014-05-06 Thread Toby Smith
Fix the following warning in lib-eq.c warning: symbol 'lnet_eq_dequeue_event' was not declared. Should it be static? Signed-off-by: Toby Smith --- drivers/staging/lustre/lnet/lnet/lib-eq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lne

[PATCH] staging: netlogic: fix missing a blank line after declarations

2014-04-01 Thread Toby Smith
Fix checkpatch.pl issues with missing blank line after declarations. Signed-off-by: Toby Smith --- drivers/staging/netlogic/xlr_net.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/netlogic/xlr_net.c b/drivers/staging/netlogic/xlr_net.c index c83e337..75d7c63 100644 --- a