linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: aacraid: Clean up errors in linit.c
@ 2024-01-11 11:30 XueBing Chen
  0 siblings, 0 replies; only message in thread
From: XueBing Chen @ 2024-01-11 11:30 UTC (permalink / raw)
  To: jejb, aacraid, martin.petersen; +Cc: linux-kernel, linux-scsi, XueBing Chen

Fix the following errors reported by checkpatch:

ERROR: "foo* bar" should be "foo *bar"
ERROR: "foo * bar" should be "foo *bar"

Signed-off-by: XueBing Chen <chenxb_99091@126.com>
---
 drivers/scsi/aacraid/linit.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index 68f4dbcfff49..cd62e95a7c7a 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -676,12 +676,12 @@ static int get_num_of_incomplete_fibs(struct aac_dev *aac)
 	return fcnt.mlcnt + fcnt.llcnt + fcnt.ehcnt + fcnt.fwcnt;
 }
 
-static int aac_eh_abort(struct scsi_cmnd* cmd)
+static int aac_eh_abort(struct scsi_cmnd *cmd)
 {
 	struct aac_cmd_priv *cmd_priv = aac_priv(cmd);
-	struct scsi_device * dev = cmd->device;
-	struct Scsi_Host * host = dev->host;
-	struct aac_dev * aac = (struct aac_dev *)host->hostdata;
+	struct scsi_device *dev = cmd->device;
+	struct Scsi_Host *host = dev->host;
+	struct aac_dev *aac = (struct aac_dev *)host->hostdata;
 	int count, found;
 	u32 bus, cid;
 	int ret = FAILED;
@@ -900,9 +900,9 @@ static void aac_tmf_callback(void *context, struct fib *fibptr)
  */
 static int aac_eh_dev_reset(struct scsi_cmnd *cmd)
 {
-	struct scsi_device * dev = cmd->device;
-	struct Scsi_Host * host = dev->host;
-	struct aac_dev * aac = (struct aac_dev *)host->hostdata;
+	struct scsi_device *dev = cmd->device;
+	struct Scsi_Host *host = dev->host;
+	struct aac_dev *aac = (struct aac_dev *)host->hostdata;
 	struct aac_hba_map_info *info;
 	int count;
 	u32 bus, cid;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-11 11:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-11 11:30 [PATCH] scsi: aacraid: Clean up errors in linit.c XueBing Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).