Re: [PATCH] PCI: tegra: fix devm_kcalloc argument order for port->phys allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 19 Aug 2025 08:04:08 -0700, Alok Tiwari wrote:
> 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.
> 
> 
> [...]

Applied, thanks!

[1/1] PCI: tegra: fix devm_kcalloc argument order for port->phys allocation
      commit: b69f898bf94b374a97d367459ff2fb52b4ab8829

Best regards,
-- 
Manivannan Sadhasivam <mani@xxxxxxxxxx>





[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux