summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2024-09-07 13:17:01 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2024-09-10 07:29:44 +0200
commitffe3dc5acaa2477276011d6eb61373220217cd9d (patch)
tree4778ef6e5f45444e6ecf5366ba20ea5d530da397 /tools/perf/scripts/python/bin/stackcollapse-report
parentb36c41c51e9d763393634359b90f02414ef470a3 (diff)
downloadkernel-ffe3dc5acaa2477276011d6eb61373220217cd9d.tar.gz
media: atomisp: Fix eed1_8 code assigning signed values to an unsigned variable
ia_css_eed1_8_vmem_encode() is assigning values with a range of -8192 - 8191 to e_dew_enh_y and e_dew_enh_a both of which are of the VMEM_ARRAY type which maps to u16. This causes the following smatch warnings: drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ia_css_eed1_8.host.c: drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ia_css_eed1_8.host.c:177 ia_css_eed1_8_vmem_encode() warn: assigning (-8192) to unsigned variable 'to->e_dew_enh_y[0][base + j]' drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ia_css_eed1_8.host.c: drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/ia_css_eed1_8.host.c:182 ia_css_eed1_8_vmem_encode() warn: assigning (-8192) to unsigned variable 'to->e_dew_enh_a[0][base + j]' Convert the e_dew_enh_y and e_dew_enh_a arrays to a new SVMEM_ARRAY type which maps to s16 to fix this. Link: https://lore.kernel.org/linux-media/20240907111701.8493-1-hdegoede@redhat.com Reported-by: Mauro Carvalho Chehab <mchehab@kernel.org> Closes: https://lore.kernel.org/linux-media/20240906081542.5cb0c142@foz.lan/ Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
800'>2021-11-15selftests/sgx: Add test for multiple TCS entryReinette Chatre 2021-11-15selftests/sgx: Enable multiple thread supportReinette Chatre 2021-11-15selftests/sgx: Add page permission and exception testReinette Chatre 2021-11-15selftests/sgx: Rename test properties in preparation for more enclave testsReinette Chatre 2021-11-15selftests/sgx: Provide per-op parameter structs for the test enclaveJarkko Sakkinen 2021-11-15selftests/sgx: Add a new kselftest: Unclobbered_vdso_oversubscribedJarkko Sakkinen 2021-11-15selftests/sgx: Move setup_test_encl() to each TEST_F()Jarkko Sakkinen 2021-11-15selftests/sgx: Encpsulate the test enclave creationJarkko Sakkinen 2021-11-15selftests/sgx: Dump segments and /proc/self/maps only on failureJarkko Sakkinen 2021-11-15selftests/sgx: Create a heap for the test enclaveJarkko Sakkinen 2021-11-15selftests/sgx: Make data measurement for an enclave segment optionalJarkko Sakkinen 2021-11-15selftests/sgx: Assign source for each segmentJarkko Sakkinen 2021-11-15selftests/sgx: Fix a benign linker warningSean Christopherson 2021-07-30selftests/sgx: Fix Q1 and Q2 calculation in sigstruct.cTianjia Zhang 2021-06-23selftests/sgx: remove checks for file execute permissionsDave Hansen 2021-06-15selftests/sgx: Refine the test enclave to have storageJarkko Sakkinen 2021-06-15selftests/sgx: Add EXPECT_EEXIT() macroJarkko Sakkinen 2021-06-15selftests/sgx: Dump enclave memory mapJarkko Sakkinen 2021-06-15selftests/sgx: Migrate to kselftest harnessJarkko Sakkinen 2021-06-15selftests/sgx: Rename 'eenter' and 'sgx_call_vdso'Jarkko Sakkinen 2021-04-06x86/sgx: Expose SGX architectural definitions to the kernelSean Christopherson 2021-03-24selftests/sgx: Use getauxval() to simplify test codeTianjia Zhang 2021-03-19selftests/sgx: Improve error detection and messagesDave Hansen 2020-11-18selftests/sgx: Use a statically generated 3072-bit RSA keyJarkko Sakkinen 2020-11-18selftests/x86: Add a selftest for SGXJarkko Sakkinen