diff options
| author | Ohad Sharabi <osharabi@habana.ai> | 2022-07-18 22:02:13 +0300 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2022-09-18 13:29:50 +0300 |
| commit | 0c819c9a04413facd3b167ec1e6f5928e909fcb2 (patch) | |
| tree | 21b6448cd15e052e373a749f6af423f10824cefb /tools/perf/scripts/python | |
| parent | f25a72b8b9f4885ea30263a02d1083e283c9e718 (diff) | |
| download | linux-0c819c9a04413facd3b167ec1e6f5928e909fcb2.tar.gz linux-0c819c9a04413facd3b167ec1e6f5928e909fcb2.zip | |
habanalabs: wrap macro arg with parentheses
The macro argument <val> is cast-ed to u32 in some of the places.
Because this arg can be some arithmetic computation (e.g. address +
offset) the cast should be on the whole expression.
Signed-off-by: Ohad Sharabi <osharabi@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
