Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5515014imu; Tue, 13 Nov 2018 07:43:48 -0800 (PST) X-Google-Smtp-Source: AJdET5drP1dXe3cj4kCoj9Eu+xUir083ySKDdesbhLOagj2I2bwR4X7BxIfv+gHZ42Dz9KCTc2Oi X-Received: by 2002:a17:902:be0e:: with SMTP id r14-v6mr5657837pls.23.1542123828097; Tue, 13 Nov 2018 07:43:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542123828; cv=none; d=google.com; s=arc-20160816; b=cym6mCHN5kDvPZ/AxKHhUqgM/N0rlgmyn5Dl9jTELsq6/n0liiAkJidgaAQiddzEtY ItHlTURmQGzmmksS/hxCpDyWOBj2+TIIwht/7JAIdh/B6Cwj5Y2V+/gAD5lJ3Gkjfw20 f2D1mFdbbt+tulx2W9k0w0nhAo7smDrc+JNiXPEJI+BSO+1CSfuhKFHmEfJ0ausFF6qo 2VGB7JbVUEBLbEY9Fb6NGAyzHDVVWLMNzj6ikapxA1HO1WNv/p6Vi4t/JS/NHQ5QgtMP Iiw6S6JjisBS6k/8XJaAcKDrdqKrGu5Ivus4aSLGB6hS9TQ1feO727mPxMuhn/sr3KXT l6FA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=9m/bXOgTx7tx2A1tWpr7DXad8DgzC+TdujnlDKyTfSo=; b=hbR828uh1WLtKgqRxCZJb4uZXH4hmD41EXJ7lP58NYWe0h/SrGfVj3HFi2iBt5Yxpq jGZ2rYWqlVf4wnefM2FtDIGZ88Oj9xSYUCHUCN+/c8f4DhL9h+I7sx3lB9+EmJ7NF9Op 0DhJZuPvV/arcWEpwCM7OnqVsfMAzYn6IaTfh93yZnDxkAT9VG4hhmC/ZFGR/CZJAIM0 HmvC8nHOLkDSmztOqBGnCYIfeiTlMC1L/pW3dg7XncUJ+7voesLXJCoo1ScIghQsz/L8 OtYOpaslw094bvQc3jVvHoH00EvgS0wStE9RmLdoLBgaTFS3k4XLO6pGJD5gRym18EPD eFbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cisco.com header.s=iport header.b=Jip0B2Gx; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cisco.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c1-v6si19827161pgp.376.2018.11.13.07.43.07; Tue, 13 Nov 2018 07:43:48 -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; dkim=pass header.i=@cisco.com header.s=iport header.b=Jip0B2Gx; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cisco.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387895AbeKNBiW (ORCPT + 99 others); Tue, 13 Nov 2018 20:38:22 -0500 Received: from aer-iport-3.cisco.com ([173.38.203.53]:10936 "EHLO aer-iport-3.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732298AbeKNBiW (ORCPT ); Tue, 13 Nov 2018 20:38:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=906; q=dns/txt; s=iport; t=1542123585; x=1543333185; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=CdIwWZikJRLzjjIT6UfO8R4VN7qEx+kQwjNGe35Xhww=; b=Jip0B2GxTT+OC+eLTAXhp/Xy0+mJFPryK313w7TKF0ju3T5vxgmJLgb+ W23Diq7fpNNTvLSHhgyfkC07euLEFIKzfvY3Y/aMowFzj69dfFg9yZ/A7 QNGz/r+nP6eSlqPceBlxjHiTPf1SK0z/fBlIFHUGvidS9VEH/LwUn/y2h 8=; X-IronPort-AV: E=Sophos;i="5.54,499,1534809600"; d="scan'208";a="7959715" Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Nov 2018 15:39:43 +0000 Received: from [10.47.79.81] ([10.47.79.81]) (authenticated bits=0) by aer-core-2.cisco.com (8.15.2/8.15.2) with ESMTPSA id wADFdg1m024672 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 13 Nov 2018 15:39:42 GMT Subject: Re: [PATCH 3/5] media: sunxi: Add A10 CSI driver To: Joe Perches , Hans Verkuil , Maxime Ripard , Hans Verkuil , Sakari Ailus , Mauro Carvalho Chehab Cc: Thomas Petazzoni , Laurent Pinchart , linux-media@vger.kernel.org, Andrzej Hajda , Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Mark Rutland , Rob Herring , Frank Rowand References: <71d315a34e4b12b0eb1d4c9003b297e46695f9cf.camel@perches.com> From: Hans Verkuil Message-ID: <6153b08e-b81d-8e4a-9fd2-0f593523d8da@cisco.com> Date: Tue, 13 Nov 2018 16:39:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <71d315a34e4b12b0eb1d4c9003b297e46695f9cf.camel@perches.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Authenticated-User: hansverk X-Outbound-SMTP-Client: 10.47.79.81, [10.47.79.81] X-Outbound-Node: aer-core-2.cisco.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/13/18 16:19, Joe Perches wrote: > On Tue, 2018-11-13 at 13:24 +0100, Hans Verkuil wrote: >> On 11/13/18 09:24, Maxime Ripard wrote: >>> The older CSI drivers have camera capture interface different from the one >>> in the newer ones. > [] >>> diff --git a/drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h b/drivers/media/platform/sunxi/sun4i-csi/sun4i_csi.h > [] >>> + // Videobuf2 >> >> Doesn't checkpatch.pl --strict complain about the use of '//'? > > No, not since > > commit dadf680de3c2eb4cba9840619991eda0cfe98778 > Author: Joe Perches > Date: Tue Aug 2 14:04:33 2016 -0700 > > checkpatch: allow c99 style // comments > > Sanitise the lines that contain c99 comments so that the error doesn't > get emitted. > > Huh, I'm really out of date. But the good news is that I learned something new today! Thank you, Hans