Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2169020rwp; Fri, 14 Jul 2023 01:42:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlFRs4gvH0pkDuzN6wpsntnVe8KniOOs/aZG1zEL54T00aSAMRRlc9m6krpuQJECrqxuRZH9 X-Received: by 2002:a05:6a21:6d87:b0:12c:f685:87e2 with SMTP id wl7-20020a056a216d8700b0012cf68587e2mr3552126pzb.60.1689324134919; Fri, 14 Jul 2023 01:42:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689324134; cv=none; d=google.com; s=arc-20160816; b=bwrTUq1gqYnhS3B5x40O6JQYhgu7Hlv5bsBF8QEP/7SHelzVdjo9i6unDCJp0+RenU vFByjJElTDCa9qjrF/p7EYzxhlbR58+2VTJqhrGgCFdEJ9ibDeCBD/2MyVNaAjyruUt0 49BWoCs/6CXAFRcm6C9/LfSTbaySKBTbg2LVcIaEXQNl9o89AIiglmCZuK9s+uUyHbME XkZ5HRk79XLFRCHrkoI+6SyZB6CIEd4wr0Zril6VZ1NkqIWiYFoBst8umLHDb04A8L1k h3DY15t6nGwN9gCMBz6SAV7xJzBdLAbwGBiRW52bUbkT/D7HmfVwfDsUHxJEG4R9kgKS OXEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=65Pp8DNQ4PPqe5lKWHcalZXGUfQ6qfK1wYBlCG8igk0=; fh=aW5o/nvsWvZIsFGoDeewFmTukFZhiQsOnDkKpf5c2Yk=; b=HXlZJOo+PrC/PGHwOjyFNLd4Z2Yzwq5kRJ9c+ofMMPZ4q+fOTlYDRgbofiZbnqd5Eg a01zYNBsFi1x/HQlrXNbMBfxXzk+9Uta/n4w8t0lpfTu3nClsfYQ8ZC4TUOseaPTuT3D V6pHD2YG/LlT8X9FR857zvx23aRzYiYwFuhojX6RxkuoeRsITR3JENl7nMEDOOLy1Q7p LaoyZVa5SxHqymKr7f3BjIkaJe3c4tVfL3OjKbVfJ3Quu4CVM+TniSFcavVmvSFykaxc NODW0JMxEK0j5kyC1WdeRGrMsWbDv9h6bpmTPlkRWkjWoAsDBckd28OwF4slbKKoRMlF Nj+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=prRBxH8o; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020a170902c40c00b001b8944aa943si7072098plk.315.2023.07.14.01.42.02; Fri, 14 Jul 2023 01:42:14 -0700 (PDT) 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; dkim=neutral (bad version) header.i=@208.org header.s=dkim header.b=prRBxH8o; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235434AbjGNIJv (ORCPT + 99 others); Fri, 14 Jul 2023 04:09:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235104AbjGNIJE (ORCPT ); Fri, 14 Jul 2023 04:09:04 -0400 Received: from mail.208.org (unknown [183.242.55.162]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41D533C2B for ; Fri, 14 Jul 2023 01:06:47 -0700 (PDT) Received: from mail.208.org (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTP id 4R2PFc5LgbzBR9sg for ; Fri, 14 Jul 2023 16:06:44 +0800 (CST) Authentication-Results: mail.208.org (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=208.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=208.org; h= content-transfer-encoding:content-type:message-id:user-agent :references:in-reply-to:subject:to:from:date:mime-version; s= dkim; t=1689322004; x=1691914005; bh=XnHXJPirhwWBp38ABP/TuJuTwR8 3qRslG4kr4zY2jQE=; b=prRBxH8oaDBDTnR82sVlKMzhnplxgraSpUiFkTrSEAi PL/0jsa+/sZJSgNgjvqdrFQxajScW/0VMmk1IkERiOJnCxIrMehW37VmPbLwXLTz 4/Gg6Epqe4zEUM8ajdjI6Emvj6lYvp3VJs3ihqxvcok75YhIfp5jDc/08LR4ZkJY DJR48ZTH6xczM1qTomDWaAvfVGKk2V529dYKCtUB80aGWWZ/CX6qltAQ3ViLWxqD lnf1NQjE0i2Pt5XDCz6HEsa2yzHyW+YTtD0wixN1haz5NiBN1wLqxmY+PHSop7WZ EGAY3AuUQCUrdLd8ZPKP/0alZxTnW14UuYWckTM1FFw== X-Virus-Scanned: amavisd-new at mail.208.org Received: from mail.208.org ([127.0.0.1]) by mail.208.org (mail.208.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id e8oICkZVoc43 for ; Fri, 14 Jul 2023 16:06:44 +0800 (CST) Received: from localhost (email.208.org [127.0.0.1]) by mail.208.org (Postfix) with ESMTPSA id 4R2PFc412lzBR9sc; Fri, 14 Jul 2023 16:06:44 +0800 (CST) MIME-Version: 1.0 Date: Fri, 14 Jul 2023 16:06:44 +0800 From: sunran001@208suo.com To: mchehab@kernel.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: dvb: remove spaces before '[' In-Reply-To: <20230714080514.14297-1-xujianghui@cdjrlc.com> References: <20230714080514.14297-1-xujianghui@cdjrlc.com> User-Agent: Roundcube Webmail Message-ID: X-Sender: sunran001@208suo.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RDNS_NONE,SPF_HELO_FAIL,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 Remove spaces to clear checkpatch errors. ERROR: space prohibited before open square bracket '[' Signed-off-by: Ran Sun --- drivers/media/dvb-frontends/tda826x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb-frontends/tda826x.c b/drivers/media/dvb-frontends/tda826x.c index f9703a1dd758..7f17efe17d11 100644 --- a/drivers/media/dvb-frontends/tda826x.c +++ b/drivers/media/dvb-frontends/tda826x.c @@ -38,7 +38,7 @@ static int tda826x_sleep(struct dvb_frontend *fe) { struct tda826x_priv *priv = fe->tuner_priv; int ret; - u8 buf [] = { 0x00, 0x8d }; + u8 buf[] = { 0x00, 0x8d }; struct i2c_msg msg = { .addr = priv->i2c_address, .flags = 0, .buf = buf, .len = 2 }; dprintk("%s:\n", __func__); @@ -65,7 +65,7 @@ static int tda826x_set_params(struct dvb_frontend *fe) u32 div; u32 ksyms; u32 bandwidth; - u8 buf [11]; + u8 buf[11]; struct i2c_msg msg = { .addr = priv->i2c_address, .flags = 0, .buf = buf, .len = 11 }; dprintk("%s:\n", __func__); @@ -130,7 +130,7 @@ static const struct dvb_tuner_ops tda826x_tuner_ops = { struct dvb_frontend *tda826x_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c, int has_loopthrough) { struct tda826x_priv *priv = NULL; - u8 b1 [] = { 0, 0 }; + u8 b1[] = { 0, 0 }; struct i2c_msg msg[2] = { { .addr = addr, .flags = 0, .buf = NULL, .len = 0 }, { .addr = addr, .flags = I2C_M_RD, .buf = b1, .len = 2 }