summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aha152x.h
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-11-07 00:21:26 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-26 17:19:23 -0800
commit6f03053b6810c7ca315afb30b31b63d9f5863faf (patch)
treea70289993b2e63587e8662856c33e066a64973b6 /drivers/scsi/aha152x.h
parent7c19c1e80d348a5c79b65f9fc3d54bbbeea9cd0f (diff)
downloadlinux-stable-6f03053b6810c7ca315afb30b31b63d9f5863faf.tar.gz
linux-stable-6f03053b6810c7ca315afb30b31b63d9f5863faf.tar.bz2
linux-stable-6f03053b6810c7ca315afb30b31b63d9f5863faf.zip
rtl8192e: Don't copy huge struct by value (and make it const).
rtllib_is_shortslot() takes one argument - a struct that's more than a kilobyte large. It should take a pointer instead of copying such a huge struct - and the argument might as well be declared 'const' now that we are at it, since it is not modified. This patch makes these changes. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/scsi/aha152x.h')
0 files changed, 0 insertions, 0 deletions