Fixes with GCC-14#56
Open
kraj wants to merge 3 commits intostarfive-tech:JH7110_VisionFive2_develfrom
Open
Conversation
…inition GCC-14 will treat implicit function declarations as errors. Therefore include the required header to fix error: implicit declaration of function 'device_bind_driver_to_node' [-Wimplicit-function-declaration] Signed-off-by: Khem Raj <raj.khem@gmail.com>
While compiling rtl8169.c, There are many "make pointer from integer without a cast" compile warnings. fix them with adding cast. Signed-off-by: Minda Chen <minda.chen@starfivetech.com> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
GCC-14 find more warnings like "make pointer from integer without a cast" fix them by adding a type cast. Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
Can confirm that this patch works with current |
|
I encountered the same situation when compiling. There are a lot of warnings when compiling include/configs/starfive-visionfive2.h:332:62: warning: backslash and newline separated by space
332 | "setenv bootenv uEnv_Lite_emmc.txt;" \The following patches are required diff --git a/include/configs/starfive-visionfive2.h b/include/configs/starfive-visionfive2.h
index 0f681941b5..ec225711b8 100644
--- a/include/configs/starfive-visionfive2.h
+++ b/include/configs/starfive-visionfive2.h
@@ -329,7 +329,7 @@
"if test ${emmc_size} = 0; then " \
"setenv bootenv uEnv_Lite.txt;" \
"else " \
- "setenv bootenv uEnv_Lite_emmc.txt;" \
+ "setenv bootenv uEnv_Lite_emmc.txt;" \
"fi; " \
"fi;" \
"run load_distro_uenv; " \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.