[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230630163828.GA486259@bhelgaas>
Date: Fri, 30 Jun 2023 11:38:28 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: Lizhi Hou <lizhi.hou@...inx.com>
Cc: linux-pci@...r.kernel.org, devicetree@...r.kernel.org,
robh@...nel.org, yilun.xu@...el.com, maxz@...inx.com,
sonal.santan@...inx.com, yliu@...inx.com, michal.simek@...inx.com,
stefanos@...inx.com, trix@...hat.com, mdf@...nel.org,
dwmw2@...radead.org, linux-kernel@...r.kernel.org,
Max Zhen <max.zhen@...inx.com>
Subject: Re: [PATCH V1 RESEND 3/4] fpga: xrt: management physical function
driver
On Fri, Mar 04, 2022 at 09:23:03PM -0800, Lizhi Hou wrote:
> The PCIe device driver which attaches to management function on Alveo
> devices. The first version of this driver demonstrates calling PCIe
> interface to create device tree node.
> ...
> +static int __init xmgmt_init(void)
> +{
> + int res;
> +
> + res = pci_register_driver(&xmgmt_driver);
> + if (res)
> + return res;
> +
> + return 0;
This is the same as:
return pci_register_driver(&xmgmt_driver);
Bjorn
Powered by blists - more mailing lists