Home
last modified time | relevance | path

Searched hist:"195 ed8cb365edeb0d0a70a2ffdeb7a073f9a8117" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/chardev/
H A Dspice.cdiff 195ed8cb365edeb0d0a70a2ffdeb7a073f9a8117 Fri Feb 14 11:17:10 CST 2020 Stefan Hajnoczi <stefanha@redhat.com> qemu/queue.h: add QLIST_SAFE_REMOVE()

QLIST_REMOVE() assumes the element is in a list. It also leaves the
element's linked list pointers dangling.

Introduce a safe version of QLIST_REMOVE() and convert open-coded
instances of this pattern.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Message-id: 20200214171712.541358-4-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
/openbmc/qemu/include/qemu/
H A Dqueue.hdiff 195ed8cb365edeb0d0a70a2ffdeb7a073f9a8117 Fri Feb 14 11:17:10 CST 2020 Stefan Hajnoczi <stefanha@redhat.com> qemu/queue.h: add QLIST_SAFE_REMOVE()

QLIST_REMOVE() assumes the element is in a list. It also leaves the
element's linked list pointers dangling.

Introduce a safe version of QLIST_REMOVE() and convert open-coded
instances of this pattern.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Message-id: 20200214171712.541358-4-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
/openbmc/qemu/
H A Dblock.cdiff 195ed8cb365edeb0d0a70a2ffdeb7a073f9a8117 Fri Feb 14 11:17:10 CST 2020 Stefan Hajnoczi <stefanha@redhat.com> qemu/queue.h: add QLIST_SAFE_REMOVE()

QLIST_REMOVE() assumes the element is in a list. It also leaves the
element's linked list pointers dangling.

Introduce a safe version of QLIST_REMOVE() and convert open-coded
instances of this pattern.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Message-id: 20200214171712.541358-4-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>