Re: [PATCH v4 1/7] PCI: mediatek-gen3: Clean up mtk_pcie_parse_port() with dev_err_probe()

From: Bjorn Helgaas

Date: Tue Mar 10 2026 - 19:19:19 EST


On Tue, Mar 10, 2026 at 05:19:40PM +0800, Chen-Yu Tsai wrote:
> mtk_pcie_parse_port() in the pcie-mediatek-gen driver has a bunch of
>
> if (err) {
> dev_err(dev, "error message\n");
> return err; # or goto
> }

Mani, if you apply this, tweak this to be indented with spaces; this
has a tab that makes "git log" output look like this:

if (err) {
dev_err(dev, "error message\n");
return err; # or goto
}

I had already done this on pci/controller/mediatek-gen3. ChenYu, if
you repost this for other reasons, you could fix it locally.