Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 4 messages Jun 8, 2018 – Jul 10, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Theodore,

After merging the random tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

lib/vsprintf.c:1668:13: warning: 'have_filled_random_ptr_key' defined but not used [-Wunused-variable]

 static bool have_filled_random_ptr_key __read_mostly;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

bfe80ed3d7c7 ("vsprintf: add command line option debug_boot_weak_hash")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 11 lines · On Fri, 8 Jun 2018 13:37:48 +1000 Stephen Rothwell <[email protected]> wrote:

After merging the random tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

lib/vsprintf.c:1668:13: warning: 'have_filled_random_ptr_key' defined but not used [-Wunused-variable]

 static bool have_filled_random_ptr_key __read_mostly;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

bfe80ed3d7c7 ("vsprintf: add command line option debug_boot_weak_hash")

I am still getting this ...

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
Quoted 11 lines · Stephen Rothwell

Hi all,

Quoted 8 lines · On Fri, 8 Jun 2018 13:37:48 +1000 Stephen Rothwell <[email protected]> wrote:

After merging the random tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

lib/vsprintf.c:1668:13: warning: 'have_filled_random_ptr_key' defined but not used [-Wunused-variable]

 static bool have_filled_random_ptr_key __read_mostly;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 5 lines
Quoted 3 lines

Introduced by commit

bfe80ed3d7c7 ("vsprintf: add command line option debug_boot_weak_hash")

I am still getting this ...

This is fixed in:

[PATCH v7 0/4] enable early printing of hashed pointers

FYI v8 to come with unrelated change removing EXPORT_SYMBOL() (as suggested on LKML in response to v7)

thanks,
Tobin.

#3 lore raw

Hi all,

Quoted 18 lines · On Mon, 18 Jun 2018 15:29:00 +1000 "Tobin C. Harding" <[email protected]> wrote:
Quoted 10 lines · Stephen Rothwell
Quoted 8 lines · On Fri, 8 Jun 2018 13:37:48 +1000 Stephen Rothwell <[email protected]> wrote:

After merging the random tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

lib/vsprintf.c:1668:13: warning: 'have_filled_random_ptr_key' defined but not used [-Wunused-variable]

 static bool have_filled_random_ptr_key __read_mostly;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 5 lines
Quoted 3 lines

Introduced by commit

bfe80ed3d7c7 ("vsprintf: add command line option debug_boot_weak_hash")

I am still getting this ...

Quoted 7 lines

This is fixed in:

[PATCH v7 0/4] enable early printing of hashed pointers

FYI v8 to come with unrelated change removing EXPORT_SYMBOL() (as suggested on LKML in response to v7)

Still getting this warning ...

Signature · 2 lines
Cheers,
Stephen Rothwell