summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2016-10-19 01:08:04 +0300
committerKees Cook <keescook@chromium.org>2016-10-31 21:30:41 +0300
commit58bea4144d235cee5bb51203b032ddafd6d1cf8d (patch)
tree01256e5ed4f34f736e83b841ca5ef9893cc479f8 /arch
parentda7389ac6c83e7aa8b04ebe5ba546df2a7873c5c (diff)
downloadlinux-58bea4144d235cee5bb51203b032ddafd6d1cf8d.tar.xz
latent_entropy: Fix wrong gcc code generation with 64 bit variables
The stack frame size could grow too large when the plugin used long long on 32-bit architectures when the given function had too many basic blocks. The gcc warning was: drivers/pci/hotplug/ibmphp_ebda.c: In function 'ibmphp_access_ebda': drivers/pci/hotplug/ibmphp_ebda.c:409:1: warning: the frame size of 1108 bytes is larger than 1024 bytes [-Wframe-larger-than=] This switches latent_entropy from u64 to unsigned long. Thanks to PaX Team and Emese Revfy for the patch. Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions