On Tue, Oct 17, 2017 at 2:11 PM, Wei Yongjun <weiyongjun1@xxxxxxxxxx> wrote: > PTR_ERR should access the value just tested by IS_ERR, otherwise > the wrong error code will be returned. > > Fixes: 2eeb02b28579 ("PCI: faraday: Add clock handling") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Whoops, thanks! Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij