summaryrefslogtreecommitdiff
path: root/drivers/scsi/aha152x.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-08-08 19:28:41 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2017-08-08 19:36:46 +0300
commit51d96dc2e2dc2cf9b81cf976cc93c51ba3ac2f92 (patch)
treeced87ea4ce1ab9ad9f8754c6a9b7c5e06c48dedf /drivers/scsi/aha152x.h
parent623ce3456671ea842c0ebda79c38655c8c04af74 (diff)
downloadlinux-51d96dc2e2dc2cf9b81cf976cc93c51ba3ac2f92.tar.xz
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: eecabf567422 ("random: suppress spammy warnings about unseeded randomness") Fixes: d06bfd1989fe ("random: warn when kernel uses unseeded randomness") Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/scsi/aha152x.h')
0 files changed, 0 insertions, 0 deletions