[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164489509960.14916.804349130118004364.b4-ty@oracle.com>
Date: Mon, 14 Feb 2022 22:18:35 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: ALIM AKHTAR <alim.akhtar@...sung.com>, beanhuo@...ron.com,
asutoshd@...eaurora.org, jejb@...ux.ibm.com,
Daejun Park <daejun7.park@...sung.com>, cang@...eaurora.org,
adrian.hunter@...el.com, linux-kernel@...r.kernel.org,
bvanassche@....org, linux-scsi@...r.kernel.org,
Jinyoung CHOI <j-young.choi@...sung.com>, avri.altman@....com
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>
Subject: Re: [PATCH] scsi: ufs: Fix divide zero case in ufshcd_map_queues()
On Mon, 14 Feb 2022 19:33:52 +0900, Jinyoung CHOI wrote:
> Before calling blk_mq_map_queues(), the mq_map and nr_queues belonging
> to "struct blk_mq_queue_map" must be a vaild value.
>
> If nr_queues is set to 0, the system may encounter the "divide zero"
> depending on the type of architecture.
>
> blk_mq_map_queues() -> queue_index()
>
> [...]
Applied to 5.17/scsi-fixes, thanks!
[1/1] scsi: ufs: Fix divide zero case in ufshcd_map_queues()
https://git.kernel.org/mkp/scsi/c/10af11564617
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists