target/hexagon/opcodes: Add missing varargs cleanup
commit2526e69efd8e386573212bf3ea05171a727a598b
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 23 Feb 2021 11:12:53 +0000 (23 12:12 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 7 Mar 2021 01:35:43 +0000 (6 17:35 -0800)
treeeda8d776767db39f815efa7d52306df709a1fb5d
parent66a1807b8e384145664ccc98e432901c4df33f4e
target/hexagon/opcodes: Add missing varargs cleanup

Fix a trivial incorrect usage of variable argument macros detected
by Coverity (missing_va_end: va_end was not called for ap).

Fixes: Coverity CID 1446720 (VARARGS)
Fixes: e3c00c2ed75 ("Hexagon (target/hexagon) opcode data structures")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Taylor Simpson <tsimpson@quicinc.com>
Message-Id: <20210223111253.2831285-1-f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hexagon/opcodes.c