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: b7d7f9eeca55 ("pinctrl: mediatek: extend struct mtk_pin_desc which per-pin driver depends on") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Patch applied with Sean's ACK. Yours, Linus Walleij