linux-stable/drivers/scsi/aic7xxx/aicasm
Tom Rix b4de11dfb5 scsi: aic7xxx: Remove multiple definition of globals
Building aicasm with gcc 10.2 + gas 26.1 causes these errors:

  multiple definition of `args';
  multiple definition of `yylineno';

args came from the expansion of:

  STAILQ_HEAD(macro_arg_list, macro_arg) args;

The definition of the macro_arg_list structure is needed, the global
variable 'args' is not, so delete it.

yylineno is defined by flex, so defining it in bison/*.y file is not
needed. Also delete this.

Link: https://lore.kernel.org/r/20210517205057.1850010-1-trix@redhat.com
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-05-21 22:05:50 -04:00
..
aicasm.c
aicasm.h
aicasm_gram.y scsi: aic7xxx: Remove multiple definition of globals 2021-05-21 22:05:50 -04:00
aicasm_insformat.h
aicasm_macro_gram.y
aicasm_macro_scan.l
aicasm_scan.l
aicasm_symbol.c
aicasm_symbol.h scsi: aic7xxx: Remove multiple definition of globals 2021-05-21 22:05:50 -04:00
Makefile