On Fri, Jun 9, 2017 at 2:41 PM, Bartosz Golaszewski <brgl@xxxxxxxx> wrote: > v1 -> v2: > - omit applied patches > - use kstrtoint_from_user() for debugfs input sanitization > - add a patch improving the code in gpio_mockup_event_write() > - bail out from gpio_mockup_event_write() on invalid input even when > nobody is listening for events > > v2 -> v3: > - added the patch replacing devm_kzalloc() with devm_kcalloc() where > applicable > FWIW, Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx> > Bartosz Golaszewski (8): > gpio: mockup: improve the debugfs input sanitization > gpio: mockup: tweak gpio_mockup_event_write() > gpio: mockup: refuse to accept an odd number of GPIO ranges > gpio: mockup: improve readability > gpio: mockup: don't return magic numbers from probe() > gpio: mockup: improve the error message > gpio: mockup: add myself as author > gpio: mockup: use devm_kcalloc() where applicable > > drivers/gpio/gpio-mockup.c | 67 ++++++++++++++++++++++++---------------------- > 1 file changed, 35 insertions(+), 32 deletions(-) > > -- > 2.9.3 > -- With Best Regards, Andy Shevchenko -- 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