Commit 0d23a756 authored by Michael Büsch's avatar Michael Büsch

b43-asm: Only warning, not error, on RET after JMP

Sometimes it's valid to have a RET after a JMP
Signed-off-by: Michael Büsch's avatarMichael Buesch <mb@bu3sch.de>
parent 81e43677
......@@ -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;
}
......
......@@ -72,6 +72,6 @@ if [ "$orig_sum" != "$out_sum" ]; then
echo "FAILURE: Checksums don't match!"
exit 1
fi
echo "Everything is OK"
echo "Checksums match"
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment