android_kernel_xiaomi_sm8350/drivers/scsi/aic7xxx
James Bottomley f45ffaec2e [SCSI] aic7xxx: fix aicasm build failure with gcc-3.4.6
On Tue, 2007-05-22 at 06:51 -0500, Bob Tracy wrote:
> Second try: originally reported this back on April 17th.  2.6.X
> kernel builds started failing after I upgraded my compiler from
> gcc-3.3.X to gcc-3.4.6:
>
> make -C drivers/scsi/aic7xxx/aicasm
> (...)
> gcc -I/usr/include -I. aicasm.c aicasm_symbol.c aicasm_gram.c aicasm_macro_gram.c aicasm_scan.c aicasm_macro_scan.c -o aicasm -ldb
> aicasm_gram.y:1948: error: conflicting types for 'yyerror'
> aicasm_gram.tab.c:3004: error: previous implicit declaration of 'yyerror' was here
> aicasm_macro_gram.y:162: error: conflicting types for 'mmerror'
> aicasm_macro_gram.tab.c:1196: error: previous implicit declaration of 'mmerror' was here

Fix is to add a prototype for yyerror and mmerror to the relevant files.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-05-22 14:08:59 -05:00
..
aicasm [SCSI] aic7xxx: fix aicasm build failure with gcc-3.4.6 2007-05-22 14:08:59 -05:00
.gitignore
aic7xxx_93cx6.c
aic7xxx_93cx6.h
aic7xxx_core.c [SCSI] aic7xxx: make functions static 2007-04-01 10:17:10 -05:00
aic7xxx_inline.h [SCSI] aic7xxx: fix byte I/O order in ahd_inw 2006-10-01 15:03:38 -05:00
aic7xxx_osm_pci.c [SCSI] aic7xxx: cleanups 2006-10-25 15:14:21 -07:00
aic7xxx_osm.c [SCSI] aic7xxx: Remove slave_destroy 2006-10-25 15:14:46 -07:00
aic7xxx_osm.h header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
aic7xxx_pci.c [SCSI] aic7xxx: cleanups 2006-10-25 15:14:21 -07:00
aic7xxx_pci.h
aic7xxx_proc.c [SCSI] aic7xxx: Remove slave_destroy 2006-10-25 15:14:46 -07:00
aic7xxx_reg_print.c_shipped
aic7xxx_reg.h_shipped
aic7xxx_seq.h_shipped
aic7xxx.h [SCSI] aic7xxx: make functions static 2007-04-01 10:17:10 -05:00
aic7xxx.reg
aic7xxx.seq
aic79xx_core.c [SCSI] aic79xx: make ahd_match_scb() static 2007-02-07 18:30:19 -05:00
aic79xx_inline.h [SCSI] aic7xxx: cleanups 2006-10-25 15:14:21 -07:00
aic79xx_osm_pci.c [SCSI] aic79xx: use dma_get_required_mask() 2007-02-10 12:58:06 -06:00
aic79xx_osm.c [SCSI] aic7xxx: make functions static 2007-04-01 10:17:10 -05:00
aic79xx_osm.h header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
aic79xx_pci.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
aic79xx_pci.h [SCSI] aic79xx: Add ASC-29320LPE ids to driver 2006-12-05 14:17:17 -06:00
aic79xx_proc.c [SCSI] aic7xxx: cleanups 2006-10-25 15:14:21 -07:00
aic79xx_reg_print.c_shipped
aic79xx_reg.h_shipped
aic79xx_seq.h_shipped
aic79xx.h [SCSI] aic79xx: make ahd_match_scb() static 2007-02-07 18:30:19 -05:00
aic79xx.reg
aic79xx.seq
aic7770_osm.c [PATCH] EISA bus MODALIAS attributes support 2006-09-27 08:26:19 -07:00
aic7770.c
aiclib.c
aiclib.h
cam.h
Kconfig.aic7xxx [SCSI] Remove some unused SCSI-related kernel config variables. 2007-04-01 10:11:16 -05:00
Kconfig.aic79xx [SCSI] Remove some unused SCSI-related kernel config variables. 2007-04-01 10:11:16 -05:00
Makefile
queue.h
scsi_iu.h
scsi_message.h