From patchwork Tue Apr 13 15:28:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mitali Borkar X-Patchwork-Id: 420462 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=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS 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 2814BC433ED for ; Tue, 13 Apr 2021 15:29:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EAE08613B3 for ; Tue, 13 Apr 2021 15:29:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229705AbhDMP3c (ORCPT ); Tue, 13 Apr 2021 11:29:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345524AbhDMP31 (ORCPT ); Tue, 13 Apr 2021 11:29:27 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 877EFC061574; Tue, 13 Apr 2021 08:29:06 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id cu16so6650282pjb.4; Tue, 13 Apr 2021 08:29:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=SmF2T8WgYPG3nuJ1m6KJ+pZhfGk3bKG/8cQrek9cOv0=; b=DrhVM3Dxmw6cPxVxOClxUTLttNQwxqwI017j57PAJppH2NIKnUVS8RpduAjDAOWdM3 MttLZN6H2FOFgBesDbuEaMGGMNVmyC1EavEjBDws1xeuwvSc3YKCsmT9IYBgd2AE7aYq uIlbIPJUIq7pcdoAqeFkIjZsnxudbdYDKQSCc5pqJ7EUjGxwPX+FLcgVD7DgsZw//vgU CSArOLrAEt0SR4VGP49w0O6i89YNpwXF0OKb1xHxfAVzIpY9PoYciAyndkUNnlJU0Lwc VtrAB7Ti12+ANpc6bO3K4/CJS6CXHOkPX8Nc4wu9IGllW6kMSXAdIVweyhV/Ps7PQ6Ut /w8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=SmF2T8WgYPG3nuJ1m6KJ+pZhfGk3bKG/8cQrek9cOv0=; b=iIo/BDor9X+y+O6NFPl/o41sbeBDSYNvFeoBbhk4mVcg3GdUkEvfrexDSLJll4B5Xy 4J3YSWN4pHDrlwb1fzczWbuNRMx00eXflI/qAa4/q2lBiPz9LVBfd0AlIO11wmF/JfUs WQ4bh8gUkhrndZM512o8KEyReMAn6oP/CxasmEamVGV214koPasawxWrCF0fKopTt0ok nKBBZQg4crDwPVTgSsjLY0nUvADS0xtLkzkuvz3aPQYBwkJqGw2bG6hoyOvEUl9KF2Oe 3piFvFA+n4vMg1/ugfa/wgIk5QPH139OztpBvDPZawvBg+Mz+nxpP0cDzK4IPd7prJaY dJ8w== X-Gm-Message-State: AOAM5316gQq7Ddvbhfb04RhqKcZL6DtBBxTK0+uFwmKWWQzdiqPI/sgu 0oa8CCN3qzx5SLZPjZ892YQ= X-Google-Smtp-Source: ABdhPJxYiHoCk371qFQBpwndcP39qCKEiI5k/FXPKXFcmwLcx01aiGvnSYC5Ts0nU06exm8Qo/OX6A== X-Received: by 2002:a17:902:e9c4:b029:eb:4626:feba with SMTP id 4-20020a170902e9c4b02900eb4626febamr234352plk.39.1618327746013; Tue, 13 Apr 2021 08:29:06 -0700 (PDT) Received: from kali ([103.141.87.253]) by smtp.gmail.com with ESMTPSA id d18sm2146585pjx.46.2021.04.13.08.29.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Apr 2021 08:29:05 -0700 (PDT) Date: Tue, 13 Apr 2021 20:58:59 +0530 From: Mitali Borkar To: sakari.ailus@linux.intel.com, bingbu.cao@intel.com, tian.shu.qiu@intel.com, mchehab@kernel.org, gregkh@linuxfoundation.org Cc: linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com, mitali_s@me.iitr.ac.in Subject: [PATCH v3 2/4] staging: media: intel-ipu3: reduce length of line Message-ID: <93922b42e91a1a22ff7373f2875da55543b8fcb0.1618326535.git.mitaliborkar810@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Reduced length of line as it was exceeding 100 characters by removing comments from same line and adding it to previous line. This makes code neater, and meets linux kernel coding style. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v2:- No changes. Changes from v1:- No changes. drivers/staging/media/ipu3/include/intel-ipu3.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/staging/media/ipu3/include/intel-ipu3.h b/drivers/staging/media/ipu3/include/intel-ipu3.h index 438ec3ed7b6b..eb21cbc63af6 100644 --- a/drivers/staging/media/ipu3/include/intel-ipu3.h +++ b/drivers/staging/media/ipu3/include/intel-ipu3.h @@ -9,8 +9,12 @@ /* from /drivers/staging/media/ipu3/include/videodev2.h */ /* Vendor specific - used for IPU3 camera sub-system */ -#define V4L2_META_FMT_IPU3_PARAMS v4l2_fourcc('i', 'p', '3', 'p') /* IPU3 processing parameters */ -#define V4L2_META_FMT_IPU3_STAT_3A v4l2_fourcc('i', 'p', '3', 's') /* IPU3 3A statistics */ + +/* IPU3 processing parameters */ +#define V4L2_META_FMT_IPU3_PARAMS v4l2_fourcc('i', 'p', '3', 'p') + +/* IPU3 3A statistics */ +#define V4L2_META_FMT_IPU3_STAT_3A v4l2_fourcc('i', 'p', '3', 's') /* from include/uapi/linux/v4l2-controls.h */ #define V4L2_CID_INTEL_IPU3_BASE (V4L2_CID_USER_BASE + 0x10c0) From patchwork Tue Apr 13 15:29:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mitali Borkar X-Patchwork-Id: 420461 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=-12.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS 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 ACC5CC43460 for ; Tue, 13 Apr 2021 15:29:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 86A4B61246 for ; Tue, 13 Apr 2021 15:29:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242681AbhDMPaC (ORCPT ); Tue, 13 Apr 2021 11:30:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243219AbhDMPaB (ORCPT ); Tue, 13 Apr 2021 11:30:01 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8984C061574; Tue, 13 Apr 2021 08:29:41 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id g35so12157034pgg.9; Tue, 13 Apr 2021 08:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=1fCrfrmJZI3X6ymxjhobx0T/1lZLGKuT5ZcshF1fEYk=; b=mH0tMSNTz8SyU5qkYvK2u80gaZ8Gn4PLz0ULcefgOuEGJGR/lC596O1HMIV6cBuRV1 OohY8hKnIWlihH3zWuGeDQK6QP8zgy01Ay640QVAPvCkS5/S9nBgr9AS5k8gm/sOcHeo HQA5ZKC07UCEJqwmChMrgoYCbZezZWx72sk69xjcCpTUcndCujYXZeIzdRmXhp86WHGR HnYaO/dYPOTs+1FVMNhqq34HqQVX2fIhX4iDHI9MLx04F91xxWzwiU+dRn6X16qr3U7T 4At2K3yP2/5cYkKE+89I/MjbXiKKw75kFWr2n8KXeqdjjyhFCL8ozg9REVAFIUR1g3RD YdQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=1fCrfrmJZI3X6ymxjhobx0T/1lZLGKuT5ZcshF1fEYk=; b=A90IrjxsZpeA/L6FnITVPDw7HXWvl1doLxk8eAjebIMQb6hK/ziEi2RNpR7q+P6++j 3OzI5JNg7TUJnF2aPd81b921JGK6lXPQx9z/epudUVEVOwvfBProRCfB66yS0GytFNDZ JsHx7sBgzSSpzCF9kMak77uyi1L91Tg+yz8RsSuR5i/3L21FtL4gIugg3O1t23HmOe9R cJxEi4mKSMDb1P5b3K25xXFFCNxXfJgVbUgayJOad0kNhtE4owPJ5vlGVpNx3rsN8OOc XBUgifeakgTr93IQabbNoF/VlAVBK+vmGJ0nWHqC6sJuczEMsAAmiVbClZETWKvlgK8e 5XCQ== X-Gm-Message-State: AOAM533Mhe0X939hEKBbyytibtCpCyVPd8Kw1gBhSwjSSt1uhz2IMLVo ZB5ZJ+jE1xbqWI+GFH7k9t8= X-Google-Smtp-Source: ABdhPJxv2qIxd3BmFH494be85112Fgi5uFlFYGcsGUPFg9ZqQQFlxDKZmmHuVdIocsgMLRqXfNZdVA== X-Received: by 2002:a62:e70e:0:b029:245:3a00:5720 with SMTP id s14-20020a62e70e0000b02902453a005720mr25036334pfh.0.1618327781360; Tue, 13 Apr 2021 08:29:41 -0700 (PDT) Received: from kali ([103.141.87.253]) by smtp.gmail.com with ESMTPSA id c15sm12892707pfi.207.2021.04.13.08.29.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Apr 2021 08:29:41 -0700 (PDT) Date: Tue, 13 Apr 2021 20:59:34 +0530 From: Mitali Borkar To: sakari.ailus@linux.intel.com, bingbu.cao@intel.com, tian.shu.qiu@intel.com, mchehab@kernel.org, gregkh@linuxfoundation.org Cc: linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com, mitali_s@me.iitr.ac.in Subject: [PATCH v3 4/4] staging: media: intel-ipu3: remove space before tabs Message-ID: <01ad7ff353f805dfc48e7bcc26ed974e7bb5ef9f.1618326535.git.mitaliborkar810@gmail.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Removed unnecessary space before tabs to adhere to linux kernel coding style. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v2:- No changes. Changes from v1:- No changes. drivers/staging/media/ipu3/include/intel-ipu3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/ipu3/include/intel-ipu3.h b/drivers/staging/media/ipu3/include/intel-ipu3.h index 47e98979683c..42edac5ee4e4 100644 --- a/drivers/staging/media/ipu3/include/intel-ipu3.h +++ b/drivers/staging/media/ipu3/include/intel-ipu3.h @@ -633,7 +633,7 @@ struct ipu3_uapi_bnr_static_config_wb_gains_thr_config { * @cg: Gain coefficient for threshold calculation, [0, 31], default 8. * @ci: Intensity coefficient for threshold calculation. range [0, 0x1f] * default 6. - * format: u3.2 (3 most significant bits represent whole number, + *format: u3.2 (3 most significant bits represent whole number, * 2 least significant bits represent the fractional part * with each count representing 0.25) * e.g. 6 in binary format is 00110, that translates to 1.5