Skip to content

Commit

Permalink
build-llvm.py: Use latest mainline tag for profiling
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Sep 30, 2024
1 parent 96a2f67 commit f27aa67
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build-llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
f"Supplied kernel source version ('{found_version}') is older than the minimum required version ('{minimum_version}'), provide a newer version!"
)
else:
lsm.location = Path(src_folder, 'linux-6.11')
lsm.location = Path(src_folder, 'linux-6.12-rc1')
lsm.patches = list(src_folder.glob('*.patch'))

lsm.tarball.base_download_url = 'https://git.kernel.org/torvalds/t'
Expand Down
40 changes: 40 additions & 0 deletions src/2007d28ec0095c6db0a24fd8bb8fe280c65446cd.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
From 2007d28ec0095c6db0a24fd8bb8fe280c65446cd Mon Sep 17 00:00:00 2001
From: Guenter Roeck <[email protected]>
Date: Sun, 29 Sep 2024 17:39:02 -0700
Subject: bcachefs: rename version -> bversion for big endian builds

Builds on big endian systems fail as follows.

fs/bcachefs/bkey.h: In function 'bch2_bkey_format_add_key':
fs/bcachefs/bkey.h:557:41: error:
'const struct bkey' has no member named 'bversion'

The original commit only renamed the variable for little endian builds.
Rename it for big endian builds as well to fix the problem.

Fixes: cf49f8a8c277 ("bcachefs: rename version -> bversion")
Cc: Kent Overstreet <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
---
Link: https://evilpiepirate.org/git/bcachefs.git/patch/?id=2007d28ec0095c6db0a24fd8bb8fe280c65446cd
---
fs/bcachefs/bcachefs_format.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h
index 203ee627cab5..84832c2d4df9 100644
--- a/fs/bcachefs/bcachefs_format.h
+++ b/fs/bcachefs/bcachefs_format.h
@@ -223,7 +223,7 @@ struct bkey {
#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
struct bpos p;
__u32 size; /* extent size, in sectors */
- struct bversion version;
+ struct bversion bversion;

__u8 pad[1];
#endif
--
cgit v1.2.3

0 comments on commit f27aa67

Please sign in to comment.