aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2024-09-07 01:53:26 +0100
committerMark Brown <[email protected]>2024-09-09 16:58:12 +0100
commitd01c6a398750aae265c17859b57d7409a6d9181d (patch)
tree13f33fc882bd9a40ae920b3fc975e50c8ab11c6a /tools/perf/util/scripting-engines/trace-event-python.c
parent241c044e743f9c55886828763c99b51b0392c21d (diff)
ASoC: mt8365: Open code BIT() to avoid spurious warnings
The mt8365 driver uses bits.h to define bitfields but BIT() uses unsigned long constants so does not play well with being bitwise negated and converted to an unsigned int, the compiler complains about width reduction on a number of architectures. Just open code the shifting to avoid the issue. Generated with s/BIT(/(1U << / Reported-by: Nathan Chancellor <[email protected]> Reviewed-by: Alexandre Mergnat <[email protected]> Tested-by: Nathan Chancellor <[email protected]> # build Signed-off-by: Mark Brown <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions