On Wed, Sep 19, 2018 at 11:12 PM Wei Yongjun <weiyongjun1@xxxxxxxxxx> wrote: > In case of error, the function devm_kmalloc_array() returns NULL pointer > not ERR_PTR(). The IS_ERR() test in the return value check should be > replaced with NULL test. > > Fixes: 805250982bb5 ("pinctrl: mediatek: add pinctrl-paris that implements the vendor dt-bindings") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Patch applied with Sean's ACK. Yours, Linus Walleij