mbox series

[v2,0/2] Fix sparse warnings in scsi_debug

Message ID 20220301113009.595857-1-damien.lemoal@opensource.wdc.com (mailing list archive)
Headers show
Series Fix sparse warnings in scsi_debug | expand

Message

Damien Le Moal March 1, 2022, 11:30 a.m. UTC
A couple of patches to suppress sparse warnings in scsi_debug. No
functional changes.

Changes from v1:
* Added Acked-by tag to patch 1
* Fixed patch 2 (find_next_bit() call and break comment)

Damien Le Moal (2):
  scsi: scsi_debug: silence sparse unexpected unlock warnings
  scsi: scsi_debug: fix qc_lock use in sdebug_blk_mq_poll()

 drivers/scsi/scsi_debug.c | 84 ++++++++++++++++++++++++---------------
 1 file changed, 51 insertions(+), 33 deletions(-)

Comments

Martin K. Petersen March 9, 2022, 3:31 a.m. UTC | #1
Damien,

> A couple of patches to suppress sparse warnings in scsi_debug. No
> functional changes.

Applied to 5.18/scsi-staging, thanks!
Martin K. Petersen March 15, 2022, 5:02 a.m. UTC | #2
On Tue, 1 Mar 2022 20:30:07 +0900, Damien Le Moal wrote:

> A couple of patches to suppress sparse warnings in scsi_debug. No
> functional changes.
> 
> Changes from v1:
> * Added Acked-by tag to patch 1
> * Fixed patch 2 (find_next_bit() call and break comment)
> 
> [...]

Applied to 5.18/scsi-queue, thanks!

[1/2] scsi: scsi_debug: silence sparse unexpected unlock warnings
      https://git.kernel.org/mkp/scsi/c/e9c478014b60
[2/2] scsi: scsi_debug: fix qc_lock use in sdebug_blk_mq_poll()
      https://git.kernel.org/mkp/scsi/c/3fd07aecb750