• J
    [SCSI] arcmsr: fix compile problems · 685b9e02
    James Bottomley 提交于
      CC [M]  drivers/scsi/arcmsr/arcmsr_hba.o
    drivers/scsi/arcmsr/arcmsr_attr.c:186: warning: initialization from
    incompatible pointer type
    drivers/scsi/arcmsr/arcmsr_attr.c:196: warning: initialization from
    incompatible pointer type
    drivers/scsi/arcmsr/arcmsr_attr.c:206: warning: initialization from
    incompatible pointer type
    drivers/scsi/arcmsr/arcmsr_hba.c: In function 'arcmsr_alloc_ccb_pool':
    drivers/scsi/arcmsr/arcmsr_hba.c:329: warning: assignment from
    incompatible pointer type
    drivers/scsi/arcmsr/arcmsr_hba.c: At top level:
    drivers/scsi/arcmsr/arcmsr_hba.c:101: warning:
    'arcmsr_pci_error_detected' declared 'static' but never defined
    drivers/scsi/arcmsr/arcmsr_hba.c:102: warning: 'arcmsr_pci_slot_reset'
    declared 'static' but never defined
    
    The majority being incorrect casting or the fact that binary attributes
    now take an additional argument.
    
    Cc: Nick Cheng <nick.cheng@areca.com.tw>
    Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
    685b9e02
arcmsr_hba.c 66.2 KB