Skip to contentSkip to conversation

linux-next: build warning after merge of the tip tree

DISCUSSION Stephen Rothwell 2 participants 4 messages Jun 16, 2014 – Jun 20, 2014 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the tip tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

In file included from arch/x86/crypto/camellia_aesni_avx_glue.c:23:0:
arch/x86/include/asm/xsave.h:73:12: warning: 'xsave_state_booting' defined but not used [-Wunused-function]
static int xsave_state_booting(struct xsave_struct *fx, u64 mask)

            ^

Lots of these ...

Introduced by commit adb9d526e982 ("x86/xsaves: Add xsaves and xrstors support for booting time"). Forgotten "inline" :-(

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw

Hi all,

Quoted 7 lines · On Mon, 16 Jun 2014 11:57:09 +1000 Stephen Rothwell <[email protected]>…

After merging the tip tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

In file included from arch/x86/crypto/camellia_aesni_avx_glue.c:23:0:
arch/x86/include/asm/xsave.h:73:12: warning: 'xsave_state_booting' defined but not used [-Wunused-function]
static int xsave_state_booting(struct xsave_struct *fx, u64 mask)

Quoted 6 lines
            ^

Lots of these ...

Introduced by commit adb9d526e982 ("x86/xsaves: Add xsaves and xrstors support for booting time"). Forgotten "inline" :-(

Ping?

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#2 lore raw
Quoted 15 lines · Stephen Rothwell

Hi all,

Quoted 11 lines · On Mon, 16 Jun 2014 11:57:09 +1000 Stephen Rothwell <[email protected]>…

After merging the tip tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

In file included from arch/x86/crypto/camellia_aesni_avx_glue.c:23:0:
arch/x86/include/asm/xsave.h:73:12: warning:
'xsave_state_booting' defined but not used [-Wunused-function] static int xsave_state_booting(struct xsave_struct *fx, u64 mask) ^

Quoted 7 lines
Quoted 4 lines

Lots of these ...

Introduced by commit adb9d526e982 ("x86/xsaves: Add xsaves and xrstors support for booting time"). Forgotten "inline" :-(

Ping?

I already applied an equivalent patch from Borislav.

-hpa

#3 lore raw

Hi Peter,

Quoted 16 lines · On Thu, 19 Jun 2014 21:30:49 -0700 "H. Peter Anvin" <[email protected]> wrote:
Quoted 14 lines · Stephen Rothwell
Quoted 11 lines · On Mon, 16 Jun 2014 11:57:09 +1000 Stephen Rothwell <[email protected]>…

After merging the tip tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

In file included from arch/x86/crypto/camellia_aesni_avx_glue.c:23:0:
arch/x86/include/asm/xsave.h:73:12: warning:
'xsave_state_booting' defined but not used [-Wunused-function] static int xsave_state_booting(struct xsave_struct *fx, u64 mask) ^

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

Lots of these ...

Introduced by commit adb9d526e982 ("x86/xsaves: Add xsaves and xrstors support for booting time"). Forgotten "inline" :-(

Ping?

I already applied an equivalent patch from Borislav.

Thanks. I look forward to it filtering out :-)

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]