aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2022-04-05 12:43:12 +0100
committerPeter Maydell <peter.maydell@linaro.org>2022-04-05 12:43:12 +0100
commit223a8671cac29f64591a8e01c00d8db45a343d52 (patch)
tree2e786ff9dc8bda07172d98587c27d07818ddb93b /hw
parent20661b75ea6093f5e59079d00a778a972d6732c5 (diff)
parent80b952bb694a90f7e530d407b01066894e64a443 (diff)
downloadqemu-223a8671cac29f64591a8e01c00d8db45a343d52.zip
qemu-223a8671cac29f64591a8e01c00d8db45a343d52.tar.gz
qemu-223a8671cac29f64591a8e01c00d8db45a343d52.tar.bz2
Merge tag 'pull-target-arm-20220405' of https://git.linaro.org/people/pmaydell/qemu-arm into staging
target-arm queue: * docs/system/devices/can.rst: correct links to CTU CAN FD IP core documentation. * xlnx-bbram: hw/nvram: Fix uninitialized Error * # gpg: Signature made Tue 05 Apr 2022 10:26:21 BST # gpg: using RSA key E1A5C593CD419DE28E8315CF3C2525ED14360CDE # gpg: issuer "peter.maydell@linaro.org" # gpg: Good signature from "Peter Maydell <peter.maydell@linaro.org>" [ultimate] # gpg: aka "Peter Maydell <pmaydell@gmail.com>" [ultimate] # gpg: aka "Peter Maydell <pmaydell@chiark.greenend.org.uk>" [ultimate] # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83 15CF 3C25 25ED 1436 0CDE * tag 'pull-target-arm-20220405' of https://git.linaro.org/people/pmaydell/qemu-arm: docs/system/devices/can.rst: correct links to CTU CAN FD IP core documentation. xlnx-bbram: hw/nvram: Fix uninitialized Error * Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r--hw/nvram/xlnx-bbram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nvram/xlnx-bbram.c b/hw/nvram/xlnx-bbram.c
index b70828e..6ed32ad 100644
--- a/hw/nvram/xlnx-bbram.c
+++ b/hw/nvram/xlnx-bbram.c
@@ -89,7 +89,7 @@ static bool bbram_pgm_enabled(XlnxBBRam *s)
static void bbram_bdrv_error(XlnxBBRam *s, int rc, gchar *detail)
{
- Error *errp;
+ Error *errp = NULL;
error_setg_errno(&errp, -rc, "%s: BBRAM backstore %s failed.",
blk_name(s->blk), detail);