diff options
author | Zhao Liu <zhao1.liu@intel.com> | 2024-03-11 11:37:54 +0800 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-03-12 11:45:33 +0100 |
commit | 042e4942b926eb067cbc040d7c7fa87a7ebc0917 (patch) | |
tree | 97db5453970a713521ae0645e7be841421e52404 /bsd-user/openbsd | |
parent | 4a9fafb478b5d9e6977d0c422f25062550ebce3a (diff) | |
download | qemu-042e4942b926eb067cbc040d7c7fa87a7ebc0917.zip qemu-042e4942b926eb067cbc040d7c7fa87a7ebc0917.tar.gz qemu-042e4942b926eb067cbc040d7c7fa87a7ebc0917.tar.bz2 |
error: Add error_vprepend() in comment of ERRP_GUARD() rules
The error_vprepend() should use ERRP_GUARD() just as the documentation
of ERRP_GUARD() says:
> It must be used when the function dereferences @errp or passes
> @errp to error_prepend(), error_vprepend(), or error_append_hint().
Considering that error_vprepend() is also an API provided in error.h,
it is necessary to add it to the description of the rules for using
ERRP_GUARD().
Cc: Markus Armbruster <armbru@redhat.com>
Cc: Michael Roth <michael.roth@amd.com>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240311033822.3142585-2-zhao1.liu@linux.intel.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'bsd-user/openbsd')
0 files changed, 0 insertions, 0 deletions