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

Commits on Mar 25, 2024

  1. RISC-V: selftests: cbo: Use exported __cpu_to_le32() with uapi header

    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>
    woodrow-shen authored and Björn Töpel committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    0f84556 View commit details
    Browse the repository at this point in the history