linux/drivers/firmware/tegra
Qing Wang fa586abcfe firmware: tegra: Switch over to memdup_user()
This patch fixes the following Coccinelle warning:

drivers/firmware/tegra/bpmp-debugfs.c:379: WARNING opportunity for memdup_user

Use memdup_user() rather than duplicating its implementation. This is a
little bit restricted to reduce false positives.

Signed-off-by: Qing Wang <wangqing@vivo.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2022-09-15 12:45:42 +02:00
..
bpmp-debugfs.c firmware: tegra: Switch over to memdup_user() 2022-09-15 12:45:42 +02:00
bpmp-private.h firmware: tegra: bpmp: Fix Tegra234-only builds 2021-06-11 13:31:51 +02:00
bpmp-tegra186.c firmware: tegra: Defer BPMP probe if shared memory not available 2020-05-22 14:57:14 +02:00
bpmp-tegra210.c firmware: tegra: bpmp: Use devm_platform_ioremap_resource() 2021-10-07 20:52:24 +02:00
bpmp.c firmware: tegra: bpmp: Do only aligned access to IPC memory area 2022-06-24 17:57:29 +02:00
ivc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
Kconfig firmware: tegra: Fix a typo in Kconfig 2020-02-17 08:54:09 +01:00
Makefile firmware: tegra: bpmp: Fix Tegra234-only builds 2021-06-11 13:31:51 +02:00