Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3177434imm; Tue, 4 Sep 2018 17:20:00 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY4kdsCDjB1ZQ4M7tGdsVyqKaWuGayzPaBCv65Q7AY8tVeGwqzpfQwExR6YgPwpgiGLiBVs X-Received: by 2002:a17:902:1025:: with SMTP id b34-v6mr36307977pla.291.1536106800204; Tue, 04 Sep 2018 17:20:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536106800; cv=none; d=google.com; s=arc-20160816; b=xrfNVsZOuHfhcfbeB3ER+dNZY6h8HEzoMtnKAW95btRmnhuYeiXAOEVgIdkx2pA4VG VskZ/RslXTfASEWpWSr5nPwGv/Ho4QSofyKP7LIfwpaFTvhkpAqKQkiXftNIrVH4V3Ej eMWIXh06J2OAHq9xq6C6jeI5FzrTkDfn/T+KYpAAjmaLKtY0hk9FQ/Aj4nxzPPFU6rnP oaRbN6wd4xJ0ToAWRs4pq0e3oJk6MOUbmS2kT5J+SIdmxuljY7+5PLFsRAyYjyfO1EC1 tW9oPuy8o5WYEcNxroztWaaAqc/7C/0JDMkEUODfucRNhogIeLS4DC2cDDw9wg5VHY/v BvWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature; bh=HNQ+hFa1cZOB534eJi2M+lqLNmiq2pfJR2e3g/EqOuE=; b=LbRY6vmNoj7wrho3ahgw3eOv4CcIIg4F6g22dh5h30qJemlrKbqKK/BFkKiaiI1lw5 c412QW2Y9ZMpnE8oN1mFN05dwMgChg5z2N4gmV7969xCJbvVGDfh3P9wjIBMXk+1a9SW 81uyApWW0ZDW1ZXQtPWpC2Ifc7lp5kLBiR0I9zZ+fYNaXBQXKW2Mqin2vpW8I1gCyDs5 5OIHtLxX5Y9kpcB4q3TBgecdRvKYK0q0Xu2q4IGY7wEw+9Jbhj3IQvgclIrHm0lgBqAu P/7abCUwHigrKN7lvxcdm2G9w49cxOu9X1rjSDLXRVF2QrONMv7DVnlr7/u3knduvjiz DPKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AOuonb5G; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1-v6si276950pgj.353.2018.09.04.17.19.19; Tue, 04 Sep 2018 17:20:00 -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; dkim=pass header.i=@chromium.org header.s=google header.b=AOuonb5G; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725900AbeIEEoF (ORCPT + 99 others); Wed, 5 Sep 2018 00:44:05 -0400 Received: from mail-yb1-f193.google.com ([209.85.219.193]:34279 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725822AbeIEEoF (ORCPT ); Wed, 5 Sep 2018 00:44:05 -0400 Received: by mail-yb1-f193.google.com with SMTP id t10-v6so2026440ybb.1 for ; Tue, 04 Sep 2018 17:16:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=HNQ+hFa1cZOB534eJi2M+lqLNmiq2pfJR2e3g/EqOuE=; b=AOuonb5GQtHmK5uE1QQNuKe9WwM9b0O6H6pQ4g6H0YZjHNWeCzUCw9j5BBG4kPClzU DJO3TohSgbYP8dIS+IbnmtmufEE8wRTS3fkwtB/hh3si7oGgG595OLu3MQvbIM36OEka K6f4EhPyeucBzZyGJJ0XDK8zxZEgcmAxiCbuM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=HNQ+hFa1cZOB534eJi2M+lqLNmiq2pfJR2e3g/EqOuE=; b=tQb91XoOWv3nZDTqRI9KYb3t0wpyM3RI+e89GRxe0j5/rnHEcEF/9/t4zeTuuXMPth cNXPZk8WRTtEvBtBesQ6pBK83V4UDNolQllSh6oXJa1GiJNFFkr6sGz6VTLJhp9/Se2Q UMaO5j9+Kxl3hTv3lMQBzr6WTYShTdwrnPxSMuvoW2TaRrr6CJUkwhZslh1lRvOdk6GB HbBuyL4RHwT2dUu2Jg2eFB9up2OE8FkOOKHDtMnoJs5lJbxZWYn+qPnHUJmeAcueJE+u LTDAZd6Ipx+MpFTRGRT8zK21NuzgS5v/FCuEhQbnkOKl44R5TVetbExx8xOreiV5AVCu a6Tg== X-Gm-Message-State: APzg51AQgwbFEv5chBe5K7v1jTGPxzGsgCgcMtl0llDgIrENiYFKnEdP PTFRF6EbPXTGa4H0Qa9QyiWauZQiLm0= X-Received: by 2002:a5b:652:: with SMTP id o18-v6mr19669482ybq.441.1536106595009; Tue, 04 Sep 2018 17:16:35 -0700 (PDT) Received: from mail-yw1-f53.google.com (mail-yw1-f53.google.com. [209.85.161.53]) by smtp.gmail.com with ESMTPSA id t2-v6sm232790ywd.99.2018.09.04.17.16.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Sep 2018 17:16:33 -0700 (PDT) Received: by mail-yw1-f53.google.com with SMTP id x83-v6so1980369ywd.4 for ; Tue, 04 Sep 2018 17:16:32 -0700 (PDT) X-Received: by 2002:a81:6cd2:: with SMTP id h201-v6mr19312680ywc.397.1536106592457; Tue, 04 Sep 2018 17:16:32 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:5f04:0:0:0:0:0 with HTTP; Tue, 4 Sep 2018 17:16:31 -0700 (PDT) In-Reply-To: <20180824094225.68b2adc6@mschwideX1> References: <20180824094225.68b2adc6@mschwideX1> From: Kees Cook Date: Tue, 4 Sep 2018 17:16:31 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] s390 patches for the 4.19 merge window #2 To: Harald Freudenberger Cc: Martin Schwidefsky , linux-kernel , linux-s390 , Heiko Carstens Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 24, 2018 at 12:42 AM, Martin Schwidefsky wrote: > Harald Freudenberger (5): > s390/zcrypt: hex string mask improvements for apmask and aqmask. This (and an earlier 2017 commit) adds VLAs, which are being removed[1] from the kernel: drivers/s390/crypto/ap_bus.c:980:3: warning: ISO C90 forbids variable length array =E2=80=98clrm=E2=80=99 [-Wvla] drivers/s390/crypto/ap_bus.c:981:3: warning: ISO C90 forbids variable length array =E2=80=98setm=E2=80=99 [-Wvla] drivers/s390/crypto/ap_bus.c:995:3: warning: ISO C90 forbids variable length array =E2=80=98setm=E2=80=99 [-Wvla] static int process_mask_arg(const char *str, unsigned long *bitmap, int bits, struct mutex *lock) ... DECLARE_BITMAP(clrm, bits); DECLARE_BITMAP(setm, bits); Can someone please adjust this to make these fixed size again? Thanks! -Kees [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=3DqPXydAa= cU1RqZWA@mail.gmail.com --=20 Kees Cook Pixel Security