Received: by 10.213.65.68 with SMTP id h4csp110392imn; Thu, 15 Mar 2018 11:04:07 -0700 (PDT) X-Google-Smtp-Source: AG47ELsKe7BJ1HnInF7AraNiRGNwpwo6+WrOrv46FsxZQFoCW7QCBxV1T+ariRO1FMxpfy+Cdph0 X-Received: by 10.101.75.18 with SMTP id r18mr7352371pgq.36.1521137047331; Thu, 15 Mar 2018 11:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521137047; cv=none; d=google.com; s=arc-20160816; b=WhvLo6VKAMcOker4nqm7DnunLxaxM9EdICq2jAh501nu3OsV1R6+VjEU8KDfT+q6Ww 71rnVy8nY85VN5upM2ZC61WN7aKy2+C1Ll127E8gxzl7bk25/g+2Eqg4uxJnvXU4M/dm b93qewN63c1NsJpBhSJ7BtvXwyHv9c1M6jvRq9auDwXeOZ4QLYgSj/jne+7IZaXmBEYB O7hr9C1u2JtZD5HR5KRoxM6p6EgN1aifIfGqcnEaQfzRJYIyl7Ku05NrtxxpihxoRzPB Gzs9cuwZtKTOtK9ekB77RmxhTAr7HCFj/09Nv1kp0kieBlDjdiqP2ExJR7VeY/fUlC++ n80g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ARVqQK62NPyJDWoWTi8LtLfxj0dIKiyp3Xj/DoxULB0=; b=J+aJm2vXfyw4mU6BZ47inR7uETeVIehHptKYFdRF4CBMFPsf9/CBX52M7RZAx0wBdu VUbToI1ifMEHPOdG6dY/yjtV/q0EKkoq2lRZk3x/bjF7Ip4LGoKtf/uH2FeoUbVfjskO y0bPnNVLr0hxcy/hvO/VhictwjCDDTEiqOUiG1v6qFAL9NDTuid6lfjHL4dNKiuNfU9w mDGKGQc9ZiV/2BSeND9WwXirenQX0/S7KbZTROWhXaKOGX3sEXAsvk7dE6CExFJ5ny6t rfSl3WZoBAOuiSarLreJirDblK1Zj61HfMGLNS/eXR6vgAuNDsRYIniaAiSOhbzX264L 4xWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3-v6si4334890plo.746.2018.03.15.11.03.41; Thu, 15 Mar 2018 11:04:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752573AbeCOSAk (ORCPT + 99 others); Thu, 15 Mar 2018 14:00:40 -0400 Received: from mail-oi0-f65.google.com ([209.85.218.65]:37138 "EHLO mail-oi0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751714AbeCOSAj (ORCPT ); Thu, 15 Mar 2018 14:00:39 -0400 Received: by mail-oi0-f65.google.com with SMTP id f186so6453895oig.4 for ; Thu, 15 Mar 2018 11:00:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ARVqQK62NPyJDWoWTi8LtLfxj0dIKiyp3Xj/DoxULB0=; b=hkPi/fPhDZww97KhLBMxIZ9nBjiHCKnig/SiPrJIgU5eQi50XiPgxQABafDW7uPyp4 QYNW42SYUwHWn0tqsmktE9X5gGEAVEYv/RT91CwK/TiJIHWjSsH7bExgRIwMmBTR/5/7 /mFNCZb+xwT4hdp2sAq8l9rDBpXB3A/Y9DrKa+1Hww318qwzDRCJYTCnTkKoynEZkO7X BYu5wN0jILaFxTfI878a6BXMt9Oz54JTobTuylMm8bUtlz2OKj3HLtdZd/UPt5Rxc+xD d/cetCswewqTnPhUUrCsI5HQZIys85nigCk5lZeUS7a7rPvhNR0ch3rpSm46f1lqDvKB cSqw== X-Gm-Message-State: AElRT7Gqk+D2cxWR0qoIBaPYFzro2WtpWwicKdtId9jppTg9VBeqNgP9 /IuF7iiedUgQe1Gsdv7g0HJQ7Q== X-Received: by 10.202.117.5 with SMTP id q5mr6088947oic.302.1521136837866; Thu, 15 Mar 2018 11:00:37 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::b761]) by smtp.gmail.com with ESMTPSA id 68sm1372098otj.34.2018.03.15.11.00.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Mar 2018 11:00:35 -0700 (PDT) From: Laura Abbott To: Linus Walleij , Kees Cook , Lukas Wunner , Nandor Han , Patrice Chotard Cc: Laura Abbott , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, Mathias Duckeck Subject: [PATCHv2 0/4] VLA removal from the gpio subsystem Date: Thu, 15 Mar 2018 11:00:26 -0700 Message-Id: <20180315180030.20001-1-labbott@redhat.com> X-Mailer: git-send-email 2.14.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This is v2 of the series to remove VLAs from the kernel. This is mostly to collect some of the feedback I've gotten so far, more detailed descriptions are in the individual patches. Thanks, Laura Laura Abbott (4): gpio: Remove VLA from gpiolib gpio: Remove VLA from MAX3191X driver gpio: Remove VLA from xra1403 driver gpio: Remove VLA from stmpe driver drivers/gpio/gpio-max3191x.c | 7 +++- drivers/gpio/gpio-stmpe.c | 7 +++- drivers/gpio/gpio-xra1403.c | 8 ++++- drivers/gpio/gpiolib.c | 78 ++++++++++++++++++++++++++++++++++--------- drivers/gpio/gpiolib.h | 2 +- include/linux/gpio/consumer.h | 8 +++-- 6 files changed, 87 insertions(+), 23 deletions(-) -- 2.14.3