[PATCH v2] PCI: brcmstb: fix a missing if statement on a return error check
james.quinlan at broadcom.com
Tue Sep 22 08:43:38 EDT 2020
On Tue, Sep 22, 2020 at 7:49 AM Markus Elfring <Markus.Elfring at web.de> wrote:
> > The error return ret is not being check with an if statement and
> Wording alternative:
> The return value from a call of the function “brcm_phy_start” was not checked and
> > V2: disable clock as noted by Florian Fainelli and suggested by
> > Jim Quinlan.
> Alex Dewar contributed another update suggestion.
> [PATCH v2] PCI: brcmstb: Add missing if statement and error path
> The exception handling needs further development considerations
> for this function implementation.
I agree with Alex's patch. I should have suggested this at the
beginning but as our upstream STB suspend/resume is not yet functional
and the one-line change would have worked until we fixed
suspend/resume.. But this is the proper modification.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4167 bytes
Desc: S/MIME Cryptographic Signature
More information about the linux-arm-kernel