From 7586a1ad593f99bd7eb2daec39f01d4aeee3cf08 Mon Sep 17 00:00:00 2001 From: Niklas Schnelle Date: Thu, 23 Jul 2026 16:55:50 +0200 Subject: [PATCH] zpcimon: Add missing include for __packed attribute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The __packed attribute is used without including the necessary zt_common.h header, add it. Note that luckily the struct as it currently exists doesn't actually required __packed as the natural alignment leaves no holes. Still if in the future the reserved field is split up it would need it and this keeps it consistent with the kernel declaration. Reviewed-by: Jan Höppner Signed-off-by: Niklas Schnelle Signed-off-by: Jan Höppner --- zpcimon/optics_sclp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/zpcimon/optics_sclp.h b/zpcimon/optics_sclp.h index b211e9ac..4b295bc5 100644 --- a/zpcimon/optics_sclp.h +++ b/zpcimon/optics_sclp.h @@ -1,6 +1,7 @@ #include #include "lib/pci_list.h" +#include "lib/zt_common.h" #include "optics_info.h"