Amend services so package can be accepted into Factory. In order for packages to be accepted into Factory: > Services are only allowed if their mode is one of localonly, disabled, > buildtime, manual. Please change the mode of obs_scm and use `osc service > localrun/disabledrun`. Therefore all services involved with retrieving source files from the internet have had their mode set to `localonly`, and the relevant source files have been added directly to this package. OBS-URL: https://build.opensuse.org/request/show/1086820 OBS-URL: https://build.opensuse.org/package/show/hardware/gasket-driver?expand=0&rev=4
24 lines
648 B
Diff
24 lines
648 B
Diff
From a87c105c14e826dafd4b25c36fa7c7c657a7ad03 Mon Sep 17 00:00:00 2001
|
|
From: hibby50 <hibby50@gmail.com>
|
|
Date: Thu, 20 Apr 2023 14:16:06 -0400
|
|
Subject: [PATCH] import DMA_BUF regardless of kernel version
|
|
|
|
---
|
|
src/gasket_page_table.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
diff --git a/src/gasket_page_table.c b/src/gasket_page_table.c
|
|
index e81ab2b..0e768e0 100644
|
|
--- a/src/gasket_page_table.c
|
|
+++ b/src/gasket_page_table.c
|
|
@@ -53,9 +53,7 @@
|
|
#include <linux/version.h>
|
|
#include <linux/vmalloc.h>
|
|
|
|
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5,16,0)
|
|
MODULE_IMPORT_NS(DMA_BUF);
|
|
-#endif
|
|
|
|
#include "gasket_constants.h"
|
|
#include "gasket_core.h"
|