Commit 305f2261 authored by Lee Jones's avatar Lee Jones Committed by Jason Gunthorpe

RDMA/hw/qib/qib_intr: Fix a bunch of formatting issues

Fixes the following W=1 kernel build warning(s):

 drivers/infiniband/hw/qib/qib_intr.c:48: warning: Function parameter or member 'msg' not described in 'qib_format_hwmsg'
 drivers/infiniband/hw/qib/qib_intr.c:48: warning: Function parameter or member 'msgl' not described in 'qib_format_hwmsg'
 drivers/infiniband/hw/qib/qib_intr.c:48: warning: Function parameter or member 'hwmsg' not described in 'qib_format_hwmsg'
 drivers/infiniband/hw/qib/qib_intr.c:64: warning: Function parameter or member 'hwerrs' not described in 'qib_format_hwerrors'
 drivers/infiniband/hw/qib/qib_intr.c:64: warning: Function parameter or member 'hwerrmsgs' not described in 'qib_format_hwerrors'
 drivers/infiniband/hw/qib/qib_intr.c:64: warning: Function parameter or member 'nhwerrmsgs' not described in 'qib_format_hwerrors'
 drivers/infiniband/hw/qib/qib_intr.c:64: warning: Function parameter or member 'msg' not described in 'qib_format_hwerrors'
 drivers/infiniband/hw/qib/qib_intr.c:64: warning: Function parameter or member 'msgl' not described in 'qib_format_hwerrors'

Link: https://lore.kernel.org/r/20210121094519.2044049-11-lee.jones@linaro.org
Cc: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Cc: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
Cc: Doug Ledford <dledford@redhat.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: linux-rdma@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
parent 7040557c
...@@ -40,9 +40,9 @@ ...@@ -40,9 +40,9 @@
/** /**
* qib_format_hwmsg - format a single hwerror message * qib_format_hwmsg - format a single hwerror message
* @msg message buffer * @msg: message buffer
* @msgl length of message buffer * @msgl: length of message buffer
* @hwmsg message to add to message buffer * @hwmsg: message to add to message buffer
*/ */
static void qib_format_hwmsg(char *msg, size_t msgl, const char *hwmsg) static void qib_format_hwmsg(char *msg, size_t msgl, const char *hwmsg)
{ {
...@@ -53,11 +53,11 @@ static void qib_format_hwmsg(char *msg, size_t msgl, const char *hwmsg) ...@@ -53,11 +53,11 @@ static void qib_format_hwmsg(char *msg, size_t msgl, const char *hwmsg)
/** /**
* qib_format_hwerrors - format hardware error messages for display * qib_format_hwerrors - format hardware error messages for display
* @hwerrs hardware errors bit vector * @hwerrs: hardware errors bit vector
* @hwerrmsgs hardware error descriptions * @hwerrmsgs: hardware error descriptions
* @nhwerrmsgs number of hwerrmsgs * @nhwerrmsgs: number of hwerrmsgs
* @msg message buffer * @msg: message buffer
* @msgl message buffer length * @msgl: message buffer length
*/ */
void qib_format_hwerrors(u64 hwerrs, const struct qib_hwerror_msgs *hwerrmsgs, void qib_format_hwerrors(u64 hwerrs, const struct qib_hwerror_msgs *hwerrmsgs,
size_t nhwerrmsgs, char *msg, size_t msgl) size_t nhwerrmsgs, char *msg, size_t msgl)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment