[random:dev 2/9] drivers/char/random.c:682:62: sparse: Using plain integer as NULL pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Theodore,

Some trivial sparse warnings :)

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/tytso/random.git dev
head:   0ca6c546645d39d68e67b70e5c8f00ad9a955fcb
commit: 4d5ecd27a003dbdecfbaca413803c7d6723cc1d4 [2/9] random: use lockless techniques in the interrupt path

All sparse warnings:

  drivers/char/random.c:287:8: sparse: symbol 'trickle_count' was not declared. Should it be static?
+ drivers/char/random.c:682:62: sparse: Using plain integer as NULL pointer
  drivers/char/random.c:739:8: sparse: symbol 'irq_randomness' was not declared. Should it be static?
  drivers/char/random.c:766:72: sparse: Using plain integer as NULL pointer
  drivers/char/random.c:818:47: sparse: Using plain integer as NULL pointer
  drivers/char/random.c:1027:46: sparse: Using plain integer as NULL pointer
  drivers/char/random.c:1031:52: sparse: Using plain integer as NULL pointer
  drivers/char/random.c:1033:60: sparse: Using plain integer as NULL pointer
  drivers/char/random.c:1170:47: sparse: Using plain integer as NULL pointer
  drivers/char/random.c:1332:11: sparse: symbol 'random_table' was not declared. Should it be static?
  drivers/char/random.c:1397:1: sparse: symbol '__pcpu_scope_get_random_int_hash' was not declared. Should it be static?
  drivers/char/random.c:1397:1: sparse: symbol 'get_random_int_hash' was not declared. Should it be static?

vim +682 drivers/char/random.c
   679			sample.cycles = get_cycles();
   680	
   681		sample.num = num;
 > 682		mix_pool_bytes(&input_pool, &sample, sizeof(sample), 0);
   683	
   684		/*
   685		 * Calculate number of bits of randomness we probably added.

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu <wfg@xxxxxxxxxxxxxxx>                     Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux