- from linux-t2 project: https://github.com/t2linux/linux-t2-patches - https://t2linux.org/ - x86: add .config hook `custom_kernel_config__applet2()` - original patches from t2linux for 6.18 and 6.12 - rewrite patches against v6.18-rc4 and v6.12.57 - `7001-drm-i915-fbdev-Discard-BIOS-framebuffers-exceeding-h.patch` needed special attention for correct patch attribution (missing From) - `1002-Put-apple-bce-in-drivers-staging` needs reordering to the top to avoid conflicts with EXTRAWIFI sed-based "patching"
34 lines
932 B
Diff
34 lines
932 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Aditya Garg <gargaditya08@live.com>
|
|
Date: Sun, 13 Apr 2025 11:43:53 +0530
|
|
Subject: Fix sparse errors
|
|
|
|
apple_bce.h was using #pragma once, which is not acceptable by sparse
|
|
---
|
|
drivers/staging/apple-bce/apple_bce.h | 7 +++++--
|
|
1 file changed, 5 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/drivers/staging/apple-bce/apple_bce.h b/drivers/staging/apple-bce/apple_bce.h
|
|
index 111111111111..222222222222 100644
|
|
--- a/drivers/staging/apple-bce/apple_bce.h
|
|
+++ b/drivers/staging/apple-bce/apple_bce.h
|
|
@@ -1,4 +1,5 @@
|
|
-#pragma once
|
|
+#ifndef APPLE_BCE_H
|
|
+#define APPLE_BCE_H
|
|
|
|
#include <linux/pci.h>
|
|
#include <linux/spinlock.h>
|
|
@@ -35,4 +36,6 @@ struct apple_bce_device {
|
|
struct bce_vhci vhci;
|
|
};
|
|
|
|
-extern struct apple_bce_device *global_bce;
|
|
\ No newline at end of file
|
|
+extern struct apple_bce_device *global_bce;
|
|
+
|
|
+#endif //APPLE_BCE_H
|
|
--
|
|
Armbian
|
|
|