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

openamp: Fix void pointer arithmetic in openamp to remove compilation… #11686

Merged

Conversation

jlaitine
Copy link
Contributor

… warnings

This fixes compilation errors caused by void * arithmetics added by a patch to openamp libmetal

… warnings

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
@jerpelea jerpelea merged commit 72f9bd1 into apache:master Feb 12, 2024
27 checks passed
@@ -79,6 +79,7 @@ libmetal.zip:
$(Q) mv libmetal-$(VERSION) libmetal
$(Q) patch -p0 < 0001-libmetal-add-metal_list_for_each_safe-support.patch
$(Q) patch -p0 < 0002-libmetal-nuttx-io.c-align-access-when-read-write-siz.patch
$(Q) patch -p0 < 0003-libmetal-nuttx-io.c-Fix-void-pointer-arithmetic-in-a.patch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jlaitine @CV-Bowen let's send the patch to OpenAMP community too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, the original patch is in this PR: OpenAMP/libmetal#279 ; this is not merged in the openamp libmetal yet. So obviously I can't provide the fix for that patch either :)

@CV-Bowen feel free to add my patch to the same PR, or squash the fix into your original patch. I am not sure what is the plan forward with that PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xiaoxiang781216 @jlaitine Thanks, I will update OpenAMP/libmetal#279 later today.

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.

4 participants