error: Implement the warn and free Error functions
commite43ead1d0b9c467af4a2af8f5177316a0ccb5602
authorAlistair Francis <alistair.francis@xilinx.com>
Wed, 12 Jul 2017 13:57:52 +0000 (12 06:57 -0700)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 13 Jul 2017 11:50:19 +0000 (13 13:50 +0200)
tree1248feb328e200e4c8e32c1bd0daa148d4a555ae
parentc51c4f88072e7c598514a96d7e31b2a46520eca7
error: Implement the warn and free Error functions

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 <alistair.francis@xilinx.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <276ff93eadc0b01b8243cc61ffc331f77922c0d0.1499866456.git.alistair.francis@xilinx.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
include/qapi/error.h
scripts/checkpatch.pl
util/error.c