diff options
Diffstat (limited to 'drivers/scsi/aic7xxx/aicasm')
-rw-r--r-- | drivers/scsi/aic7xxx/aicasm/aicasm_gram.y | 8 | ||||
-rw-r--r-- | drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.y | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/aic7xxx/aicasm/aicasm_gram.y b/drivers/scsi/aic7xxx/aicasm/aicasm_gram.y index e4064433842e..f1586a437906 100644 --- a/drivers/scsi/aic7xxx/aicasm/aicasm_gram.y +++ b/drivers/scsi/aic7xxx/aicasm/aicasm_gram.y | |||
@@ -803,7 +803,7 @@ macro_arglist: | |||
803 | | macro_arglist ',' T_ARG | 803 | | macro_arglist ',' T_ARG |
804 | { | 804 | { |
805 | if ($1 == 0) { | 805 | if ($1 == 0) { |
806 | stop("Comma without preceeding argument in arg list", | 806 | stop("Comma without preceding argument in arg list", |
807 | EX_DATAERR); | 807 | EX_DATAERR); |
808 | /* NOTREACHED */ | 808 | /* NOTREACHED */ |
809 | } | 809 | } |
@@ -1319,8 +1319,8 @@ code: | |||
1319 | ; | 1319 | ; |
1320 | 1320 | ||
1321 | /* | 1321 | /* |
1322 | * This grammer differs from the one in the aic7xxx | 1322 | * This grammar differs from the one in the aic7xxx |
1323 | * reference manual since the grammer listed there is | 1323 | * reference manual since the grammar listed there is |
1324 | * ambiguous and causes a shift/reduce conflict. | 1324 | * ambiguous and causes a shift/reduce conflict. |
1325 | * It also seems more logical as the "immediate" | 1325 | * It also seems more logical as the "immediate" |
1326 | * argument is listed as the second arg like the | 1326 | * argument is listed as the second arg like the |
@@ -1799,7 +1799,7 @@ format_3_instr(int opcode, symbol_ref_t *src, | |||
1799 | instr = seq_alloc(); | 1799 | instr = seq_alloc(); |
1800 | f3_instr = &instr->format.format3; | 1800 | f3_instr = &instr->format.format3; |
1801 | if (address->symbol == NULL) { | 1801 | if (address->symbol == NULL) { |
1802 | /* 'dot' referrence. Use the current instruction pointer */ | 1802 | /* 'dot' reference. Use the current instruction pointer */ |
1803 | addr = instruction_ptr + address->offset; | 1803 | addr = instruction_ptr + address->offset; |
1804 | } else if (address->symbol->type == UNINITIALIZED) { | 1804 | } else if (address->symbol->type == UNINITIALIZED) { |
1805 | /* forward reference */ | 1805 | /* forward reference */ |
diff --git a/drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.y b/drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.y index ff46aa6801bf..708326df0766 100644 --- a/drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.y +++ b/drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.y | |||
@@ -115,7 +115,7 @@ macro_arglist: | |||
115 | | macro_arglist ',' T_ARG | 115 | | macro_arglist ',' T_ARG |
116 | { | 116 | { |
117 | if ($1 == 0) { | 117 | if ($1 == 0) { |
118 | stop("Comma without preceeding argument in arg list", | 118 | stop("Comma without preceding argument in arg list", |
119 | EX_DATAERR); | 119 | EX_DATAERR); |
120 | /* NOTREACHED */ | 120 | /* NOTREACHED */ |
121 | } | 121 | } |