summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxlflash/common.h
diff options
context:
space:
mode:
authorUma Krishnan2018-03-26 18:30:37 +0200
committerMartin K. Petersen2018-04-19 01:32:47 +0200
commitfb77e52804afc51a1988438215197d1395fd1a95 (patch)
tree437bfe9f3fc0ff99dfaa4887d0abd32d3e370743 /drivers/scsi/cxlflash/common.h
parentscsi: cxlflash: Avoid clobbering context control register value (diff)
downloadkernel-qcow2-linux-fb77e52804afc51a1988438215197d1395fd1a95.tar.gz
kernel-qcow2-linux-fb77e52804afc51a1988438215197d1395fd1a95.tar.xz
kernel-qcow2-linux-fb77e52804afc51a1988438215197d1395fd1a95.zip
scsi: cxlflash: Add argument identifier names
Checkpatch throws a warning when the argument identifier names are not included in the function definitions. To avoid these warnings, argument identifiers are added in the existing function definitions. Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com> Acked-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/cxlflash/common.h')
-rw-r--r--drivers/scsi/cxlflash/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/cxlflash/common.h b/drivers/scsi/cxlflash/common.h
index 715c63c08892..ffcb1c62fbb7 100644
--- a/drivers/scsi/cxlflash/common.h
+++ b/drivers/scsi/cxlflash/common.h
@@ -232,8 +232,8 @@ struct hwq {
struct afu {
struct hwq hwqs[CXLFLASH_MAX_HWQS];
- int (*send_cmd)(struct afu *, struct afu_cmd *);
- int (*context_reset)(struct hwq *);
+ int (*send_cmd)(struct afu *afu, struct afu_cmd *cmd);
+ int (*context_reset)(struct hwq *hwq);
/* AFU HW */
struct cxlflash_afu_map __iomem *afu_map; /* entire MMIO map */