On Wed, Dec 6, 2017 at 5:30 PM, Bartosz Golaszewski <brgl@xxxxxxxx> wrote: > The return value of platform_device_register_resndata() on error is > an error code converted to pointer with ERR_PTR(), not NULL. > > Check the return value correctly. > > Fixes: 8a39f597bcfd ("gpio: mockup: rework device probing") > Signed-off-by: Bartosz Golaszewski <brgl@xxxxxxxx> Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html