[PATCH v3 0/2] cleanup patch

Wenchao Hao posted 2 patches 2 years, 2 months ago
drivers/scsi/scsi_lib.c  | 32 +++++++++++++++-----------------
include/scsi/scsi_host.h |  3 +++
2 files changed, 18 insertions(+), 17 deletions(-)
[PATCH v3 0/2] cleanup patch
Posted by Wenchao Hao 2 years, 2 months ago
This is a cleanup patchset, no logic changed.

The first patch cleanup scsi_dev_queue_ready();
The second patch add comment to tell callback target_destroy of
scsi_host_template must not sleep.

V3:
  - Update comments suggested by Bart

V2:
  - Tell which spinlock is held in comment of target_destroy

Wenchao Hao (2):
  scsi: core: cleanup scsi_dev_queue_ready()
  scsi: Add comment of target_destroy in scsi_host_template

 drivers/scsi/scsi_lib.c  | 32 +++++++++++++++-----------------
 include/scsi/scsi_host.h |  3 +++
 2 files changed, 18 insertions(+), 17 deletions(-)

-- 
2.32.0
Re: [PATCH v3 0/2] cleanup patch
Posted by Martin K. Petersen 2 years, 1 month ago
On Wed, 18 Oct 2023 19:37:44 +0800, Wenchao Hao wrote:

> This is a cleanup patchset, no logic changed.
> 
> The first patch cleanup scsi_dev_queue_ready();
> The second patch add comment to tell callback target_destroy of
> scsi_host_template must not sleep.
> 
> V3:
>   - Update comments suggested by Bart
> 
> [...]

Applied to 6.7/scsi-queue, thanks!

[1/2] scsi: core: cleanup scsi_dev_queue_ready()
      https://git.kernel.org/mkp/scsi/c/3dc985bfbd00
[2/2] scsi: Add comment of target_destroy in scsi_host_template
      https://git.kernel.org/mkp/scsi/c/82f52b2cd5fc

-- 
Martin K. Petersen	Oracle Linux Engineering
Re: [PATCH v3 0/2] cleanup patch
Posted by Martin K. Petersen 2 years, 1 month ago
Wenchao,

> This is a cleanup patchset, no logic changed.
>
> The first patch cleanup scsi_dev_queue_ready();
> The second patch add comment to tell callback target_destroy of
> scsi_host_template must not sleep.

Applied to 6.7/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering