Skip to content

kboot: Unconditionally mark dt_transfer_virtios() as unused#543

Merged
jannau merged 1 commit intoAsahiLinux:mainfrom
jannau:format-fix
Feb 7, 2026
Merged

kboot: Unconditionally mark dt_transfer_virtios() as unused#543
jannau merged 1 commit intoAsahiLinux:mainfrom
jannau:format-fix

Conversation

@jannau
Copy link
Member

@jannau jannau commented Feb 7, 2026

kboot: Unconditionally mark dt_transfer_virtios() as unused

Avoid formatting clashes between clang-format 20 and 21. The attribute
means that the function is possibly unused [1] so it can be used
unconditionally. Compare Linux' `__maybe_unused`.

1: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-unused-function-attribute

Avoid formatting clashes between clang-format 20 and 21. The attribute
means that the function is possibly unused [1] so it can be used
unconditionally. Compare Linux' `__maybe_unused`.

1: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#index-unused-function-attribute

Signed-off-by: Janne Grunau <j@jannau.net>
@jannau jannau changed the title kboot: Fix make format with clang-format 21.1.8 kboot: Unconditionally mark dt_transfer_virtios() as unused Feb 7, 2026
@jannau jannau marked this pull request as ready for review February 7, 2026 10:10
@jannau jannau requested a review from svenpeter42 as a code owner February 7, 2026 10:10
@jannau jannau merged commit bb0158d into AsahiLinux:main Feb 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants