Thread (7 messages) 7 messages, 4 authors, 2015-12-17

Re: [PATCH] net: add Qualcomm IPC router

From: Dan Williams <hidden>
Date: 2015-12-15 21:13:32
Also in: linux-arm-kernel, linux-arm-msm, lkml, netdev

On Tue, 2015-12-15 at 16:01 -0500, David Miller wrote:
From: Bjorn Andersson <bjorn.andersson-/MT0OVThwyLZJqsBc5GL+g@public.gmane.org>
Date: Fri, 11 Dec 2015 12:41:59 -0800
quoted
+static unsigned int qrtr_local_nid = 1;
+module_param_named(node_id, qrtr_local_nid, uint, S_IRUGO);
+MODULE_PARM_DESC(idVendor, "Local Node Identifier");
Also s/idVendor/node_id?

Dan
Module parameters suck.

Allow the user to choose this dynamically.  You have roughtly two
choices.

1) Subvert the 'protocol' field passed to ->create() and use that, it
is
   being ignored otherwise.

2) Put it into the socket address for bind().
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help