From: Rasmus Villemoes Date: Tue, 1 Jul 2014 10:25:44 +0000 (+0200) Subject: staging: rtl8821ae: Pass large struct by const reference X-Git-Tag: cleanup-for-v3.18~125^2~1141 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57fc3b7c4d4dbc368d1b108d63fc9c465204c43a;p=pandora-kernel.git staging: rtl8821ae: Pass large struct by const reference struct rtl_stats is rather huge (152 bytes), and since rtl8812ae_rx_command_packet_handler() does not modify it, it might as well be passed by const reference. Reported by Coverity: CID 1167285 Signed-off-by: Rasmus Villemoes Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed