Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2347414rwb; Fri, 16 Dec 2022 00:21:33 -0800 (PST) X-Google-Smtp-Source: AA0mqf4katZIKOQ4SvgqzgzuyKQ0fMBlnx+HMWqeASPde0PDmRxYh6TR4X5yj0I/cAExF6L6iN87 X-Received: by 2002:a17:907:c80f:b0:7c1:75e9:1180 with SMTP id ub15-20020a170907c80f00b007c175e91180mr20914374ejc.22.1671178892926; Fri, 16 Dec 2022 00:21:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671178892; cv=none; d=google.com; s=arc-20160816; b=LKx0T/TmFZUmqxIaievZ4rL54rIFQ7lzYkhYdOUS6z8Goly9r8WKH4AA+pBra5g/Mm 9t7YhqTw19FuK560fM4DyJUWmbHp+ugBl6sYsSWNz42A38cs2t+4GuP5rRZQsbIcnJow twmf2dppv6P55cc4h29PTW/m8t5pbbSrgE/a8hbZwoiOYRRRgkG41tytncAoYd9ixbQZ hTAHACp7AHlRBuDJRT9u1W6/pjoVqeTh1NMCuu1mqb/NSDrJqKiEkz+ZPnctUvQmqZ1f O1W0wrx7uWGR/v55DpW9qXKd8BBjpqxX8R6YbsiRtVq8JPI3YNlm7mV3QHeDpdMBKi/j 4cAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=GEOjxG7q0iDpvuiqdmCOxeEBfCXbyZUxl/XE5cWxnlo=; b=duhSSh4y+aEqBzGyLf2/22ca9K1W08X6TLhf7DMY+sU3GP1Ob6LZn4EIw1KXgWsEAd Law0zJ+AFlk98UFOHG7GanktTRPYdjaUvbGKCIuBX7OhwL0IgVzoYjMwaq3JEHG6UdXW FeVlMAfohf2VszLda/1oUhztUkuaKLsUjzWx32r2l2ofa7f3U9UXuIO34jQ5H28RRlnx wu5pKHNfIxk07IfYVCBYgqvfL7IXwjThLd7A5DJ1wK8u1KLcaZB2CxYbO8jgVbJyOCnF Uvw0MUeRzLzlndoxBh1EZI1KweEZ/AA3ximzhhNbJ16yzjBTIIQhor5DFOawA6fkUjoS ltIA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc30-20020a170907169e00b007ad9c8201e7si2463130ejc.93.2022.12.16.00.21.16; Fri, 16 Dec 2022 00:21:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229708AbiLPHmV (ORCPT + 68 others); Fri, 16 Dec 2022 02:42:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229627AbiLPHmT (ORCPT ); Fri, 16 Dec 2022 02:42:19 -0500 Received: from out30-7.freemail.mail.aliyun.com (out30-7.freemail.mail.aliyun.com [115.124.30.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CF143F05A; Thu, 15 Dec 2022 23:42:17 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R831e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VXQCLih_1671176534; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VXQCLih_1671176534) by smtp.aliyun-inc.com; Fri, 16 Dec 2022 15:42:15 +0800 From: Yang Li To: mchehab@kernel.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] media: v4l2-ctrls: clean up some inconsistent indentings Date: Fri, 16 Dec 2022 15:42:12 +0800 Message-Id: <20221216074212.45386-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org clean up some inconsistent indentings to improve the readability of the code. drivers/media/v4l2-core/v4l2-ctrls-api.c:154 user_to_new() warn: inconsistent indenting Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3503 Fixes: 73278d483378 ("media: v4l2-ctrls-api.c: add back dropped ctrl->is_new = 1") Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/media/v4l2-core/v4l2-ctrls-api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-ctrls-api.c b/drivers/media/v4l2-core/v4l2-ctrls-api.c index 3d3b6dc24ca6..3bee4ad5be7c 100644 --- a/drivers/media/v4l2-core/v4l2-ctrls-api.c +++ b/drivers/media/v4l2-core/v4l2-ctrls-api.c @@ -150,8 +150,8 @@ static int user_to_new(struct v4l2_ext_control *c, struct v4l2_ctrl *ctrl) * then return an error. */ if (strlen(ctrl->p_new.p_char) == ctrl->maximum && last) - ctrl->is_new = 1; - return -ERANGE; + ctrl->is_new = 1; + return -ERANGE; } return ret; default: -- 2.20.1.7.g153144c