diff options
| author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2023-09-22 10:03:47 +0100 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-10-01 16:28:15 +0800 |
| commit | 4e4e2ed22d505c5bacf65c6a39bfb6d120d24785 (patch) | |
| tree | c346b00aa882a83fc3cc2fc2fe4c489a3e848d90 /tools/perf/scripts/python/stackcollapse.py | |
| parent | a8d3cdcc092fb2f2882acb6c20473a1be0ef4484 (diff) | |
| download | linux-4e4e2ed22d505c5bacf65c6a39bfb6d120d24785.tar.gz linux-4e4e2ed22d505c5bacf65c6a39bfb6d120d24785.zip | |
crypto: qat - increase size of buffers
Increase the size of the buffers used for composing the names used for
the transport debugfs entries and the vector name to avoid a potential
truncation.
This resolves the following errors when compiling the driver with W=1
and KCFLAGS=-Werror on GCC 12.3.1:
drivers/crypto/intel/qat/qat_common/adf_transport_debug.c: In function ‘adf_ring_debugfs_add’:
drivers/crypto/intel/qat/qat_common/adf_transport_debug.c:100:60: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
drivers/crypto/intel/qat/qat_common/adf_isr.c: In function ‘adf_isr_resource_alloc’:
drivers/crypto/intel/qat/qat_common/adf_isr.c:197:47: error: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 5 [-Werror=format-truncation=]
Fixes: a672a9dc872e ("crypto: qat - Intel(R) QAT transport code")
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Damian Muszynski <damian.muszynski@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
