[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq18sbs7c83.fsf@ca-mkp.ca.oracle.com>
Date: Mon, 26 Oct 2020 20:20:02 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: ching Huang <ching2048@...ca.com.tw>
Cc: martin.petersen@...cle.com, James.Bottomley@...senPartnership.com,
linux-scsi@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] scsi: arcmsr: Configure the default SCSI device
command timeout value
Ching,
The following hunk doesn't appear to be related to the command timeout
changes:
> @@ -3156,10 +3162,12 @@ message_out:
>
> static struct CommandControlBlock *arcmsr_get_freeccb(struct AdapterControlBlock *acb)
> {
> - struct list_head *head = &acb->ccb_free_list;
> + struct list_head *head;
> struct CommandControlBlock *ccb = NULL;
> unsigned long flags;
> +
> spin_lock_irqsave(&acb->ccblist_lock, flags);
> + head = &acb->ccb_free_list;
> if (!list_empty(head)) {
> ccb = list_entry(head->next, struct CommandControlBlock, list);
> list_del_init(&ccb->list);
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists