Commit 8d0f08e9 authored by Paul Durrant's avatar Paul Durrant Committed by Stefano Stabellini

checkpatch: generalize xen handle matching in the list of types

All the xen stable APIs define handle types of the form:

xen<subject of API>_handle

and some define additional handle types of the form:

xen<subject of API>_<purpose of handle>_handle

Examples of these are xenforeignmemory_handle and

Both of these types will be misparsed by checkpatch if they appear as the
first token in a line since, as types defined by an external library, they
do not conform to the QEMU CODING_STYLE, which suggests CamelCase.

A previous patch (5ac067a2) added xendevicemodel_handle to the list
of types. This patch changes that to xen\w+_handle such that it will
match all Xen stable API handles of the forms detailed above.
Signed-off-by: default avatarPaul Durrant <>
Reviewed-by: default avatarEric Blake <>
Acked-by: default avatarAnthony PERARD <>
Signed-off-by: default avatarStefano Stabellini <>
parent 71cec1ed
......@@ -271,7 +271,7 @@ our @typeList = (
# external libraries
# Glib definitions
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment