git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57fc3b7
)
staging: rtl8192ee: Pass large struct by const reference
author
Rasmus Villemoes
<linux@rasmusvillemoes.dk>
Tue, 1 Jul 2014 10:25:45 +0000
(12:25 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 8 Jul 2014 23:51:48 +0000
(16:51 -0700)
struct rtl_stats is rather huge (152 bytes), and since
rtl92ee_rx_command_packet() does not modify it, it might as
well be passed by const reference.
Reported by Coverity: CID 1222131
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192ee/pci.c
patch
|
blob
|
history
drivers/staging/rtl8192ee/rtl8192ee/trx.c
patch
|
blob
|
history
drivers/staging/rtl8192ee/rtl8192ee/trx.h
patch
|
blob
|
history
drivers/staging/rtl8192ee/wifi.h
patch
|
blob
|
history
diff --cc
drivers/staging/rtl8192ee/pci.c
Simple merge
diff --cc
drivers/staging/rtl8192ee/rtl8192ee/trx.c
Simple merge
diff --cc
drivers/staging/rtl8192ee/rtl8192ee/trx.h
Simple merge
diff --cc
drivers/staging/rtl8192ee/wifi.h
Simple merge