diff options
| author | Paulo Zanoni <[email protected]> | 2018-03-23 12:58:53 -0700 |
|---|---|---|
| committer | Paulo Zanoni <[email protected]> | 2018-03-23 16:40:54 -0700 |
| commit | 7487508eff1fe787573aa6e0f3daaa6b12bd4520 (patch) | |
| tree | ac9ad1dc3946b85596ddad55d24b931874b5b1d9 /tools/perf/scripts/python/bin | |
| parent | 323301af974cdd4b797e5b54f5c418554f39d1fa (diff) | |
drm/i915: protect macro parameters in SWING_SEL_{UPP,LO}WER
Protect the macro parameters with parens in order to avoid priority
issues on macro evaluation when the macro argument is not a single
operand.
This is not a problem today, but it could be in the future. I found
this while reviewing a patch that introduces new callers for the
macros.
v2: Rebase.
Reference: commit 04416108ccea ("drm/i915/cnl: Add registers related to voltage swing sequences.")
Cc: Rodrigo Vivi <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions