Skip to content

Conversation

@kulpaj
Copy link

@kulpaj kulpaj commented Mar 24, 2020

listed below
-because lack of '\0' in header, changing strncpy to memcpy
-changing size of format buffer to fit the format string
-suggestion to use memset rather tha for loop to fill buffer with space ' '
-very nasty workaround to -Werror=address-of-packed-member for struct hashpipe_ibv_flow attr. I don't like that approach. Maybe just forcing to ignore address-of-packed-member is better, as attr is the first attribute and it will be aligned

kulpaj added 3 commits March 24, 2020 16:55
listed below
    -because lack of '\0' in header, changing strncpy to memcpy
    -changing size of format buffer to fit the format string
    -suggestion to use memset rather tha for loop to fill buffer with space ' '
    -very nasty workaround to -Werror=address-of-packed-member for struct hashpipe_ibv_flow wattr
add ignore pragma to ignore warnings for troublesome line
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.

1 participant