* HON LUU: > I build "device driver code" in userspace code, but using the same > headers from kernel source code. > > In the driver code, we include "linux/pci.h" header, and through > include chain arch_static_branch() got pulling through inline > functions. You need to do replace arch_static_branch with something else. It cannot be used in userspace. Thanks, Florian