-
Lionel Landwerlin authored
The 'v' variable isn't defined in this part of the 'TracepointFmt' rule but because of the way the generator produces code (one function per rule) it doesn't realize we're accessing a variable from a different case of the rule and this doesn't lead to a C compiler error on undefined variable. Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Chris Wilson <chris@chris-wilson.co.uk>
Lionel Landwerlin authoredThe 'v' variable isn't defined in this part of the 'TracepointFmt' rule but because of the way the generator produces code (one function per rule) it doesn't realize we're accessing a variable from a different case of the rule and this doesn't lead to a C compiler error on undefined variable. Signed-off-by:
Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by:
Chris Wilson <chris@chris-wilson.co.uk>