From: Guenter Roeck linux@roeck-us.net
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 kent.overstreet@linux.dev Signed-off-by: Guenter Roeck linux@roeck-us.net Signed-off-by: Kent Overstreet kent.overstreet@linux.dev Signed-off-by: Scott Weaver scweaver@redhat.com
diff --git a/fs/bcachefs/bcachefs_format.h b/fs/bcachefs/bcachefs_format.h index blahblah..blahblah 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
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3424
From: GitLab Security Bot on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3424#note_2137491...
<!-- policy_violation_comment --> <!-- violated_reports: scan_finding --> <!-- optional_approvals: scan_finding -->
Scott Weaver, this merge request has policy violations and errors.
- Resolve all violations in the following merge request approval policies: SAST. - Resolve the errors and re-run the pipeline.
Consider including optional reviewers based on the policy rules in the MR widget.
:exclamation: **Errors**
- Pipeline configuration error: Security reports required by policy `SAST` could not be found. - Pipeline configuration error: Security reports required by policy `SAST` could not be found.
:information_source: **Comparison pipelines**
- Target branch (`os-build`): None - Source branch (`tmp-fix-bcachefs`): [#1475443321](https://gitlab.com/cki- project/kernel-ark/-/pipelines/1475443321)
kernel@lists.fedoraproject.org