Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1718934 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2017-08-24 09:50 +0200 |
| Last post | 2017-08-26 03:30 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.kernel
linux-next: build warnings after merge of the akpm-current tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-08-24 09:50 +0200
Re: linux-next: build warnings after merge of the akpm-current tree Changwei Ge <ge.changwei@h3c.com> - 2017-08-24 10:30 +0200
Re: linux-next: build warnings after merge of the akpm-current tree Andrew Morton <akpm@linux-foundation.org> - 2017-08-25 23:30 +0200
Re: linux-next: build warnings after merge of the akpm-current tree Changwei Ge <ge.changwei@h3c.com> - 2017-08-26 03:30 +0200
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2017-08-24 09:50 +0200 |
| Subject | linux-next: build warnings after merge of the akpm-current tree |
| Message-ID | <uhV3P-3x1-17@gated-at.bofh.it> |
Hi Andrew,
After merging the akpm-current tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:
fs/ocfs2/dlm/dlmrecovery.c: In function 'dlm_free_dead_locks':
fs/ocfs2/dlm/dlmrecovery.c:2306:6: warning: unused variable 'i' [-Wunused-variable]
int i;
^
fs/ocfs2/dlm/dlmrecovery.c:2305:20: warning: unused variable 'queue' [-Wunused-variable]
struct list_head *queue = NULL;
^
Caused by commit
d09f2c6cf3b8 ("ocfs2: re-queue AST or BAST if sending is failed to improve the reliability")
--
Cheers,
Stephen Rothwell
[toc] | [next] | [standalone]
| From | Changwei Ge <ge.changwei@h3c.com> |
|---|---|
| Date | 2017-08-24 10:30 +0200 |
| Message-ID | <uhVGA-405-67@gated-at.bofh.it> |
| In reply to | #1718934 |
Hi Andrew,
On 2017/8/24 15:42, Stephen Rothwell wrote:
> Hi Andrew, After merging the akpm-current tree, today's linux-next
> build (x86_64 allmodconfig) produced these warnings:
> fs/ocfs2/dlm/dlmrecovery.c: In function 'dlm_free_dead_locks':
> fs/ocfs2/dlm/dlmrecovery.c:2306:6: warning: unused variable 'i'
> [-Wunused-variable] int i; ^ fs/ocfs2/dlm/dlmrecovery.c:2305:20:
> warning: unused variable 'queue' [-Wunused-variable] struct list_head
> *queue = NULL; ^
My patch never defines these two variables, it's strange that they are
defined within the patch you collected.
Could you please help to check if this patch comes from mail '[PATCH]
ocfs2: re-queue AST or BAST if sending is failed to improve the
reliability' sent on 7, August.
Thanks,
Changwei
> Caused by commit
>
> d09f2c6cf3b8 ("ocfs2: re-queue AST or BAST if sending is failed to improve the reliability")
>
[toc] | [prev] | [next] | [standalone]
| From | Andrew Morton <akpm@linux-foundation.org> |
|---|---|
| Date | 2017-08-25 23:30 +0200 |
| Message-ID | <uiukW-Oo-1@gated-at.bofh.it> |
| In reply to | #1718984 |
On Thu, 24 Aug 2017 08:15:30 +0000 Changwei Ge <ge.changwei@h3c.com> wrote: > Hi Andrew, > > On 2017/8/24 15:42, Stephen Rothwell wrote: > > Hi Andrew, After merging the akpm-current tree, today's linux-next > > build (x86_64 allmodconfig) produced these warnings: > > fs/ocfs2/dlm/dlmrecovery.c: In function 'dlm_free_dead_locks': > > fs/ocfs2/dlm/dlmrecovery.c:2306:6: warning: unused variable 'i' > > [-Wunused-variable] int i; ^ fs/ocfs2/dlm/dlmrecovery.c:2305:20: > > warning: unused variable 'queue' [-Wunused-variable] struct list_head > > *queue = NULL; ^ > My patch never defines these two variables, it's strange that they are > defined within the patch you collected. > Could you please help to check if this patch comes from mail '[PATCH] > ocfs2: re-queue AST or BAST if sending is failed to improve the > reliability' sent on 7, August. Yes, I'm not at all sure how those lines got there. Problem is, the patch you sent was wordwrapped and had its tabs replaced with spaces. So I had to do quite a lot of work on it to make it usable. Evidently I somehow added those lines in the process. Please carefully check that http://www.ozlabs.org/~akpm/mmotm/broken-out/ocfs2-re-queue-ast-or-bast-if-sending-is-failed-to-improve-the-reliability.patch plus --- a/fs/ocfs2/dlm/dlmrecovery.c~ocfs2-re-queue-ast-or-bast-if-sending-is-failed-to-improve-the-reliability-fix +++ a/fs/ocfs2/dlm/dlmrecovery.c @@ -2302,8 +2302,6 @@ static void dlm_free_dead_locks(struct d struct dlm_lock *lock, *next; unsigned int freed = 0; int reserved_tmp = 0; - struct list_head *queue = NULL; - int i; /* this node is the lockres master: * 1) remove any stale locks for the dead node produce the correct result. And please appropriately configure your email client for next time!
[toc] | [prev] | [next] | [standalone]
| From | Changwei Ge <ge.changwei@h3c.com> |
|---|---|
| Date | 2017-08-26 03:30 +0200 |
| Message-ID | <uiy5b-36A-1@gated-at.bofh.it> |
| In reply to | #1720421 |
Hi Andrew, On 2017/8/26 5:24, Andrew Morton wrote: > On Thu, 24 Aug 2017 08:15:30 +0000 Changwei Ge <ge.changwei@h3c.com> wrote: > >> Hi Andrew, >> >> On 2017/8/24 15:42, Stephen Rothwell wrote: >>> Hi Andrew, After merging the akpm-current tree, today's linux-next >>> build (x86_64 allmodconfig) produced these warnings: >>> fs/ocfs2/dlm/dlmrecovery.c: In function 'dlm_free_dead_locks': >>> fs/ocfs2/dlm/dlmrecovery.c:2306:6: warning: unused variable 'i' >>> [-Wunused-variable] int i; ^ fs/ocfs2/dlm/dlmrecovery.c:2305:20: >>> warning: unused variable 'queue' [-Wunused-variable] struct list_head >>> *queue = NULL; ^ >> My patch never defines these two variables, it's strange that they are >> defined within the patch you collected. >> Could you please help to check if this patch comes from mail '[PATCH] >> ocfs2: re-queue AST or BAST if sending is failed to improve the >> reliability' sent on 7, August. > Yes, I'm not at all sure how those lines got there. > > Problem is, the patch you sent was wordwrapped and had its tabs > replaced with spaces. So I had to do quite a lot of work on it to make > it usable. Evidently I somehow added those lines in the process. > > Please carefully check that > > http://www.ozlabs.org/~akpm/mmotm/broken-out/ocfs2-re-queue-ast-or-bast-if-sending-is-failed-to-improve-the-reliability.patch > > plus > > --- a/fs/ocfs2/dlm/dlmrecovery.c~ocfs2-re-queue-ast-or-bast-if-sending-is-failed-to-improve-the-reliability-fix > +++ a/fs/ocfs2/dlm/dlmrecovery.c > @@ -2302,8 +2302,6 @@ static void dlm_free_dead_locks(struct d > struct dlm_lock *lock, *next; > unsigned int freed = 0; > int reserved_tmp = 0; > - struct list_head *queue = NULL; > - int i; > > /* this node is the lockres master: > * 1) remove any stale locks for the dead node > > produce the correct result. > > And please appropriately configure your email client for next time! Sorry for the trouble my patch made, I will check my email client configuration. Thanks, Changwei >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web