qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] f71407: utils/fifo8: change fatal errors from


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] f71407: utils/fifo8: change fatal errors from abort() to a...
Date: Mon, 08 Feb 2021 03:11:04 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: f71407ed2fe7a66aa52b1c49a0ebba311d887376
      
https://github.com/qemu/qemu/commit/f71407ed2fe7a66aa52b1c49a0ebba311d887376
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2021-02-07 (Sun, 07 Feb 2021)

  Changed paths:
    M util/fifo8.c

  Log Message:
  -----------
  utils/fifo8: change fatal errors from abort() to assert()

Developer errors are better represented with assert() rather than abort(). Also
improve the strictness of the checks by using range checks within the assert()
rather than converting the existing equality checks to inequality checks.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210121102518.20112-1-mark.cave-ayland@ilande.co.uk>


  Commit: cdf01ca4810203e229bcac822b42eba58e1abbf9
      
https://github.com/qemu/qemu/commit/cdf01ca4810203e229bcac822b42eba58e1abbf9
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2021-02-07 (Sun, 07 Feb 2021)

  Changed paths:
    M include/qemu/fifo8.h

  Log Message:
  -----------
  utils/fifo8: add VMSTATE_FIFO8_TEST macro

Rewrite the existing VMSTATE_FIFO8 macro to use VMSTATE_FIFO8_TEST as per the
standard pattern in include/migration/vmstate.h.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210128221728.14887-3-mark.cave-ayland@ilande.co.uk>


  Commit: 2766043345748626490e04d69b7a9493c0294cfc
      
https://github.com/qemu/qemu/commit/2766043345748626490e04d69b7a9493c0294cfc
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-02-08 (Mon, 08 Feb 2021)

  Changed paths:
    M include/qemu/fifo8.h
    M util/fifo8.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-20210207' into 
staging

qemu-sparc queue

# gpg: Signature made Sun 07 Feb 2021 22:09:12 GMT
# gpg:                using RSA key CC621AB98E82200D915CC9C45BC2C56FAE0F321F
# gpg:                issuer "mark.cave-ayland@ilande.co.uk"
# gpg: Good signature from "Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>" 
[full]
# Primary key fingerprint: CC62 1AB9 8E82 200D 915C  C9C4 5BC2 C56F AE0F 321F

* remotes/mcayland/tags/qemu-sparc-20210207:
  utils/fifo8: add VMSTATE_FIFO8_TEST macro
  utils/fifo8: change fatal errors from abort() to assert()

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/5b19cb63d9df...276604334574



reply via email to

[Prev in Thread] Current Thread [Next in Thread]