From c71c991003f592d3b6357fe58d0103e99371fbbb Mon Sep 17 00:00:00 2001 From: Chris Dickens Date: Sun, 13 Sep 2020 15:28:16 -0700 Subject: [PATCH] core: Fix the newly added list_splice_front() function One statement was missing to preserve the consistency of the list. Signed-off-by: Chris Dickens --- libusb/libusbi.h | 1 + libusb/version_nano.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libusb/libusbi.h b/libusb/libusbi.h index 0d4fbe1..8dce535 100644 --- a/libusb/libusbi.h +++ b/libusb/libusbi.h @@ -224,6 +224,7 @@ static inline void list_splice_front(struct list_head *list, struct list_head *h { list->next->prev = head; list->prev->next = head->next; + head->next->prev = list->prev; head->next = list->next; } diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 89f331a..4a87c44 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11566 +#define LIBUSB_NANO 11567 -- 2.34.1