diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-12-27 18:18:29 -0800 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-01-18 19:30:24 +0100 |
commit | 8d662c8d34a05e8e47deaa9e22fe770dc557c2d3 (patch) | |
tree | 96f8ee1bcbda6aded36a9f551f4df8179e33782c /arch/mips/kernel/module.c | |
parent | 2c8c53e28f178577dfdf3a69731b998b7e3df8ae (diff) | |
download | linux-8d662c8d34a05e8e47deaa9e22fe770dc557c2d3.tar.gz |
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: David Daney <ddaney@caviumnetworks.com> To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/1905/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/module.c')
0 files changed, 0 insertions, 0 deletions