Re: [RFC PATCH] Fusion MPT: disable pci device when mpt map resoures failed

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

 



On 2012/8/11 0:32, Yinghai Lu wrote:
> On Fri, Aug 10, 2012 at 2:08 AM, Hanjun Guo <guohanjun@xxxxxxxxxx> wrote:
>> when probe a pci device, first we enable it, and disable it when
>> some error happened in the following process, because the power
>> state of the device is set to D0, and if MSI is disabled,
>> we will allocate irq and register gsi for this device in the enable process.
>>
>> In function mpt_mapresources(MPT_ADAPTER *ioc), it forgot disable the
>> pci device when error happened, the irq and gsi will never be released.
>> this patch will fix it.
>>
>> Signed-off-by: Hanjun Guo <guohanjun@xxxxxxxxxx>
>> Signed-off-by: Jiang Liu <jiang.liu@xxxxxxxxxx>
>> ---
>>  drivers/message/fusion/mptbase.c |   18 +++++++++++-------
>>  1 files changed, 11 insertions(+), 7 deletions(-)
> 
> You may need to send to LSI and scsi list.
> 
> You need to use ./scripts/get_maintainer.pl to find out right CC list.
> 
> Thanks
> 
> Yinghai

Hi Yinghai,

Thanks for your help, I really appreciate it.

I will resend this patch with the right CC list.

Thanks,
Hanjun Guo



--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux