[v2,0/2] cleanup patch

Message ID 20231016020847.1270258-1-haowenchao2@huawei.com
Headers
Series cleanup patch |

Message

Wenchao Hao Oct. 16, 2023, 2:08 a.m. UTC
  This is a cleanup patchset, no logic changed.

The first patch just cleanup scsi_dev_queue_ready();
The second patch add comment for target_destroy callback of
scsi_host_template to tell it is called in atomic context.

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  | 35 ++++++++++++++++++-----------------
 include/scsi/scsi_host.h |  3 +++
 2 files changed, 21 insertions(+), 17 deletions(-)
  

Comments

Wenchao Hao Oct. 17, 2023, 5:01 p.m. UTC | #1
On Mon, Oct 16, 2023 at 10:09 AM Wenchao Hao <haowenchao2@huawei.com> wrote:
>
> This is a cleanup patchset, no logic changed.
>
> The first patch just cleanup scsi_dev_queue_ready();
> The second patch add comment for target_destroy callback of
> scsi_host_template to tell it is called in atomic context.
>

Friendly ping...

> 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  | 35 ++++++++++++++++++-----------------
>  include/scsi/scsi_host.h |  3 +++
>  2 files changed, 21 insertions(+), 17 deletions(-)
>
> --
> 2.32.0
>