[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166787988588.644518.7669734649788670116.b4-ty@oracle.com>
Date: Mon, 7 Nov 2022 23:01:54 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: John Garry <john.garry@...wei.com>, jejb@...ux.ibm.com,
jinpu.wang@...ud.ionos.com
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, damien.lemoal@...nsource.wdc.com,
linux-scsi@...r.kernel.org
Subject: Re: [PATCH] scsi: pm8001: Drop !task check in pm8001_abort_task()
On Wed, 26 Oct 2022 18:56:04 +0800, John Garry wrote:
> In commit 0b639decf651 ("scsi: pm8001: Modify task abort handling for SATA
> task"), code was introduced to dereference "task" pointer in
> pm8001_abort_task(). However there was a pre-existing later check for
> "!task", which spooked the kernel test robot.
>
> Function pm8001_abort_task() should never be passed NULL for "task"
> pointer, so remove that check. Also remove the "unlikely" hint, as this is
> not fastpath code.
>
> [...]
Applied to 6.2/scsi-queue, thanks!
[1/1] scsi: pm8001: Drop !task check in pm8001_abort_task()
https://git.kernel.org/mkp/scsi/c/4481bdc677c1
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists