Skip to content
Commit 8d662c8d authored by David Daney's avatar David Daney Committed by Ralf Baechle
Browse files

MIPS: Use WARN() in uasm for better diagnostics.



On the off chance that uasm ever warns about overflow, there is no way
to know what the offending instruction is.

Change the printks to WARNs, so we can get a nice stack trace.  It has
the added benefit of being much more noticeable than the short single
line warning message, so is less likely to be ignored.

Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1905/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 2c8c53e2
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