qemu-patch-raspberry4/scripts/coccinelle
Eric Blake a92c21591b qobject: Add helper macros for common scalar insertions
Rather than making lots of callers wrap a scalar in a QInt, QString,
or QBool, provide helper macros that do the wrapping automatically.

Update the Coccinelle script to make mass conversions easy, although
the conversion itself will be done as a separate patches to ease
review and backport efforts.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20170427215821.19397-6-eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2017-05-08 20:32:14 +02:00
..
err-bad-newline.cocci error: Strip trailing '\n' from error string arguments (again) 2016-08-08 09:00:44 +02:00
error_propagate_null.cocci error: Remove NULL checks on error_propagate() calls 2016-06-20 16:38:13 +02:00
overflow_muldiv64.cocci scripts: add muldiv64() checking coccinelle scripts 2016-06-07 18:02:49 +03:00
qobject.cocci qobject: Add helper macros for common scalar insertions 2017-05-08 20:32:14 +02:00
remove_local_err.cocci error: Remove unnecessary local_err variables 2016-06-20 16:38:13 +02:00
remove_muldiv64.cocci scripts: add muldiv64() checking coccinelle scripts 2016-06-07 18:02:49 +03:00
return_directly.cocci coccinelle: Remove unnecessary variables for function return value 2016-06-20 16:38:13 +02:00
round.cocci coccinelle: use macro DIV_ROUND_UP instead of (((n) + (d) - 1) /(d)) 2016-06-07 18:19:24 +03:00
simplify_muldiv64.cocci scripts: add muldiv64() checking coccinelle scripts 2016-06-07 18:02:49 +03:00
swap_muldiv64.cocci scripts: add muldiv64() checking coccinelle scripts 2016-06-07 18:02:49 +03:00
typecast.cocci coccinelle: add a script to remove useless casts 2016-09-15 15:32:22 +03:00