Thread (16 messages) 16 messages, 3 authors, 2021-03-10

Re: [PATCH V2 3/6] nvmet: remove unnecessary function parameters

From: Sagi Grimberg <sagi@grimberg.me>
Date: 2021-03-05 22:41:01

The function nvmet_ctrl_find_get() accepts subsysnqn, hostnqn, cntlid,
nvmet_req, and out pointer to nvmet_ctrl structure. The parameters
subsysnqn, hostnqn and cntlid can be derived from the caller's
struct nvmf_connect_data.

Replace these parameters with structure pointer nvmf_connect_data *d.
Usually its preferable to use explicit parameters instead of a wire
transferred data structure. Not sure this particular change is useful.

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help