b43-asm: Only warning, not error, on RET after JMP
[b43-tools.git] / assembler / main.c
index ab79f7eaaa74f13f51c32f33f41d3a8504b53983..54252dabe95fe89b762524ced673fd3d4a80fd5c 100644 (file)
@@ -823,8 +823,8 @@ static void assemble_instruction(struct assembler_context *ctx,
                        /* Search the last insn. */
                        if (out->type == OUT_INSN) {
                                if (out->is_jump_insn) {
-                                       asm_error(ctx, "RET instruction directly after "
-                                                 "jump instruction. The hardware won't like this.");
+                                       asm_warn(ctx, "RET instruction directly after "
+                                                "jump instruction. The hardware won't like this.");
                                }
                                break;
                        }