Re: [PATCH] mpi3mr: rework mrioc->bsg_device model to fix up smatch warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/26/22 19:01, Sumit Saxena wrote:
> During driver unload, "mrioc->bsg_device" reference count becomes negative.
> Also, as reported in [1], driver's bsg_device model had few more 
> bugs so reworked it to fix up them.
>
> [1] https://marc.info/?l=linux-scsi&m=165183971411991&w=2
>
> Fixes: 4268fa751365 ("scsi: mpi3mr: Add bsg device support")
> Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Signed-off-by: Sumit Saxena <sumit.saxena@xxxxxxxxxxxx>

I've been seeing the issue when rmmod the driver, with this patch it's gone.

Tested-by: Tomas Henzl <thenzl@xxxxxxxxxx>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux