Skip to content

Commit

Permalink
update patch for modpost check
Browse files Browse the repository at this point in the history
  • Loading branch information
Ylarod committed Jan 6, 2024
1 parent cd351f7 commit f47ef76
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/patches/common/0001-skip-modpost-when-building-ko.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 5f30bf44549130a7e6a63e72ba064d93d7e1a759 Mon Sep 17 00:00:00 2001
From: Ylarod <[email protected]>
Date: Sat, 6 Jan 2024 06:36:36 +0800
Subject: [PATCH] skip modpost when building ko

Change-Id: Ic1ad6ab6d3ba2cae8a612eda6891b0d4a57398a7
---
scripts/mod/modpost.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 0cb8de405183..c2fbd4534958 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -2624,7 +2624,7 @@ int main(int argc, char **argv)
buf.pos = 0;

check_modname_len(mod);
- check_exports(mod);
+ // check_exports(mod);

add_header(&buf, mod);
add_intree_flag(&buf, !external_module);
--
2.42.0

0 comments on commit f47ef76

Please sign in to comment.