Re: [PATCH for-7.2 v2 2/6] hw/nvme: fix cancellation of format operations

2022-11-10 Thread Philippe Mathieu-Daudé
On 10/11/22 10:53, Philippe Mathieu-Daudé wrote: On 10/11/22 08:05, Klaus Jensen wrote: From: Klaus Jensen Cancelling a format operation neglects to set iocb->ret as well as clearing the iocb->aiocb after cancelling the underlying aiocb. Fix this. Fixes: 3bcf26d3d619 ("hw/nvme: reimplement f

Re: [PATCH for-7.2 v2 2/6] hw/nvme: fix cancellation of format operations

2022-11-10 Thread Philippe Mathieu-Daudé
On 10/11/22 08:05, Klaus Jensen wrote: From: Klaus Jensen Cancelling a format operation neglects to set iocb->ret as well as clearing the iocb->aiocb after cancelling the underlying aiocb. Fix this. Fixes: 3bcf26d3d619 ("hw/nvme: reimplement format nvm to allow cancellation") Signed-off-by: K

[PATCH for-7.2 v2 2/6] hw/nvme: fix cancellation of format operations

2022-11-09 Thread Klaus Jensen
From: Klaus Jensen Cancelling a format operation neglects to set iocb->ret as well as clearing the iocb->aiocb after cancelling the underlying aiocb. Fix this. Fixes: 3bcf26d3d619 ("hw/nvme: reimplement format nvm to allow cancellation") Signed-off-by: Klaus Jensen --- hw/nvme/ctrl.c | 3 +++