Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762320AbcLTL2i (ORCPT ); Tue, 20 Dec 2016 06:28:38 -0500 Received: from mail-wj0-f172.google.com ([209.85.210.172]:34634 "EHLO mail-wj0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756355AbcLTL2e (ORCPT ); Tue, 20 Dec 2016 06:28:34 -0500 From: Bartosz Golaszewski To: Bamvor Jian Zhang , Linus Walleij , Alexandre Courbot Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 0/3] gpio: mockup: bug fixes and tweaks Date: Tue, 20 Dec 2016 12:28:17 +0100 Message-Id: <1482233300-20078-1-git-send-email-bgolaszewski@baylibre.com> 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 Content-Length: 534 Lines: 15 While trying to use the gpio-mockup driver for testing purposes I noticed there's an issue with the gpiochip's label. It turned out the label pointer points to invalid memory area. This series fixes it and adds some minor changes in other places too. Bartosz Golaszewski (3): gpio: mockup: make pins_name_start static gpio: mockup: dynamically allocate memory for chip name gpio: mockup: coding style fixes drivers/gpio/gpio-mockup.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) -- 2.9.3