Re: [PATCH 2/2] ipr: differentiate pci-x and pci-e based adapters

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

 



Wayne Boyer wrote:
> @@ -7539,7 +7539,8 @@
>  	ata_host_init(&ioa_cfg->ata_host, &pdev->dev,
>  		      sata_port_info.flags, &ipr_sata_ops);
> 
> -	ioa_cfg->chip_cfg = ipr_get_chip_cfg(dev_id);
> +	ioa_cfg->ipr_chip = ipr_get_chip_info(dev_id);
> +	ioa_cfg->chip_cfg = ioa_cfg->ipr_chip->cfg;

If ipr_get_chip_info returns NULL you will oops here.

-Brian

-- 
Brian King
Linux on Power Virtualization
IBM Linux Technology Center


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

[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