summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorAlok Tiwari <alok.a.tiwari@oracle.com>2025-08-19 08:04:08 -0700
committerBjorn Helgaas <bhelgaas@google.com>2025-09-03 15:41:02 -0500
commite1a8805e5d263453ad76a4f50ab3b1c18ea07560 (patch)
treecdf0bcb7306c4400948cb82d0f890e5137c58736 /tools/docs/parse-headers.py
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff)
PCI: tegra: Fix devm_kcalloc() argument order for port->phys allocation
Fix incorrect argument order in devm_kcalloc() when allocating port->phys. The original call used sizeof(phy) as the number of elements and port->lanes as the element size, which is reversed. While this happens to produce the correct total allocation size with current pointer size and lane counts, the argument order is wrong. Fixes: 6fe7c187e026 ("PCI: tegra: Support per-lane PHYs") Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com> [mani: added Fixes tag] Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20250819150436.3105973-1-alok.a.tiwari@oracle.com
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions