Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1535756 > unrolled thread
| Started by | sandeepjain.linux@gmail.com |
|---|---|
| First post | 2016-12-05 03:30 +0100 |
| Last post | 2016-12-05 23:50 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] staging: lustre: mgc: make llog_process_lock static sandeepjain.linux@gmail.com - 2016-12-05 03:30 +0100
Re: [PATCH] staging: lustre: mgc: make llog_process_lock static Oleg Drokin <oleg.drokin@intel.com> - 2016-12-05 23:50 +0100
| From | sandeepjain.linux@gmail.com |
|---|---|
| Date | 2016-12-05 03:30 +0100 |
| Subject | [PATCH] staging: lustre: mgc: make llog_process_lock static |
| Message-ID | <sKRct-6PC-3@gated-at.bofh.it> |
From: Sandeep Jain <sandeepjain.linux@gmail.com> Fix following sparse warning. mgc_request.c:376:1: warning: symbol 'llog_process_lock' was not declared. Should it be static? Signed-off-by: Sandeep Jain <sandeepjain.linux@gmail.com> --- drivers/staging/lustre/lustre/mgc/mgc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/mgc/mgc_request.c b/drivers/staging/lustre/lustre/mgc/mgc_request.c index 23600fb..e98a2ce 100644 --- a/drivers/staging/lustre/lustre/mgc/mgc_request.c +++ b/drivers/staging/lustre/lustre/mgc/mgc_request.c @@ -373,7 +373,7 @@ static int config_log_add(struct obd_device *obd, char *logname, return rc; } -DEFINE_MUTEX(llog_process_lock); +static DEFINE_MUTEX(llog_process_lock); /** Stop watching for updates on this log. */ -- 2.7.4
[toc] | [next] | [standalone]
| From | Oleg Drokin <oleg.drokin@intel.com> |
|---|---|
| Date | 2016-12-05 23:50 +0100 |
| Message-ID | <sLaf7-27k-3@gated-at.bofh.it> |
| In reply to | #1535756 |
On Dec 4, 2016, at 9:21 PM, <sandeepjain.linux@gmail.com> <sandeepjain.linux@gmail.com> wrote: > From: Sandeep Jain <sandeepjain.linux@gmail.com> > > Fix following sparse warning. > mgc_request.c:376:1: > warning: symbol 'llog_process_lock' was not declared. Should it be static? > > Signed-off-by: Sandeep Jain <sandeepjain.linux@gmail.com> Acked-by: Oleg Drokin <oleg.drokin@intel.com> > --- > drivers/staging/lustre/lustre/mgc/mgc_request.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/lustre/lustre/mgc/mgc_request.c b/drivers/staging/lustre/lustre/mgc/mgc_request.c > index 23600fb..e98a2ce 100644 > --- a/drivers/staging/lustre/lustre/mgc/mgc_request.c > +++ b/drivers/staging/lustre/lustre/mgc/mgc_request.c > @@ -373,7 +373,7 @@ static int config_log_add(struct obd_device *obd, char *logname, > return rc; > } > > -DEFINE_MUTEX(llog_process_lock); > +static DEFINE_MUTEX(llog_process_lock); > > /** Stop watching for updates on this log. > */ > -- > 2.7.4
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web