Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88508C433DF for ; Fri, 9 Oct 2020 01:16:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 271AB22242 for ; Fri, 9 Oct 2020 01:16:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="mD+Dcx3G" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726469AbgJIBQS (ORCPT ); Thu, 8 Oct 2020 21:16:18 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:49472 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725979AbgJIBQS (ORCPT ); Thu, 8 Oct 2020 21:16:18 -0400 Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 8CD4F59E; Fri, 9 Oct 2020 03:16:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1602206176; bh=6ZJmmtMk/+gjqX6/a9MOUedyHKbfmNCDN4hgtRttb1w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mD+Dcx3GBq/ZvqDsECw9tnK3W5bHJoXpp+XeAGaJywqPtHM+3ZYsmZi8iELZzxITV a/B1f9T5icZRpNKh27JJDGUKvhf0vLOkN+sfCPNZ2FwYd/rGdI7LxoBfTr8K5mkSo0 YLaVc+JLQ4cB3YAjn25uGgl0clIRQg+fbCgfoC0o= Date: Fri, 9 Oct 2020 04:15:33 +0300 From: Laurent Pinchart To: Andy Shevchenko Cc: linux-media@vger.kernel.org, Yong Zhi , Sakari Ailus , Bingbu Cao , Tian Shu Qiu , Mauro Carvalho Chehab Subject: Re: [PATCH v2 10/10] media: ipu3-cio2: Update Copyright year and fix indentation issues Message-ID: <20201009011533.GI12857@pendragon.ideasonboard.com> References: <20200817160734.12402-1-andriy.shevchenko@linux.intel.com> <20200817160734.12402-10-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200817160734.12402-10-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi Andy, Thank you for the patch. On Mon, Aug 17, 2020 at 07:07:33PM +0300, Andy Shevchenko wrote: > Update Copyright year to cover the previous changes and at the same time > address indentation issues. > > Signed-off-by: Andy Shevchenko Acked-by: Laurent Pinchart > --- > v2: one more indentation fix > drivers/media/pci/intel/ipu3/ipu3-cio2.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/drivers/media/pci/intel/ipu3/ipu3-cio2.c b/drivers/media/pci/intel/ipu3/ipu3-cio2.c > index f3ec2d62cace..9a8c6e99d3ac 100644 > --- a/drivers/media/pci/intel/ipu3/ipu3-cio2.c > +++ b/drivers/media/pci/intel/ipu3/ipu3-cio2.c > @@ -1,6 +1,6 @@ > // SPDX-License-Identifier: GPL-2.0 > /* > - * Copyright (C) 2017 Intel Corporation > + * Copyright (C) 2017,2020 Intel Corporation > * > * Based partially on Intel IPU4 driver written by > * Sakari Ailus > @@ -9,7 +9,6 @@ > * Jouni Ukkonen > * Antti Laakso > * et al. > - * > */ > > #include > @@ -292,7 +291,7 @@ static int cio2_csi2_calc_timing(struct cio2_device *cio2, struct cio2_queue *q, > struct cio2_csi2_timing *timing) > { > struct device *dev = &cio2->pci_dev->dev; > - struct v4l2_querymenu qm = {.id = V4L2_CID_LINK_FREQ, }; > + struct v4l2_querymenu qm = { .id = V4L2_CID_LINK_FREQ }; > struct v4l2_ctrl *link_freq; > s64 freq; > int r; > @@ -864,7 +863,7 @@ static int cio2_vb2_buf_init(struct vb2_buffer *vb) > b->offset = sg->sgl->offset; > > i = j = 0; > - for_each_sg_dma_page (sg->sgl, &sg_iter, sg->nents, 0) { > + for_each_sg_dma_page(sg->sgl, &sg_iter, sg->nents, 0) { > if (!pages--) > break; > b->lop[i][j] = PFN_DOWN(sg_page_iter_dma_address(&sg_iter)); -- Regards, Laurent Pinchart