linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the random tree
@ 2017-02-01  6:09 Stephen Rothwell
  0 siblings, 0 replies; 15+ messages in thread
From: Stephen Rothwell @ 2017-02-01  6:09 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-next, linux-kernel, Stephan Müller

Hi Ted,

[This actually appeared yesterday, but I missed it, sorry.]

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

drivers/char/random.c:318:12: warning: 'random_min_urandom_seed' defined but not used [-Wunused-variable]
 static int random_min_urandom_seed = 60;
            ^

Introduced by commit

  43d8a72cd985 ("random: remove variable limit")

I understand why it is left there, but it would be nice if this warning
could be removed.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 15+ messages in thread
* linux-next: build warning after merge of the random tree
@ 2020-03-02  3:44 Stephen Rothwell
  2020-03-06  4:53 ` Stephen Rothwell
  0 siblings, 1 reply; 15+ messages in thread
From: Stephen Rothwell @ 2020-03-02  3:44 UTC (permalink / raw)
  To: Theodore Ts'o
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Mark Rutland

[-- Attachment #1: Type: text/plain, Size: 471 bytes --]

Hi all,

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

drivers/char/random.c:820:13: warning: 'crng_initialize_secondary' defined but not used [-Wunused-function]
  820 | static void crng_initialize_secondary(struct crng_state *crng)
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  5cbe0f13b51a ("random: split primary/secondary crng init paths")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* linux-next: build warning after merge of the random tree
@ 2018-07-16  5:52 Stephen Rothwell
  0 siblings, 0 replies; 15+ messages in thread
From: Stephen Rothwell @ 2018-07-16  5:52 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: Linux-Next Mailing List, Linux Kernel Mailing List

[-- Attachment #1: Type: text/plain, Size: 459 bytes --]

Hi Ted,

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

drivers/char/random.c: In function 'write_pool.constprop':
drivers/char/random.c:1912:11: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
    buf[i] ^= t;
           ^~

Introduced by commit

  349ddb707fb7 ("random: mix rdrand with entropy sent in from userspace")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* linux-next: build warning after merge of the random tree
@ 2018-06-08  3:37 Stephen Rothwell
  2018-06-18  3:35 ` Stephen Rothwell
  0 siblings, 1 reply; 15+ messages in thread
From: Stephen Rothwell @ 2018-06-08  3:37 UTC (permalink / raw)
  To: Theodore Ts'o
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Tobin C. Harding

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

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")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* linux-next: build warning after merge of the random tree
@ 2014-07-21  7:49 Stephen Rothwell
  0 siblings, 0 replies; 15+ messages in thread
From: Stephen Rothwell @ 2014-07-21  7:49 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

Hi Ted,

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

drivers/char/random.c: In function 'SYSC_getrandom':
drivers/char/random.c:1526:6: warning: unused variable 'r' [-Wunused-variable]
  int r;
      ^

Introduced by commit 386474e168a8 ("random: introduce getrandom(2) system call").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* linux-next: build warning after merge of the random tree
@ 2013-09-23  4:39 Stephen Rothwell
  2013-09-23  4:42 ` Stephen Rothwell
  0 siblings, 1 reply; 15+ messages in thread
From: Stephen Rothwell @ 2013-09-23  4:39 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-next, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1379 bytes --]

Hi Ted,

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

In file included from include/linux/kernel.h:10:0,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from drivers/char/random.c:238:
drivers/char/random.c: In function 'add_interrupt_randomness':
include/linux/bitops.h:96:2: warning: 'input[3]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return (word << shift) | (word >> (32 - shift));
  ^
drivers/char/random.c:827:10: note: 'input[3]' was declared here
  __u32   input[4], cycles = random_get_entropy();
          ^
In file included from include/linux/kernel.h:10:0,
                 from include/linux/sched.h:15,
                 from include/linux/utsname.h:5,
                 from drivers/char/random.c:238:
include/linux/bitops.h:96:2: warning: 'input[2]' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return (word << shift) | (word >> (32 - shift));
  ^
drivers/char/random.c:827:10: note: 'input[2]' was declared here
  __u32   input[4], cycles = random_get_entropy();
          ^

Probably introduced by commit d5693ae494f2 ("random: speed up the
fast_mix function by a factor of four").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-03-19  3:30 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-01  6:09 linux-next: build warning after merge of the random tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2020-03-02  3:44 Stephen Rothwell
2020-03-06  4:53 ` Stephen Rothwell
2020-03-10 12:17   ` Mark Rutland
2020-03-10 14:46     ` Theodore Y. Ts'o
2020-03-16  5:59       ` Stephen Rothwell
2020-03-19  3:30         ` Theodore Y. Ts'o
2018-07-16  5:52 Stephen Rothwell
2018-06-08  3:37 Stephen Rothwell
2018-06-18  3:35 ` Stephen Rothwell
2018-06-18  5:29   ` Tobin C. Harding
2018-07-10  7:26     ` Stephen Rothwell
2014-07-21  7:49 Stephen Rothwell
2013-09-23  4:39 Stephen Rothwell
2013-09-23  4:42 ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).