Re: [Qemu-devel] [PATCH v2 6/8] error: Implement the warn and free Error functions

2017-07-10 Thread Markus Armbruster
Alistair Francis writes: > Implement warn_report_err() and warn_reportf_err() functions which > are the same as the error_report_err() and error_reportf_err() > functions except report a warning instead of an error. > > Signed-off-by: Alistair Francis > --- > > include/qapi/error.h | 11 ++

[Qemu-devel] [PATCH v2 6/8] error: Implement the warn and free Error functions

2017-07-07 Thread Alistair Francis
Implement warn_report_err() and warn_reportf_err() functions which are the same as the error_report_err() and error_reportf_err() functions except report a warning instead of an error. Signed-off-by: Alistair Francis --- include/qapi/error.h | 11 +++ scripts/checkpatch.pl | 1 + util