Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RISC-V: selftests: cbo: Use exported __cpu_to_le32() with uapi header #751

Closed
wants to merge 1 commit into from

Conversation

bjoto
Copy link

@bjoto bjoto commented Mar 21, 2024

Pull request for series with
subject: RISC-V: selftests: cbo: Use exported __cpu_to_le32() with uapi header
version: 1
url: https://patchwork.kernel.org/project/linux-riscv/list/?series=837010

@bjoto
Copy link
Author

bjoto commented Mar 21, 2024

Upstream branch: a9ad732
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=837010
version: 1

cpu_to_le32 is not defined in uapi headers, and it could cause an error
of impossible constraint in 'asm' during compilation. However,
the reason is due to undefined reference to cpu_to_le32.
__cpu_to_le32() defined from byteorder.h should be used instead.

Signed-off-by: Hsieh-Tseng Shen <woodrow.shen@sifive.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
@bjoto
Copy link
Author

bjoto commented Mar 25, 2024

Upstream branch: 4cece76
series: https://patchwork.kernel.org/project/linux-riscv/list/?series=837010
version: 1

@bjoto bjoto closed this Apr 2, 2024
@bjoto bjoto deleted the series/837010=>for-next branch April 4, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants