forked from ClangBuiltLinux/tc-build
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build-llvm.py: Use latest mainline tag for profiling
Signed-off-by: Nathan Chancellor <[email protected]>
- Loading branch information
1 parent
96a2f67
commit f27aa67
Showing
2 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|