2020-11-30 21:00:52

by Tom Rix

[permalink] [raw]
Subject: [PATCH v2] scsi: qla2xxx: remove trailing semicolon in macro definition

From: Tom Rix <[email protected]>

The macro use will already have a semicolon.
Remove unneeded escaped newline.

Signed-off-by: Tom Rix <[email protected]>
---
v2: remove unneeded escaped newline
---
drivers/scsi/qla2xxx/qla_def.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index ed9b10f8537d..6248e528efe5 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -4970,8 +4970,7 @@ struct secure_flash_update_block_pk {
} while (0)

#define QLA_QPAIR_MARK_NOT_BUSY(__qpair) \
- atomic_dec(&__qpair->ref_count); \
-
+ atomic_dec(&__qpair->ref_count)

#define QLA_ENA_CONF(_ha) {\
int i;\
--
2.18.4


2020-12-01 09:01:26

by Daniel Wagner

[permalink] [raw]
Subject: Re: [PATCH v2] scsi: qla2xxx: remove trailing semicolon in macro definition

On Mon, Nov 30, 2020 at 12:55:09PM -0800, [email protected] wrote:
> From: Tom Rix <[email protected]>
>
> The macro use will already have a semicolon.
> Remove unneeded escaped newline.
>
> Signed-off-by: Tom Rix <[email protected]>

Reviewed-by: Daniel Wagner <[email protected]>

2020-12-08 01:39:25

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH v2] scsi: qla2xxx: remove trailing semicolon in macro definition


Tom,

> The macro use will already have a semicolon. Remove unneeded escaped
> newline.

Applied to 5.11/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering

2020-12-09 17:29:17

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH v2] scsi: qla2xxx: remove trailing semicolon in macro definition

On Mon, 30 Nov 2020 12:55:09 -0800, [email protected] wrote:

> The macro use will already have a semicolon.
> Remove unneeded escaped newline.

Applied to 5.11/scsi-queue, thanks!

[1/1] scsi: qla2xxx: remove trailing semicolon in macro definition
https://git.kernel.org/mkp/scsi/c/8f525bc2a7b2

--
Martin K. Petersen Oracle Linux Engineering