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

Disable CONFIG_DRM_OMAP with LoongArch configurations #767

Merged

Conversation

nathanchance
Copy link
Member

A recent change in linux-next allows this driver to be built with CONFIG_COMPILE_TEST=y, which causes a couple instances of -Wframe-larger-than to show up with ARCH=loongarch. This appears to be an issue in LLVM, for which I filed an issue. As this code won't actually run on LoongArch machines, just disable it to avoid having to turn off CONFIG_WERROR altogether with this configuration.

Link: ClangBuiltLinux/linux#2038

A recent change in linux-next allows this driver to be built with
CONFIG_COMPILE_TEST=y, which causes a couple of -Wframe-larger-than
warnings to show up with ARCH=loongarch. This appears to be an issue in
LLVM, for which I filed an issue. As this code won't actually run on
LoongArch machines, just disable it to avoid having to turn off
CONFIG_WERROR altogether with this configuration.

Link: ClangBuiltLinux/linux#2038
Signed-off-by: Nathan Chancellor <[email protected]>
@nathanchance nathanchance merged commit 6b30f2c into ClangBuiltLinux:main Jul 25, 2024
7 checks passed
@nathanchance nathanchance deleted the disable-drm-omap-loongarch branch July 25, 2024 21:29
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