Re: [PATCH 2/2] PCI: rcar-host: add support for optional regulators

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

 



> > +       int i, err;
> 
> unsigned int i?

OK.

> 
> >         struct pci_host_bridge *bridge;
> 
> The (lack of) reverse-Xmas-tree ordering is hurting my OCD, but that's
> not your fault...

Ack :) I can change it, though.

> > +                       dev_err_probe(dev, err, "error enabling regulator %s\n",
> > +                                     rcar_pcie_supplies[i]);
> 
> Shouldn't this return, and propagate the error code upstream?

Ouch, brown paper bag, please.

Attachment: signature.asc
Description: PGP signature


[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