]> Git Repo - qemu.git/commit - block/rbd.c
block: Use warn_report() & friends to report warnings
authorMarkus Armbruster <[email protected]>
Wed, 17 Oct 2018 08:26:27 +0000 (10:26 +0200)
committerMarkus Armbruster <[email protected]>
Fri, 19 Oct 2018 12:51:34 +0000 (14:51 +0200)
commit5197f44584114c40cc5df92e508c2c458d6683ab
tree2e83c3abda22b448317008f7efc5d8ac4ab5d532
parent50beeb680949117017343e593dd7323632a6d872
block: Use warn_report() & friends to report warnings

Calling error_report() in a function that takes an Error ** argument
is suspicious.  Convert a few that are actually warnings to
warn_report().

While there, split warnings consisting of multiple sentences to
conform to conventions spelled out in warn_report()'s contract, and
improve a rather useless warning in sheepdog.c.

Cc: Kevin Wolf <[email protected]>
Cc: Ronnie Sahlberg <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Peter Lieven <[email protected]>
Cc: Liu Yuan <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-Id: <20181017082702[email protected]>

Drop changes to "without an explicit read-only=on" warnings, because
there's a series removing them pending.  Also drop a cc: to a former
Sheepdog maintainer.

Reviewed-by: Kevin Wolf <[email protected]>
block/iscsi.c
block/rbd.c
block/sheepdog.c
This page took 0.026232 seconds and 4 git commands to generate.