Re: [PATCH] scsi: esas2r: Remove unnecessary casts

2020-08-31 Thread Martin K. Petersen
On Thu, 20 Aug 2020 19:14:11 +0100, Alex Dewar wrote: > In a number of places in esas2r_ioctl.c, the void* returned from > pci_alloc_consistent() is cast unnecessarily. Remove casts. > > Issue identified with Coccinelle. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: esas2r: Remove unnecessary

[PATCH] scsi: esas2r: Remove unnecessary casts

2020-08-20 Thread Alex Dewar
In a number of places in esas2r_ioctl.c, the void* returned from pci_alloc_consistent() is cast unnecessarily. Remove casts. Issue identified with Coccinelle. Signed-off-by: Alex Dewar --- drivers/scsi/esas2r/esas2r_ioctl.c | 28 +--- 1 file changed, 13 insertions(+), 15