aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2022-12-28 19:03:32 +0800
committerHerbert Xu <[email protected]>2023-01-06 17:15:46 +0800
commit4f289826fee03571c2784272dd530aae1fd77566 (patch)
tree5d5c668107debbae1d884bc661e19356eb70b943 /tools/perf/scripts/python/bin/stackcollapse-report
parent7361d1bc307b926cbca214ab67b641123c2d6357 (diff)
crypto: caam - Avoid GCC memset bug warning
Certain versions of gcc don't like the memcpy with a NULL dst (which only happens with a zero length). This only happens when debugging is enabled so add an if clause to work around these warnings. A similar warning used to be generated by sparse but that was fixed years ago. Link: https://lore.kernel.org/lkml/[email protected] Reported-by: kernel test robot <[email protected]> Reported-by: Kees Cook <[email protected]> Reported-by: Uwe Kleine-König <[email protected]> Tested-by: Uwe Kleine-König <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions