https://github.com/torvalds/linux
Revision e957f608f321a97a60d065bccd01949590eef52e authored by Grant Grundler on 23 June 2009, 15:03:11 UTC, committed by Kyle McMartin on 03 July 2009, 03:34:08 UTC
gcc 4.4 warns about:
drivers/parisc/lba_pci.c: In function 'lba_pat_resources':
drivers/parisc/lba_pci.c:1099: warning: the frame size of 8280 bytes is larger than 4096 bytes

The problem is we declare two large structures on the stack. They don't need
to be on the stack since they are only used during LBA initialization (which
is serialized). Moving to be "static".

Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
1 parent ebc30a0
History
Tip revision: e957f608f321a97a60d065bccd01949590eef52e authored by Grant Grundler on 23 June 2009, 15:03:11 UTC
parisc: Fix gcc 4.4 warning in lba_pci.c
Tip revision: e957f60
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 945 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.7 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 147.5 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top