summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2017-04-06 13:14:28 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-04-11 10:58:18 +0300
commit8261bd4e91e26d12c1ade9f94dae51629157c18b (patch)
tree5689e72793c7d3e588ff5fd4a8202963b60b58fe /tools/perf/scripts/python/export-to-postgresql.py
parente35b135055e24d705736fd98c975afc46a793a09 (diff)
usb: dwc3: make macros safe to expression arguments
We must make sure that our macros are safe against expressions passed as arguments. We have seen one problem where GTXFIFOSIZ(n) was failing when passed the expression (epnum >> 1) as argument. The problem was caused by operator precedence between >> and *. To make sure macros are safe, we just wrap argument with () when using it. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions