From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH 5/8] infiniband: fix ulp/srpt/ib_srpt.c kernel-doc notation Date: Fri, 05 Jan 2018 16:22:16 -0800 Message-ID: <5a5016c0.4c0a620a.ed2b3.60da@mx.google.com> Return-path: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Randy Dunlap List-Id: linux-rdma@vger.kernel.org Use correct parameter names in kernel-doc notation to eliminate warnings from scripts/kernel-doc. ../drivers/infiniband/ulp/srpt/ib_srpt.c:1146: warning: Excess function parameter 'context' description in 'srpt_abort_cmd' ../drivers/infiniband/ulp/srpt/ib_srpt.c:1482: warning: Excess function parameter 'ioctx' description in 'srpt_handle_new_iu' Signed-off-by: Randy Dunlap Cc: Doug Ledford Cc: Jason Gunthorpe Cc: linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org --- drivers/infiniband/ulp/srpt/ib_srpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20171222.orig/drivers/infiniband/ulp/srpt/ib_srpt.c +++ linux-next-20171222/drivers/infiniband/ulp/srpt/ib_srpt.c @@ -1139,7 +1139,6 @@ static struct srpt_send_ioctx *srpt_get_ /** * srpt_abort_cmd() - Abort a SCSI command. * @ioctx: I/O context associated with the SCSI command. - * @context: Preferred execution context. */ static int srpt_abort_cmd(struct srpt_send_ioctx *ioctx) { @@ -1473,7 +1472,8 @@ fail: /** * srpt_handle_new_iu() - Process a newly received information unit. * @ch: RDMA channel through which the information unit has been received. - * @ioctx: SRPT I/O context associated with the information unit. + * @recv_ioctx: SRPT I/O context associated with the receive information unit. + * @send_ioctx: SRPT I/O context associated with the send information unit. */ static void srpt_handle_new_iu(struct srpt_rdma_ch *ch, struct srpt_recv_ioctx *recv_ioctx, -- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html