During the processing, some verification are done and if the check fails, a warning is normally issued. But some checks are done at several steps and so the same warning can be give several time, which is annoying. Add to instructions a field '.tainted' which will allow to mark instructions which fail some checks and have already warned about. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- linearize.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linearize.h b/linearize.h index 840b29c8a..79c0c09b5 100644 --- a/linearize.h +++ b/linearize.h @@ -68,7 +68,8 @@ struct asm_rules { DECLARE_ALLOCATOR(asm_rules); struct instruction { - unsigned opcode:8, + unsigned opcode:7, + tainted:1, size:24; struct basic_block *bb; struct position pos; -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html