OSDN Git Service

scripts: Add qom-cast-macro-clean-cocci-gen.py
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 1 Jun 2023 09:34:51 +0000 (11:34 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 5 Jun 2023 18:48:34 +0000 (20:48 +0200)
commite3e2c0c82bd0b9678f7950f37f9a089301d47813
treea74886f044c47a29eae7c43c87c277676ec1851c
parentdc96009afd8cf2372fa1bbced0bcbcbb2c5d6f1b
scripts: Add qom-cast-macro-clean-cocci-gen.py

Add a script to generate Coccinelle semantic patch
removing all pointless QOM cast macro uses.

Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230601093452.38972-2-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
MAINTAINERS
scripts/qom-cast-macro-clean-cocci-gen.py [new file with mode: 0644]