]> Git Repo - qemu.git/commit
pci: Set err to errp directly rather than through error_propagate()
authorMao Zhongyi <[email protected]>
Sat, 9 Sep 2017 06:22:26 +0000 (14:22 +0800)
committerMichael S. Tsirkin <[email protected]>
Sun, 15 Oct 2017 02:54:40 +0000 (05:54 +0300)
commit06592d7e28794dcd93dbd5186910ba8c987453ba
tree6cb64fcd498eea0147460600bd793c60b1704ab4
parent8b3d26342c4aa171e759e6392fe3b742759d4963
pci: Set err to errp directly rather than through error_propagate()

ioh3420_interrupts_init() pass error message to local_err, then
propagate it to errp by error_propagate(), which is not necessary.
So eliminate it and pass errp directly instead of local_err.

Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Marcel Apfelbaum <[email protected]>
Signed-off-by: Mao Zhongyi <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Marcel Apfelbaum <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/pci-bridge/ioh3420.c
This page took 0.024239 seconds and 4 git commands to generate.