aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorHarry Wentland <[email protected]>2021-09-07 19:40:06 -0400
committerAlex Deucher <[email protected]>2021-09-23 15:17:29 -0400
commit22667e6ec6b2ce9ca706e9061660b059725d009c (patch)
tree5b0d8d806874ef691ab0fba9ed6af4abc9fcb54e /tools/perf/scripts/python/arm-cs-trace-disasm.py
parente7eb2137e84adc7c6594463fbb41b9962d311f16 (diff)
drm/amd/display: Pass display_pipe_params_st as const in DML
[Why] This neither needs to be on the stack nor passed by value to each function call. In fact, when building with clang it seems to break the Linux's default 1024 byte stack frame limit. [How] We can simply pass this as a const pointer. This patch fixes these Coverity IDs Addresses-Coverity-ID: 1424031: ("Big parameter passed by value") Addresses-Coverity-ID: 1423970: ("Big parameter passed by value") Addresses-Coverity-ID: 1423941: ("Big parameter passed by value") Addresses-Coverity-ID: 1451742: ("Big parameter passed by value") Addresses-Coverity-ID: 1451887: ("Big parameter passed by value") Addresses-Coverity-ID: 1454146: ("Big parameter passed by value") Addresses-Coverity-ID: 1454152: ("Big parameter passed by value") Addresses-Coverity-ID: 1454413: ("Big parameter passed by value") Addresses-Coverity-ID: 1466144: ("Big parameter passed by value") Addresses-Coverity-ID: 1487237: ("Big parameter passed by value") Signed-off-by: Harry Wentland <[email protected]> Fixes: 3fe617ccafd6 ("Enable '-Werror' by default for all kernel builds") Cc: Nick Desaulniers <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: [email protected] Cc: Linux Kernel Mailing List <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Leo Li <[email protected]> Cc: Alex Deucher <[email protected]> Cc: Christian König <[email protected]> Cc: Xinhui Pan <[email protected]> Cc: Nathan Chancellor <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: [email protected] Acked-by: Christian König <[email protected]> Build-tested-by: Nathan Chancellor <[email protected]> Reviewed-by: Leo Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions