From: Tomas Henzl Date: Wed, 22 Dec 2010 15:52:40 +0000 (+0100) Subject: [SCSI] lpfc: lower stack use in lpfc_fc_frame_check X-Git-Tag: v2.6.38-rc1~466^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=474ffb74c75ea9845860ffb24cdc127eda0d5657;p=pandora-kernel.git [SCSI] lpfc: lower stack use in lpfc_fc_frame_check according to checkstack the lpfc_fc_frame_check occupies the first place in stack usage: make checkstack objdump -d vmlinux $(find . -name '*.ko') | \ perl /root/rpmbuild/BUILD/kernel-2.6.32/linux-2.6.32.x86_64/scripts/checkstack.pl x86_64 0x000013f4 lpfc_fc_frame_check [lpfc]: 1936 ... This change makes the rctl_names static, thus not on stack. Signed-off-by: Tomas Henzl Acked-by: James Smart Signed-off-by: James Bottomley --- Reading git-diff-tree failed