helper/list: re-align with Linux kernel 6.3-rc1
commitc8de1b82ec7f74c0717bfa0094f5fb6b79fbbfaf
authorAntonio Borneo <borneo.antonio@gmail.com>
Tue, 14 Mar 2023 14:20:14 +0000 (14 15:20 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 7 Apr 2023 21:47:34 +0000 (7 21:47 +0000)
treeb6238fc299ee1ee2cfff1bdc7705b9bee7331e61
parent90ce9da644d751466d8dc451d7d2a043cdbf7d72
helper/list: re-align with Linux kernel 6.3-rc1

Minor changes due to kernel switch to 100 char/line.
Added four new functions.

Silent checkpatch; we don't want to diverge from Linux reference
code.
Checkpatch-ignore: MACRO_ARG_REUSE, UNNECESSARY_PARENTHESES
Checkpatch-ignore: MACRO_ARG_PRECEDENCE

Change-Id: I1d2ff25bf3bab8cd0f5c9be55c7501795490ea75
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7568
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/helper/list.h