Is there a logical bug in the log_msg use case? #102891
Unanswered
dongl-alibaba
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
@dongl-alibaba As far as I understand it, I don’t think this is a logical error. In this case, the pointer is treated as a scalar value, so it doesn’t affect the ZERO_COPY decision and doesn't dereference the pointer argument. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This program is expecting a return in zero-copy mode (determined at compile time), but the parameters in Z_LOG_MSG_CREATE3 have non-literal parameters (address fetch operation that can only be determined at runtime: &i). Is this a logical error?
Beta Was this translation helpful? Give feedback.
All reactions