scsi: 3w-9xxx: Move * operator to clean up code style warning

Message ID 20210416094713.2033212-1-colin.king@canonical.com
State New
Headers show
Series
  • scsi: 3w-9xxx: Move * operator to clean up code style warning
Related show

Commit Message

Colin King April 16, 2021, 9:47 a.m.
From: Colin Ian King <colin.king@canonical.com>

Checkpatch is warning that char* text sould be char *text to match
the coding style. Fix this.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/scsi/3w-9xxx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Martin K. Petersen April 27, 2021, 2:48 a.m. | #1
Colin,

> Checkpatch is warning that char* text sould be char *text to match the

> coding style. Fix this.


Applied to 5.14/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering
Martin K. Petersen May 11, 2021, 3:25 a.m. | #2
On Fri, 16 Apr 2021 10:47:13 +0100, Colin King wrote:

> Checkpatch is warning that char* text sould be char *text to match

> the coding style. Fix this.


Applied to 5.14/scsi-queue, thanks!

[1/1] scsi: 3w-9xxx: Move * operator to clean up code style warning
      https://git.kernel.org/mkp/scsi/c/1b3babe20049

-- 
Martin K. Petersen	Oracle Linux Engineering

Patch

diff --git a/drivers/scsi/3w-9xxx.h b/drivers/scsi/3w-9xxx.h
index d3f479324527..30109ae96ce5 100644
--- a/drivers/scsi/3w-9xxx.h
+++ b/drivers/scsi/3w-9xxx.h
@@ -50,7 +50,7 @@ 
 /* AEN string type */
 typedef struct TAG_twa_message_type {
 	unsigned int   code;
-	char*	       text;
+	char           *text;
 } twa_message_type;
 
 /* AEN strings */