aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-12-28 19:03:32 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-01-06 17:15:46 +0800
commit4f289826fee03571c2784272dd530aae1fd77566 (patch)
tree5d5c668107debbae1d884bc661e19356eb70b943 /tools/perf/scripts/python
parentlib/mpi: Fix buffer overrun when SG is too long (diff)
downloadlinux-4f289826fee03571c2784272dd530aae1fd77566.tar.gz
linux-4f289826fee03571c2784272dd530aae1fd77566.zip
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/202210290446.qBayTfzl-lkp@intel.com Reported-by: kernel test robot <lkp@intel.com> Reported-by: Kees Cook <keescook@chromium.org> Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Tested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions