From 9ad46d05155334137c89a158e15adf2eb8d25223 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 20 May 2024 03:21:58 +0000 Subject: [PATCH] add __counted_by() for 6.6.31 drm --- sys/dev/pci/drm/include/linux/compiler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/pci/drm/include/linux/compiler.h b/sys/dev/pci/drm/include/linux/compiler.h index 7adb9742deb..6fdf71abfa2 100644 --- a/sys/dev/pci/drm/include/linux/compiler.h +++ b/sys/dev/pci/drm/include/linux/compiler.h @@ -24,6 +24,7 @@ #define noinline __attribute__((__noinline__)) #define noinline_for_stack __attribute__((__noinline__)) #define fallthrough do {} while (0) +#define __counted_by(x) #define __PASTE(x,y) __CONCAT(x,y) -- 2.20.1