Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp572299imm; Wed, 23 May 2018 01:47:33 -0700 (PDT) X-Google-Smtp-Source: AB8JxZphiTMAXTcniMw0WEs3jFH/LXWXBxSiEYOCkwroeidNqLksjr4mOcu6m9b+n+Wm+lETYWtD X-Received: by 2002:a17:902:76c1:: with SMTP id j1-v6mr2043095plt.284.1527065253715; Wed, 23 May 2018 01:47:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527065253; cv=none; d=google.com; s=arc-20160816; b=dxIBu5KZcH+iOj5Tt20C5YTlsYOgspAWATOA2DT/CEuYC5CGRb665YXANFjcsB+093 bMWc3cd4oB3uWcAO/PRkTaCqAMGfNhuc7YhDyW7E0xlyeYH5JSCcXwAgE1FfOdsH7Zyg kd5T4D/UvvrDiggp7VfgHacR8hZY+z4cOZgAY/qFw99l825OYefydc1HliADQZgGgCf2 33VwPqKaBThnLCw1Htyhhsutf9gu6HnpZB53kOnBQYBFcAIEh/2l0TGySCFrlxSIGMZL dpWAbJjUqwGURs+UeKFFZBNlNXn03wk1Z+COINa3sK8flHzwqN1vR/HNm/btCYcU9BUZ obtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=bmpGQy4zVQZIZSRBVyrJlSYqvTQNrvjJWoi3U/QvFX0=; b=B7nUXbgyXfWGZNQQkLBpzPeFnQHJebPHUzhKjaqF1vIJhhDjqJNEVZMRF/PPAIl0qy bRn8h1L2K5KzYP+qS57Vz4JJBElmQO7hxbMNXLr2B0qYFeqPXd6n4Buy2/545oNw8mE2 4BowQAJFyV4snbcaRvHjCfbSig2bM/zePCJig7kMRyrh/HvDPJ6jV0BsqomO4wM0fcM2 da9ZWKprH2cIS2qVaXMQYXg7oh5MbvaTJz/Q9t3PZM45i1IvtlYBZCA0RTJ6eCQ7xfIn PkNA9yEocKOT1OGfMuboMyAJjlT6tf82Qvxf+GseGnS0TuKkqFAbeI8q/0ugOD7+ksUE On0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=bbW3j5dB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c131-v6si18095389pfg.108.2018.05.23.01.47.19; Wed, 23 May 2018 01:47:33 -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=fail header.i=@ffwll.ch header.s=google header.b=bbW3j5dB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754558AbeEWIqg (ORCPT + 99 others); Wed, 23 May 2018 04:46:36 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:38592 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754513AbeEWIqR (ORCPT ); Wed, 23 May 2018 04:46:17 -0400 Received: by mail-wm0-f68.google.com with SMTP id m129-v6so6837266wmb.3 for ; Wed, 23 May 2018 01:46:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=bmpGQy4zVQZIZSRBVyrJlSYqvTQNrvjJWoi3U/QvFX0=; b=bbW3j5dB0qwWjBTta2uStScl/UwC14yhIRbgAHRdLZgaCDrdbvb0YzJo4qcUPXcZtF ljS6vkceEuhdgt/++Sptz+jDUs9k54Hk1Js65duuarnE8oPxJfDEL5v9gistes+i/UcR Vm//KcjsXmksCJ/of2O99noZLorFd7nijVwzU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=bmpGQy4zVQZIZSRBVyrJlSYqvTQNrvjJWoi3U/QvFX0=; b=DabljVubmMlPujDZNkUB5nf56W7KkWVW7/Yyok5sYqMQLtt1FrjHokUOn4MCLuRG/U qLuzUkzmjQPTvONW6aHI4gv9A2rZlgDB798lLLVAWqz7Zy9cx99aR5Yha0xuwK75f9+K 5deQqYvcXZ2xlEsOREJdIReqH0jzzebVp0tFz2321cZfEr31LHx0lybLMojGE21xT5p5 uDKB6JLigX3Upy4y1K9EEhkzA2ssZBAdUiKnA4/TI0FZKuB+O9TDPDaFBc+qWpNj3Uiw 8b85z7DugRHCKjTHuNcdhzvWKhWt3zAUJtIqmZPSSOlCwguVXcN6jHtoaS632F4TU/xF yTfQ== X-Gm-Message-State: ALKqPwfR/+Jd3w9SnZJ17PioZFchpP5EAibiH0evEihg0LgvjDNwFUpe b6kVKIEU5FajfNgc6L/MeoPK3w== X-Received: by 2002:a50:8fa5:: with SMTP id y34-v6mr6182943edy.290.1527065176641; Wed, 23 May 2018 01:46:16 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:5628:0:d0c7:bcda:eea:9e5d]) by smtp.gmail.com with ESMTPSA id u2-v6sm10438188edm.0.2018.05.23.01.46.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 01:46:15 -0700 (PDT) Date: Wed, 23 May 2018 10:46:14 +0200 From: Daniel Vetter To: Russell King - ARM Linux Cc: Kees Cook , Daniel Vetter , Laura Abbott , David Airlie , Maling list - DRI developers , LKML , Kernel Hardening Subject: Re: [PATCHv2] drm/i2c: tda998x: Remove VLA usage Message-ID: <20180523084614.GL3438@phenom.ffwll.local> Mail-Followup-To: Russell King - ARM Linux , Kees Cook , Laura Abbott , David Airlie , Maling list - DRI developers , LKML , Kernel Hardening References: <20180411010330.17866-1-labbott@redhat.com> <20180519100707.GI17671@n2100.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180519100707.GI17671@n2100.armlinux.org.uk> X-Operating-System: Linux phenom 4.15.0-3-amd64 User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 19, 2018 at 11:07:08AM +0100, Russell King - ARM Linux wrote: > On Fri, May 18, 2018 at 11:01:55AM -0700, Kees Cook wrote: > > On Tue, Apr 10, 2018 at 6:03 PM, Laura Abbott wrote: > > > There's an ongoing effort to remove VLAs[1] from the kernel to eventually > > > turn on -Wvla. The vla in reg_write_range is based on the length of data > > > passed. The one use of a non-constant size for this range is bounded by > > > the size buffer passed to hdmi_infoframe_pack which is a fixed size. > > > Switch to this upper bound. > > > > > > [1] https://lkml.org/lkml/2018/3/7/621 > > > > > > Signed-off-by: Laura Abbott > > > > Reviewed-by: Kees Cook > > > > Same question for this patch: who's best to take this? > > I had decided that I'm not taking any tda998x stuff until we get the > CEC support merged upstream, as that has been hanging around for ages. > Progress has been slow on that, but it finally got to the point where > everyone was happy with it, and I sent a pull request to David Airlie > on April 24th for it. > > Unfortunately, that pull request has not been actioned to date. I've > sent a chaser, and last night, I checked with David Airlie on IRC. > It seems David is not aware of my pull request. David says he'll look > into this on Monday. > > Until David does take it, I can't add anything further to my git tree > for tda998x development, as that would change what was sent to David > back in April. > > The alternative would be for drm-misc to take it - I don't think it > will conflict with anything I've already asked David to take, so that > should be a safe route for _this_ patch. Sounds reasonable, applied to drm-misc-next for 4.19 just to make sure it won't get lost. Thanks, Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch