Home
last modified time | relevance | path

Searched hist:"58 e71097ced49600de1b38d2b59a823a9db66f19" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/sysemu/
H A Ddevice_tree.hdiff 58e71097ced49600de1b38d2b59a823a9db66f19 Fri Feb 19 10:42:30 CST 2016 Eric Auger <eric.auger@linaro.org> device_tree: qemu_fdt_getprop_cell converted to use the error API

This patch aligns the prototype with qemu_fdt_getprop. The caller
can choose whether the function self-asserts on error (passing
&error_fatal as Error ** argument, corresponding to the legacy behavior),
or behaves differently such as simply output a message.

In this later case the caller can use the new lenp parameter to interpret
the error if any.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
/openbmc/qemu/hw/arm/
H A Dvexpress.cdiff 58e71097ced49600de1b38d2b59a823a9db66f19 Fri Feb 19 10:42:30 CST 2016 Eric Auger <eric.auger@linaro.org> device_tree: qemu_fdt_getprop_cell converted to use the error API

This patch aligns the prototype with qemu_fdt_getprop. The caller
can choose whether the function self-asserts on error (passing
&error_fatal as Error ** argument, corresponding to the legacy behavior),
or behaves differently such as simply output a message.

In this later case the caller can use the new lenp parameter to interpret
the error if any.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
H A Dboot.cdiff 58e71097ced49600de1b38d2b59a823a9db66f19 Fri Feb 19 10:42:30 CST 2016 Eric Auger <eric.auger@linaro.org> device_tree: qemu_fdt_getprop_cell converted to use the error API

This patch aligns the prototype with qemu_fdt_getprop. The caller
can choose whether the function self-asserts on error (passing
&error_fatal as Error ** argument, corresponding to the legacy behavior),
or behaves differently such as simply output a message.

In this later case the caller can use the new lenp parameter to interpret
the error if any.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>