[PATCH v2] staging: lustre: lustre/ldlm: Fixed sparse warnings

2016-09-18 Thread Nayeemahmed Badebade
balance in 'unlock_res_and_lock' - unexpected unlock Signed-off-by: Nayeemahmed Badebade --- Changes in v2: * Corrected sparse annotations for the lock lock->l_resource->lr_lock drivers/staging/lustre/lustre/ldlm/l_lock.c | 4 1 file changed, 4 insertions(+) diff --gi

[PATCH] staging: lustre: lustre/ldlm: Fixed sparse warnings

2016-09-09 Thread Nayeemahmed Badebade
balance in 'unlock_res_and_lock' - unexpected unlock Signed-off-by: Nayeemahmed Badebade --- drivers/staging/lustre/lustre/ldlm/l_lock.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/lustre/lustre/ldlm/l_lock.c b/drivers/staging/lustre/lustre/ldlm/l_lock.c index ea8

[PATCH] staging: comedi/drivers: Fixed sparse warnings

2016-07-30 Thread Nayeemahmed Badebade
Fixed below sparse warnings in dt2811.c warning: symbol 'dt2811_clk_dividers' was not declared. Should it be static? warning: symbol 'dt2811_clk_multipliers' was not declared. Should it be static? Signed-off-by: Nayeemahmed Badebade --- drivers/staging/comedi/drivers/dt281

[PATCH] staging: comedi: kcomedilib: Fixed coding style issue

2015-09-03 Thread Nayeemahmed Badebade
Fixed checkpatch.pl warning in kcomedilib_main.c: - Block comments use * on subsequent lines Signed-off-by: Nayeemahmed Badebade --- .../staging/comedi/kcomedilib/kcomedilib_main.c| 32 +++--- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging