Skip to content

apps: replace all zero address to RPMSG_ADDR_ANY#207

Merged
arnopo merged 1 commit into
OpenAMP:masterfrom
xiaoxiang781216:zero-address
May 29, 2020
Merged

apps: replace all zero address to RPMSG_ADDR_ANY#207
arnopo merged 1 commit into
OpenAMP:masterfrom
xiaoxiang781216:zero-address

Conversation

@xiaoxiang781216

Copy link
Copy Markdown
Collaborator

the example should demo the best practice for the endpoint creation

Signed-off-by: Xiang Xiao xiaoxiang@xiaomi.com

@xiaoxiang781216 xiaoxiang781216 force-pushed the zero-address branch 2 times, most recently from 94919ea to 47ccda0 Compare May 11, 2020 18:04
@arnopo arnopo requested review from arnopo and edmooring May 12, 2020 12:21

@edmooring edmooring left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks reasonable to me.

@arnopo arnopo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just a minor update for test coverity then LGTM

Comment thread apps/tests/msg/rpmsg-flood-ping.c Outdated
else
(void)rpmsg_create_ept(&lept, rdev, RPMSG_SERVICE_NAME,
APP_EPT_ADDR, dest,
RPMSG_ADDR_ANY, dest,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could you keep this test unchanged? the idea here is to keep one test with a fixed source address to also test a use case with a fixed source address.

@xiaoxiang781216 xiaoxiang781216 May 13, 2020

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Done, but I change the local address from 0 to 1024 for the better compatibility.

@xiaoxiang781216 xiaoxiang781216 force-pushed the zero-address branch 2 times, most recently from d876f2f to 885c8ec Compare May 13, 2020 14:30
the example should demo the best practice for the endpoint creation

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
@xiaoxiang781216

Copy link
Copy Markdown
Collaborator Author

@arnopo please merge this PR if you don't have more concern.

Comment thread apps/tests/msg/rpmsg-flood-ping.c

@arnopo arnopo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

need first to apply #209

@arnopo arnopo merged commit 347bf7c into OpenAMP:master May 29, 2020
@xiaoxiang781216 xiaoxiang781216 deleted the zero-address branch October 31, 2020 18:08
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.

3 participants