mirror of
https://github.com/torvalds/linux.git
synced 2026-10-15 20:30:02 +02:00
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>
|
||
|---|---|---|
| .. | ||
| aicasm | ||
| .gitignore | ||
| aic7xxx_93cx6.c | ||
| aic7xxx_93cx6.h | ||
| aic7xxx_core.c | ||
| aic7xxx_inline.h | ||
| aic7xxx_osm_pci.c | ||
| aic7xxx_osm.c | ||
| aic7xxx_osm.h | ||
| aic7xxx_pci.c | ||
| aic7xxx_pci.h | ||
| aic7xxx_proc.c | ||
| aic7xxx_reg_print.c_shipped | ||
| aic7xxx_reg.h_shipped | ||
| aic7xxx_seq.h_shipped | ||
| aic7xxx.h | ||
| aic7xxx.reg | ||
| aic7xxx.seq | ||
| aic79xx_core.c | ||
| aic79xx_inline.h | ||
| aic79xx_osm_pci.c | ||
| aic79xx_osm.c | ||
| aic79xx_osm.h | ||
| aic79xx_pci.c | ||
| aic79xx_pci.h | ||
| aic79xx_proc.c | ||
| aic79xx_reg_print.c_shipped | ||
| aic79xx_reg.h_shipped | ||
| aic79xx_seq.h_shipped | ||
| aic79xx.h | ||
| aic79xx.reg | ||
| aic79xx.seq | ||
| aic7770_osm.c | ||
| aic7770.c | ||
| aiclib.h | ||
| cam.h | ||
| Kconfig.aic7xxx | ||
| Kconfig.aic79xx | ||
| Makefile | ||
| queue.h | ||
| scsi_iu.h | ||
| scsi_message.h | ||