linux/drivers/scsi/aic7xxx/aicasm
Bart Van Assche 1821f77fda scsi: aic7xxx: Fix compiler warnings triggered by user space code
Fix the following compiler warnings:

aicasm_gram.y:1107:24: warning: comparison of different enumeration types
      ('scope_type' and 'enum yytokentype') [-Wenum-compare]
 1107 |                  || last_scope->type == T_ELSE) {
      |                     ~~~~~~~~~~~~~~~~ ^  ~~~~~~
aicasm_scan.l:392:14: warning: using the result of an assignment as a condition
      without parentheses [-Wparentheses]
  392 |                                 while (c = *yptr++) {
      |                                        ~~^~~~~~~~~
aicasm_macro_scan.l:153:1: warning: non-void function does not return a value
      [-Wreturn-type]
  153 | }
      | ^

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://patch.msgid.link/20260402153341.2909184-1-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2026-04-02 21:18:12 -04:00
..
aicasm_gram.y scsi: aic7xxx: Fix compiler warnings triggered by user space code 2026-04-02 21:18:12 -04:00
aicasm_insformat.h
aicasm_macro_gram.y scsi: aic7xxx: Fix build 'aicasm' warning 2025-01-10 17:52:39 -05:00
aicasm_macro_scan.l
aicasm_scan.l scsi: aic7xxx: Fix compiler warnings triggered by user space code 2026-04-02 21:18:12 -04:00
aicasm_symbol.c scsi: aic7xxx: Fix firmware build fatal error 2023-07-31 11:28:55 -04:00
aicasm_symbol.h
aicasm.c
aicasm.h scsi: aic7xxx: Fix compiler warnings triggered by user space code 2026-04-02 21:18:12 -04:00
Makefile scsi: aic7xxx: Fix firmware build fatal error 2023-07-31 11:28:55 -04:00