projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0fe3cc
)
IB/mad: Make needlessly global mad_sendq_size/mad_recvq_size static
author
Roland Dreier
<rolandd@cisco.com>
Mon, 24 May 2010 04:39:31 +0000
(21:39 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Mon, 24 May 2010 04:39:31 +0000
(21:39 -0700)
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/mad.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/core/mad.c
b/drivers/infiniband/core/mad.c
index 6dc7b77d5d297e3a2f8ab267a6168aa12299263c..ef1304f151dc6fbaf9cf847a79557b1953f3e448 100644
(file)
--- a/
drivers/infiniband/core/mad.c
+++ b/
drivers/infiniband/core/mad.c
@@
-47,8
+47,8
@@
MODULE_DESCRIPTION("kernel IB MAD API");
MODULE_AUTHOR("Hal Rosenstock");
MODULE_AUTHOR("Sean Hefty");
-int mad_sendq_size = IB_MAD_QP_SEND_SIZE;
-int mad_recvq_size = IB_MAD_QP_RECV_SIZE;
+
static
int mad_sendq_size = IB_MAD_QP_SEND_SIZE;
+
static
int mad_recvq_size = IB_MAD_QP_RECV_SIZE;
module_param_named(send_queue_size, mad_sendq_size, int, 0444);
MODULE_PARM_DESC(send_queue_size, "Size of send queue in number of work requests");