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

Add struct for mapping ibpi statuses to strings. #211

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

mtkaczyk
Copy link
Contributor

This is done different way in multiple places. Add one structure to lib and make in commonly used. Differentiate input values and logged values, not all patterns can be set but all patterns should be logged.

This simplifies implementation, there is no need to handle temporary buf strings for generating "(unknown: %d)" messages.

Fixes #198

@mtkaczyk mtkaczyk force-pushed the mtkaczyk_fix_ibpi2str branch from 989d54a to 2fc0eec Compare March 12, 2024 15:22
@ktanska ktanska requested review from bkucman, ktanska and mku514k and removed request for bkucman and ktanska April 5, 2024 09:10
Copy link
Contributor

@mku514k mku514k left a comment

Choose a reason for hiding this comment

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

LGTM

@bkucman bkucman self-assigned this Apr 9, 2024
Copy link
Contributor

@bkucman bkucman left a comment

Choose a reason for hiding this comment

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

LGTM
Just one small correction

This is done different way in multiple places. Add one structure to lib
and make in commonly used. Differentiate input values and logged values,
not all patterns can be set but all patterns should be logged.

This simplifies implementation, there is no need to handle
temporary buf strings for generating "(unknown: %d)" messages.

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
@mtkaczyk mtkaczyk force-pushed the mtkaczyk_fix_ibpi2str branch from 2fc0eec to 1504bde Compare April 9, 2024 14:21
@mtkaczyk mtkaczyk merged commit 9481845 into intel:master Apr 9, 2024
11 checks passed
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.

Remove not needed check in ibpi2str function
3 participants