[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c0bb5bcf-6ccb-d155-7184-a7174bb36bd8@linux.intel.com>
Date: Tue, 27 Aug 2019 17:14:11 +0800
From: Dilip Kota <eswara.kota@...ux.intel.com>
To: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
Cc: "Chuan Hua, Lei" <chuanhua.lei@...ux.intel.com>,
andriy.shevchenko@...el.com, cheol.yong.kim@...el.com,
devicetree@...r.kernel.org, gustavo.pimentel@...opsys.com,
hch@...radead.org, jingoohan1@...il.com,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
qi-ming.wu@...el.com
Subject: Re: [PATCH v2 3/3] dwc: PCI: intel: Intel PCIe RC controller driver
On 8/27/2019 4:14 AM, Martin Blumenstingl wrote:
> second example: pcie-tegra194 (only in -next, will be part of v5.4)
> struct tegra_pcie_dw {
> ...
> struct dw_pcie pci;
> ...
> };
>
> so some drivers store a pointer pointer to the dw_pcie struct vs.
> embedding the dw_pcie struct directly.
> as far as I know the result will be equal, except that you don't have
> to use a second devm_kzalloc for struct dw_pcie (and thus reducing
> memory fragmentation).
Okay, i will change it to "struct dw_pcie pci;"
Thanks for the feedback.
Regards,
Dilip
Powered by blists - more mailing lists