From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
linux-scsi@vger.kernel.org, Arun Easi <arun.easi@qlogic.com>,
Giridhar Malavali <giridhar.malavali@qlogic.com>
Subject: Re: [PATCH] scsi: qla2xxx: Fix set-but-not-used variable warnings
Date: Mon, 07 Nov 2022 22:38:44 -0500 [thread overview]
Message-ID: <yq1a652jeth.fsf@ca-mkp.ca.oracle.com> (raw)
In-Reply-To: <20221031224818.2607882-1-bvanassche@acm.org> (Bart Van Assche's message of "Mon, 31 Oct 2022 15:48:18 -0700")
Bart,
> Fix the following two compiler warnings:
>
> drivers/scsi/qla2xxx/qla_init.c: In function ‘qla24xx_async_abort_cmd’:
> drivers/scsi/qla2xxx/qla_init.c:171:17: warning: variable ‘bail’ set but not used [-Wunused-but-set-variable]
> 171 | uint8_t bail;
> | ^~~~
> drivers/scsi/qla2xxx/qla_init.c: In function ‘qla2x00_async_tm_cmd’:
> drivers/scsi/qla2xxx/qla_init.c:2023:17: warning: variable ‘bail’ set but not used [-Wunused-but-set-variable]
> 2023 | uint8_t bail;
> | ^~~~
Applied to 6.2/scsi-staging, thanks!
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2022-11-08 3:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-31 22:48 [PATCH] scsi: qla2xxx: Fix set-but-not-used variable warnings Bart Van Assche
2022-11-08 3:38 ` Martin K. Petersen [this message]
2022-11-17 18:29 ` Martin K. Petersen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yq1a652jeth.fsf@ca-mkp.ca.oracle.com \
--to=martin.petersen@oracle.com \
--cc=arun.easi@qlogic.com \
--cc=bvanassche@acm.org \
--cc=giridhar.malavali@qlogic.com \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox