• A
    sata_fsl: fix build with ATA_VERBOSE_DEBUG · b1f5dc48
    Anton Vorontsov 提交于
    This patch fixes build and few warnings when ATA_VERBOSE_DEBUG
    is defined:
    
      CC      drivers/ata/sata_fsl.o
    drivers/ata/sata_fsl.c: In function ‘sata_fsl_fill_sg’:
    drivers/ata/sata_fsl.c:338: warning: format ‘%x’ expects type ‘unsigned int’, but argument 3 has type ‘void *’
    drivers/ata/sata_fsl.c:338: warning: format ‘%x’ expects type ‘unsigned int’, but argument 4 has type ‘struct prde *’
    drivers/ata/sata_fsl.c: In function ‘sata_fsl_qc_issue’:
    drivers/ata/sata_fsl.c:459: error: ‘csr_base’ undeclared (first use in this function)
    drivers/ata/sata_fsl.c:459: error: (Each undeclared identifier is reported only once
    drivers/ata/sata_fsl.c:459: error: for each function it appears in.)
    drivers/ata/sata_fsl.c: In function ‘sata_fsl_freeze’:
    drivers/ata/sata_fsl.c:525: error: ‘csr_base’ undeclared (first use in this function)
    make[2]: *** [drivers/ata/sata_fsl.o] Error 1
    Signed-off-by: NAnton Vorontsov <avorontsov@ru.mvista.com>
    Signed-off-by: NJeff Garzik <jeff@garzik.org>
    b1f5dc48
sata_fsl.c 35.5 KB