mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-18 19:13:06 +00:00
GCC 14.1 complains about the argument usage of kmemdup_array():
drivers/soc/tegra/fuse/fuse-tegra.c:130:65: error: 'kmemdup_array' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
130 | fuse->lookups = kmemdup_array(fuse->soc->lookups, sizeof(*fuse->lookups),
| ^
drivers/soc/tegra/fuse/fuse-tegra.c:130:65: note: earlier argument should specify number of elements, later size of each element
The annotation introduced by commit
|
||
|---|---|---|
| .. | ||
| cbb | ||
| fuse | ||
| ari-tegra186.c | ||
| common.c | ||
| flowctrl.c | ||
| Kconfig | ||
| Makefile | ||
| pmc.c | ||
| regulators-tegra20.c | ||
| regulators-tegra30.c | ||