From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751225AbdE3I6s (ORCPT ); Tue, 30 May 2017 04:58:48 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38364 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750896AbdE3I6r (ORCPT ); Tue, 30 May 2017 04:58:47 -0400 From: Bartosz Golaszewski To: Linus Walleij , Alexandre Courbot , Bamvor Jian Zhang Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 0/7] gpio: mockup: updates for 4.13 Date: Tue, 30 May 2017 10:58:33 +0200 Message-Id: <1496134720-5363-1-git-send-email-brgl@bgdev.pl> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series contains a couple bug fixes and other minor updates for the GPIO testing module. 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 Bartosz Golaszewski (7): 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 drivers/gpio/gpio-mockup.c | 61 ++++++++++++++++++++++++---------------------- 1 file changed, 32 insertions(+), 29 deletions(-) -- 2.9.3