Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp5483325imm; Sat, 19 May 2018 03:08:30 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrhVL9n2TXx7U70IaN+Ly0/MYIGRS08j2XEUSLsGf2ya2E34P67pcugi7dp1SzrooodxKpU X-Received: by 2002:a65:4d0b:: with SMTP id i11-v6mr10038104pgt.51.1526724510410; Sat, 19 May 2018 03:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526724510; cv=none; d=google.com; s=arc-20160816; b=q6h7y9EVBhhUQQbCYRX3cjNQ3IDPrbxk8pSJl9q9SRC4BabUSQ+agAn17EEbkBJvLF mx2wrm3528lkIn8CXDcn+jL3cbjVwpc+E21AnghWOZoevi1XUGC/MlaawG+jvJJwnVRK mIIwyY/kGHsdbmqNnYRRm2NsHVQrIg8pHEULvS7LNvG+2SNhS9FK3mAIkC2Yn3ZoHY/8 xdgYFqETSUDibffq2VOzkg3rIATA6uzHs7j8If4u0YyuWguhfpzkHos+Rr/ABoLxr8Zz xsi0wFIC0FXcL3Ak/j6safnKBjlD7TXZrmWVmuon9xupYqmhf8wJYv5q8Z93WfU6wPTd 0l2g== 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:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=CNiY71Y/bF7us9+WjX2+q86OColCJ7yyu/ieJnBr5qY=; b=jMXYAFy7rJZV9VLk09EumJTBHWiHC5tZLDxJtN9tV7hd5Kmg9WtBfwBMjUZMz89xED ZpbmHHJPR6mRl/J7jZ/Z8zbzItP2/GOk9TmOOnUq5qV0AAo+IWVjJyFSjfms4/W4OVca HQ+3EPG4D1c4yXoXxDFDVNgaz5r6P6qtTctMpD3YCCVMmlPHzOe38KLkNWRyVRursjf6 IDhSxHwSxbw0gV0olNdSylrsv5YFscL0YCUIXALk0kh5VW/PJaflBRjoYro8D4R8X142 ph5zI40wvdzRZYBNHXLbsEupS0zsitaDBpCmtHWg90MIpyO8M6AKhFwQikc5h8HiLULM a7iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@armlinux.org.uk header.s=pandora-2014 header.b=PVVLQKg4; 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=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n1-v6si7271882pge.687.2018.05.19.03.07.39; Sat, 19 May 2018 03:08:30 -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=@armlinux.org.uk header.s=pandora-2014 header.b=PVVLQKg4; 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=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752265AbeESKH2 (ORCPT + 99 others); Sat, 19 May 2018 06:07:28 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:34302 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752112AbeESKH0 (ORCPT ); Sat, 19 May 2018 06:07:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2014; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CNiY71Y/bF7us9+WjX2+q86OColCJ7yyu/ieJnBr5qY=; b=PVVLQKg44Na/Ce9RxukZEnxVl r9wGHINZW4Cth2e5qWcrHBOcj122aPbIpHDXLtHg7JV3zoWPokHIfayurC7hW3FTdPzwW+chhWpMH IUXCRLo6jDC3bTGby1mFmjR0pQ3rgylSz8eRnHxvHQpUMgSvHujPqdfBMtXrPUxSI8dGo=; Received: from n2100.armlinux.org.uk ([fd8f:7570:feb6:1:214:fdff:fe10:4f86]:53953) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) (envelope-from ) id 1fJylf-000331-8t; Sat, 19 May 2018 11:07:15 +0100 Received: from linux by n2100.armlinux.org.uk with local (Exim 4.90_1) (envelope-from ) id 1fJylb-0000nI-FY; Sat, 19 May 2018 11:07:12 +0100 Date: Sat, 19 May 2018 11:07:08 +0100 From: Russell King - ARM Linux To: Kees Cook Cc: Daniel Vetter , Laura Abbott , David Airlie , Maling list - DRI developers , LKML , Kernel Hardening Subject: Re: [PATCHv2] drm/i2c: tda998x: Remove VLA usage Message-ID: <20180519100707.GI17671@n2100.armlinux.org.uk> References: <20180411010330.17866-1-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up According to speedtest.net: 8.21Mbps down 510kbps up