From nobody Sun Feb 8 05:40:35 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE8FFEB64DA for ; Fri, 14 Jul 2023 08:09:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234688AbjGNIJw (ORCPT ); Fri, 14 Jul 2023 04:09:52 -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-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8"; format="flowed" 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=20 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 =3D fe->tuner_priv; int ret; - u8 buf [] =3D { 0x00, 0x8d }; + u8 buf[] =3D { 0x00, 0x8d }; struct i2c_msg msg =3D { .addr =3D priv->i2c_address, .flags =3D 0, .= buf=20 =3D buf, .len =3D 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 =3D { .addr =3D priv->i2c_address, .flags =3D 0, .= buf=20 =3D buf, .len =3D 11 }; dprintk("%s:\n", __func__); @@ -130,7 +130,7 @@ static const struct dvb_tuner_ops tda826x_tuner_ops=20 =3D { struct dvb_frontend *tda826x_attach(struct dvb_frontend *fe, int addr,=20 struct i2c_adapter *i2c, int has_loopthrough) { struct tda826x_priv *priv =3D NULL; - u8 b1 [] =3D { 0, 0 }; + u8 b1[] =3D { 0, 0 }; struct i2c_msg msg[2] =3D { { .addr =3D addr, .flags =3D 0, .buf =3D NULL, .len =3D 0 = }, { .addr =3D addr, .flags =3D I2C_M_RD, .buf =3D b1, .len =3D 2 }