linux/drivers/char
Helge Deller 51d96dc2e2 random: fix warning message on ia64 and parisc
Fix the warning message on the parisc and IA64 architectures to show the
correct function name of the caller by using %pS instead of %pF. The
message is printed with the value of _RET_IP_ which calls
__builtin_return_address(0) and as such returns the IP address caller
instead of pointer to a function descriptor of the caller.

The effect of this patch is visible on the parisc and ia64 architectures
only since those are the ones which use function descriptors while on
all others %pS and %pF will behave the same.

Cc: Theodore Ts'o <tytso@mit.edu>
Cc: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Fixes: eecabf5674 ("random: suppress spammy warnings about unseeded randomness")
Fixes: d06bfd1989 ("random: warn when kernel uses unseeded randomness")
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-08-08 09:36:46 -07:00
..
agp agp: use set_memory.h header 2017-05-08 17:15:13 -07:00
hw_random hwrng: mtk - add runtime PM support 2017-06-20 11:21:28 +08:00
ipmi Some small fixes for IPMI, and one medium sized changed. 2017-07-10 10:59:29 -07:00
mwave
pcmcia networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
tpm tpm: do not suspend/resume if power stays on 2017-07-07 09:49:26 +10:00
xilinx_hwicap
xillybus
Kconfig arm64 updates for 4.13: 2017-07-05 17:09:27 -07:00
Makefile mmtimer: Remove the SGI SN2 mmtimer driver 2017-05-26 12:52:19 +02:00
apm-emulation.c
applicom.c
applicom.h
bfin-otp.c
bsr.c
ds1302.c
ds1620.c
dsp56k.c format-security: move static strings to const 2017-05-08 17:15:14 -07:00
dtlk.c
efirtc.c
generic_nvram.c
hangcheck-timer.c
hpet.c
lp.c char: lp: fix possible integer overflow in lp_setup() 2017-05-16 23:05:20 +02:00
mbcs.c
mbcs.h
mem.c drivers: char: mem: Fix wraparound check to allow mappings up to the end 2017-06-03 18:56:04 +09:00
misc.c
mspec.c
nsc_gpio.c
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
powernv-op-panel.c
ppdev.c
ps3flash.c
random.c random: fix warning message on ia64 and parisc 2017-08-08 09:36:46 -07:00
raw.c
rtc.c
scx200_gpio.c
snsc.c
snsc.h
snsc_event.c
sonypi.c
tb0219.c
tile-srom.c
tlclk.c
toshiba.c
ttyprintk.c
uv_mmtimer.c
virtio_console.c virtio: fixes, cleanups, performance 2017-05-10 11:33:08 -07:00