[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181123174754.GA9772@e107981-ln.cambridge.arm.com>
Date: Fri, 23 Nov 2018 17:50:20 +0000
From: Lorenzo Pieralisi <lorenzo.pieralisi@....com>
To: Kunihiko Hayashi <hayashi.kunihiko@...ionext.com>
Cc: Bjorn Helgaas <bhelgaas@...gle.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-pci@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Masami Hiramatsu <masami.hiramatsu@...aro.org>,
Jassi Brar <jaswinder.singh@...aro.org>,
Gustavo Pimentel <gustavo.pimentel@...opsys.com>
Subject: Re: [RESEND PATCH v3 2/2] PCI: uniphier: Add UniPhier PCIe host
controller support
On Tue, Nov 20, 2018 at 09:15:31PM +0900, Kunihiko Hayashi wrote:
[...]
> > > +static int uniphier_pcie_link_up(struct dw_pcie *pci)
> >
> > This function returns a bool value, make it return a bool.
>
> This function is registered in struct dw_pcie_ops.link_up, that is defined
> in pcie-designware.h as follows:
>
> int (*link_up)(struct dw_pcie *pcie);
>
> Changing the return type of this function makes type mismatch,
> so I think it's difficult to change it.
You are right, it is fine.
Thanks,
Lorenzo
Powered by blists - more mailing lists