• Christoph Hellwig's avatar
    [PATCH] aacraid updates for new probing APIs · be997811
    Christoph Hellwig authored
    On Wed, Nov 19, 2003 at 12:48:28PM +0000, Christoph Hellwig wrote:
    > On Tue, Nov 18, 2003 at 01:29:22PM -0800, Mark Haverkamp wrote:
    > > > +	pci_set_master(pdev);
    > > > +	pci_set_dma_mask(pdev, 0xFFFFFFFFULL);
    > >
    > > I've been told that the return value of this should be checked as it is
    > > possible for it to fail.
    >
    > Indeed.  This patches objective was to convert aacraid to the new-style
    > probing, not to fix bugs, but I'll add the fix to the next revision of
    > the patch anyway.
    
    Ok here's a new patch.  Updates:
    
      - check pci_set_dma_mask return value
      - fix leak in the HBA remove path
      - fix leak in probe_one failure case
      - remove unused list of hosts
      - avoid scsi.h usage all over driver
      - mention the updates in the README file
    be997811
commctrl.c 15.8 KB