Re: [PATCH] staging: lustre: lov: Fix sparse warning

2015-11-21 Thread Drokin, Oleg
Hello! On Nov 21, 2015, at 3:26 AM, Paul Davies C wrote: > This patch fixes the following warnings:- > > drivers/staging/lustre/lustre/lov/lov_object.c:926:22: warning: symbol > 'lov_lsm_get' was not declared. Should it be static? > drivers/staging/lustre/lustre/lov/lov_object.c:942:6: warning:

[PATCH] staging: lustre: lov: Fix sparse warning

2015-11-21 Thread Paul Davies C
This patch fixes the following warnings:- drivers/staging/lustre/lustre/lov/lov_object.c:926:22: warning: symbol 'lov_lsm_get' was not declared. Should it be static? drivers/staging/lustre/lustre/lov/lov_object.c:942:6: warning: symbol 'lov_lsm_put' was not declared. Should it be static? Signed

[PATCH] staging: lustre: lov: Fix sparse warning using plain integer as NULL pointer

2014-07-27 Thread Marc Fite
This patch fixes the warning generated by sparse: "Using plain integer as NULL pointer" by replacing the offending 0s with NULL. drivers/staging/lustre/lustre/lov/lov_obd.c:902:48: warning: Using plain integer as NULL pointer drivers/staging/lustre/lustre/lov/lov_obd.c:946:54: warning: Using pla