linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: 3w-9xxx: Move * operator to clean up code style warning
@ 2021-04-16  9:47 Colin King
  2021-04-27  2:48 ` Martin K. Petersen
  2021-05-11  3:25 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Colin King @ 2021-04-16  9:47 UTC (permalink / raw)
  To: Adam Radford, James E . J . Bottomley, Martin K . Petersen, linux-scsi
  Cc: kernel-janitors, linux-kernel

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(-)

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 */
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi: 3w-9xxx: Move * operator to clean up code style warning
  2021-04-16  9:47 [PATCH] scsi: 3w-9xxx: Move * operator to clean up code style warning Colin King
@ 2021-04-27  2:48 ` Martin K. Petersen
  2021-05-11  3:25 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2021-04-27  2:48 UTC (permalink / raw)
  To: Colin King
  Cc: Adam Radford, James E . J . Bottomley, Martin K . Petersen,
	linux-scsi, kernel-janitors, linux-kernel


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] scsi: 3w-9xxx: Move * operator to clean up code style warning
  2021-04-16  9:47 [PATCH] scsi: 3w-9xxx: Move * operator to clean up code style warning Colin King
  2021-04-27  2:48 ` Martin K. Petersen
@ 2021-05-11  3:25 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2021-05-11  3:25 UTC (permalink / raw)
  To: linux-scsi, Adam Radford, Colin King, James E . J . Bottomley
  Cc: Martin K . Petersen, linux-kernel, kernel-janitors

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-11  3:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16  9:47 [PATCH] scsi: 3w-9xxx: Move * operator to clean up code style warning Colin King
2021-04-27  2:48 ` Martin K. Petersen
2021-05-11  3:25 ` Martin K. Petersen

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).