Received: by 10.223.176.46 with SMTP id f43csp2043368wra; Sun, 21 Jan 2018 09:55:38 -0800 (PST) X-Google-Smtp-Source: AH8x225oYnrQ9QymMmOLwd8JOSDuK5VoCDsO0cdGEKRQGaHYPrL8wSgDu0SOLYHEBIR/PlmfydKZ X-Received: by 10.101.65.9 with SMTP id w9mr5028456pgp.214.1516557338318; Sun, 21 Jan 2018 09:55:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516557338; cv=none; d=google.com; s=arc-20160816; b=PNFehoseOikB8vqV6YntSGYdX6NfCQEMomQ32TjHHUl7KAVLSOC4+063ItlYOVMES0 xDHHbUdRlRvFg9O14ocJ/e/6+2so9Agu460egZJw8mC8HJZQp6Gsj7l583EXTjuVH5xW byzJp28dFT/yXAfLDU3q4OHMiLjELRVCfRQZeCxpplaS+6NK4MByAbRA0rO25RX0GLm3 HrtyCQhM2e/UDX8AqaSF0jMDKapXjO+cDFyriCTAu/EbKCa1CP247bO37NIpwcRuIBWE D62FJ2bQSrwYz+JvYpR6fbt8jOXUDX0g1tfSVRcxJQc8I5pmORObeq0Uzy4g1l7h076r vT+A== 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:arc-authentication-results; bh=Wg9IHvON5yUDn047vYcfvmbqb8rokGpxX/o6tpO1o3g=; b=VtTPTFZ7O5Rn/wSoE5RYOxC4bLt+AkvG1qoopJbDNXgRCP0/MBJGcX6MXPNZF6qCq8 SRHldzCC+VmbS/TCGJiap0L3eprSsANwaLvlrMEwV8rtwRk/eoKdEsCB3Om7476/sc0R /chRQ4/2p5+hm3HJi+5rWlw2HRqu8bk7g6drZHbsde3CovSGdCBpXwbP9jEE9A1NSg8n IQOtNtO2Yxi/llIqSBH2vuuN6QXa4/pyL91Ok5qmLfsXhYgYfivI7ZXrNKyCU232Iaop sGSViiRfKuc2RtZyYPCOg47zxB9SOQJy9TwuXFxbBmvXt77scMHTWI9rfUpx73MC1vtP BxiQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h26si12513140pgv.636.2018.01.21.09.55.24; Sun, 21 Jan 2018 09:55:38 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751404AbeAURy4 (ORCPT + 99 others); Sun, 21 Jan 2018 12:54:56 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:46454 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751347AbeAURyx (ORCPT ); Sun, 21 Jan 2018 12:54:53 -0500 Received: from w540 (unknown [IPv6:2001:b07:6442:1ac4:3997:a7b1:efcc:5c7c]) (Authenticated sender: jacopo@jmondi.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 925A9C5A50; Sun, 21 Jan 2018 18:54:46 +0100 (CET) Date: Sun, 21 Jan 2018 18:54:45 +0100 From: jacopo mondi To: Randy Dunlap Cc: Jacopo Mondi , laurent.pinchart@ideasonboard.com, magnus.damm@gmail.com, geert@glider.be, hverkuil@xs4all.nl, mchehab@kernel.org, festevam@gmail.com, sakari.ailus@iki.fi, robh+dt@kernel.org, mark.rutland@arm.com, pombredanne@nexb.com, linux-renesas-soc@vger.kernel.org, linux-media@vger.kernel.org, linux-sh@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 0/9] Renesas Capture Engine Unit (CEU) V4L2 driver Message-ID: <20180121175445.GQ24926@w540> References: <1516139101-7835-1-git-send-email-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Randy, thanks for noticing, On Fri, Jan 19, 2018 at 02:12:19PM -0800, Randy Dunlap wrote: > On 01/16/2018 01:44 PM, Jacopo Mondi wrote: > > Hello, > > new version of CEU after Hans' review. > > > > Added his Acked-by to most patches and closed review comments. > > Running v4l2-compliance, I noticed a new failure introduced by the way I now > > calculate the plane sizes in set/try_fmt. > > I would expect that you have already seen this, but I get a build error > in renesas-ceu.c. Here is a small patch for it. Actually I did not. The compile error has been introduced by this commit commit 4e48afecd5ee3a394d228349fc1c33982e9fb557 Author: Mauro Carvalho Chehab Date: Wed Sep 27 10:12:00 2017 -0400 media: v4l2-async: simplify v4l2_async_subdev structure Which is not in v4.15-rc8 on which I have based my work on. As a general question, if I'm aiming to have my driver included in next release, should I always base my work on linux-next or it depends on sub-system/maintainers preferences? Thanks j > > --- > From: Randy Dunlap > > Fix build error (on x86 with COMPILE_TEST): > > ../drivers/media/platform/renesas-ceu.c: In function 'ceu_parse_dt': > ../drivers/media/platform/renesas-ceu.c:1497:27: error: request for member 'fwnode' in something not a structure or union > ceu_sd->asd.match.fwnode.fwnode = > > Signed-off-by: Randy Dunlap > --- > drivers/media/platform/renesas-ceu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-next-20180119.orig/drivers/media/platform/renesas-ceu.c > +++ linux-next-20180119/drivers/media/platform/renesas-ceu.c > @@ -1494,7 +1494,7 @@ static int ceu_parse_dt(struct ceu_devic > > ceu_sd->mbus_flags = fw_ep.bus.parallel.flags; > ceu_sd->asd.match_type = V4L2_ASYNC_MATCH_FWNODE; > - ceu_sd->asd.match.fwnode.fwnode = > + ceu_sd->asd.match.fwnode = > fwnode_graph_get_remote_port_parent( > of_fwnode_handle(ep)); > >