Skip to content

logger: show version numbers with the ABI mismatch error - #664

Merged
lgirdwood merged 1 commit into
thesofproject:masterfrom
ranj063:fix/logger
Dec 5, 2018
Merged

lgirdwood merged 1 commit into
thesofproject:masterfrom
ranj063:fix/logger

Conversation

@ranj063

@ranj063 ranj063 commented Dec 3, 2018

Copy link
Copy Markdown
Collaborator

Show the version numbers along with the ABI mismatch error.

Signed-off-by: Ranjani Sridharan ranjani.sridharan@linux.intel.com

@xiulipan xiulipan 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.

Need some update to use macro to parse some readable version info.

Comment thread tools/logger/convert.c Outdated

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.

@ranj063
why not use SOF_ABI_VERSION_MAJOR(src/include/uapi/abi.h) and other macro to parse a more readable output?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Best to also include MINOR and PATCH versions and ABI version of ldc file too. That way users can tell if ldc or logger is too old.

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.

@lgirdwood @xiulipan updated the PR now

@akloniex
akloniex requested a review from bkokoszx December 4, 2018 09:57
Show the version numbers along with the ABI mismatch error.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
@xiulipan

xiulipan commented Dec 5, 2018

Copy link
Copy Markdown
Contributor

LGTM

@lgirdwood lgirdwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@ranj063 can you look at the internal CI error here, not sure why this would fail...

@zrombel

zrombel commented Dec 5, 2018

Copy link
Copy Markdown

We experienced some problems with internal CI platforms but I brought them back to work, rerun build and everything seems to look good.

@lgirdwood
lgirdwood merged commit 1aa95f8 into thesofproject:master Dec 5, 2018
@lgirdwood

Copy link
Copy Markdown
Member

Thanks @zrombel now merged.

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.

5 participants