diff options
| author | Zong Jiang <quic_zongjian@quicinc.com> | 2025-08-12 08:48:18 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-14 12:59:29 +0300 |
| commit | c3e7966c60745f87a0b73672a85c920099f90a7e (patch) | |
| tree | b7724e492107e44820deb8cab86deb35155fe605 /scripts/gdb/linux | |
| parent | 8672b18cde548748ac04a3aa247369ac2d4c2985 (diff) | |
| download | linux-c3e7966c60745f87a0b73672a85c920099f90a7e.tar.xz | |
serial: qcom-geni: Dynamically allocate UART ports
Replace the static allocation of UART ports with dynamic allocation
using devm_kzalloc. This change removes the fixed-size array and instead
allocates each UART port structure on demand during probe, improving
memory efficiency and scalability.
Signed-off-by: Zong Jiang <quic_zongjian@quicinc.com>
Link: https://lore.kernel.org/r/20250812054819.3748649-2-quic_zongjian@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions
