Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6222334rwp; Mon, 17 Jul 2023 17:52:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlFE9b9+39rXnc9aXp20MrSDUwnNjTfiq7qe6PrgUjuQfppg1Cqiu2q5Dpae3+Sf0OmVr/5g X-Received: by 2002:a05:6358:9996:b0:135:b4c:a4b4 with SMTP id j22-20020a056358999600b001350b4ca4b4mr8735393rwb.14.1689641551067; Mon, 17 Jul 2023 17:52:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689641551; cv=none; d=google.com; s=arc-20160816; b=feTYzulb6vmVLCRlZ3RYYz4zGBSxTb/N1jWASmtP6ac4n4m1DLIRTBfvDnjh3h8ctu FFQCZ9MdRd/q8MFPndZ6JY44A1btL4rqKkVLf6XU7VrfJaXvhusKR7nhW+prXYqeuu5E goQPa3HZlSUjAJtqJdWsbboCBIrJKulVxtDWE0WwNeXQKKC4nzsvf28mG8/MJvwDmLIi 8Tj7J0gorugPZtlAXG8n9080UtO2bRHetY1tWeLeOdsHiCVf/Bg73jmJTm/PFgHhf2Nl xsw3cxH6OUO9D5vA/NgJyKX8+yXhiyNnC/2X7fla9z/CGcCq6PofklI2NAdJjtFa9d4/ U1RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=5Rv8MTs6BcQgH5z71Pb8JcjF4qxnZ6D0GT4emt2MdpA=; fh=J6aVpszuWWfcA4y3gdO9Am06ubcUCCuWMympdXfNJJw=; b=NKYYObd8kitS7zHnPzHzJsc1SRYEpDMoaBWIm5umAW5bhkK+yFcxwQvv5J0oIFe8qx vTjw0MhdYZ6iRhv08YitXiKJ3qPO6cuALx+ubN4UO5F9D3/fofywlda1Pwf8T8z6/uXz qa0TgUiWtxV4raQulpMEOHszS+SBZd7uY4GvArR7u4BcAw/d/uIgOw7aCNmXe5KnB5xE qR2Bq1iqaMHxWDlizzC3g9FGwiL2loeR8jcV/tRxG4m9/Gm8Qi7BHT7AdEa0d0VoqWa3 PIE1KGuVaAMX3Psj2qCKTARyk7c7XGi7SGSW5CDRaq3WJbZcC7BLbAjWlU2QNYZ8Qn0J I/Vg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 a21-20020a63e855000000b0055338653beesi646565pgk.271.2023.07.17.17.52.19; Mon, 17 Jul 2023 17:52:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229901AbjGRAap convert rfc822-to-8bit (ORCPT + 58 others); Mon, 17 Jul 2023 20:30:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230474AbjGRAam (ORCPT ); Mon, 17 Jul 2023 20:30:42 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C193F1A8; Mon, 17 Jul 2023 17:30:36 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.77 with qID 36I0Toy96005743, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36506.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.81/5.90) with ESMTPS id 36I0Toy96005743 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=FAIL); Tue, 18 Jul 2023 08:29:50 +0800 Received: from RTEXMBS05.realtek.com.tw (172.21.6.98) by RTEXH36506.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Tue, 18 Jul 2023 08:29:58 +0800 Received: from RTEXMBS04.realtek.com.tw (172.21.6.97) by RTEXMBS05.realtek.com.tw (172.21.6.98) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.34; Tue, 18 Jul 2023 08:29:58 +0800 Received: from RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d]) by RTEXMBS04.realtek.com.tw ([fe80::e138:e7f1:4709:ff4d%5]) with mapi id 15.01.2375.007; Tue, 18 Jul 2023 08:29:58 +0800 From: Ping-Ke Shih To: "hanyu001@208suo.com" , "toke@toke.dk" , "kvalo@kernel.org" CC: "linux-wireless@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] taging: fbtft: Add space around '=' Thread-Topic: [PATCH] taging: fbtft: Add space around '=' Thread-Index: AQHZuIbt0EenICfU5kC7z+o3op+9Qq++rB5w Date: Tue, 18 Jul 2023 00:29:58 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US, zh-TW Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.21.69.188] x-kse-serverinfo: RTEXMBS05.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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-wireless@vger.kernel.org > -----Original Message----- > From: hanyu001@208suo.com > Sent: Monday, July 17, 2023 4:16 PM > To: toke@toke.dk; kvalo@kernel.org > Cc: linux-wireless@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [PATCH] taging: fbtft: Add space around '=' > > Fix checkpatch warnings: > > ./drivers/staging/media/av7110/dvb_filter.c:105: ERROR: spaces required > around that '=' (ctx:VxV) > ./drivers/staging/media/av7110/dvb_filter.c:106: ERROR: spaces required > around that '=' (ctx:VxV) > ./drivers/staging/media/av7110/dvb_filter.c:108: ERROR: spaces required > around that '=' (ctx:VxV) > ./drivers/staging/media/av7110/dvb_filter.c:112: ERROR: spaces required > around that '=' (ctx:VxV) > > Signed-off-by: maqimei <2433033762@qq.com> > --- > drivers/staging/media/av7110/dvb_filter.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/media/av7110/dvb_filter.c > b/drivers/staging/media/av7110/dvb_filter.c > index 8c2eca5..014fa1f 100644 > --- a/drivers/staging/media/av7110/dvb_filter.c > +++ b/drivers/staging/media/av7110/dvb_filter.c > @@ -102,14 +102,14 @@ int dvb_filter_pes2ts(struct dvb_filter_pes2ts > *p2ts, unsigned char *pes, > } > if (!len) > return 0; > - buf[3]=0x30|((p2ts->cc++)&0x0f); > - rest=183-len; > + buf[3] = 0x30|((p2ts->cc++)&0x0f); > + rest = 183-len; Adding spaces around operators | and & would look better: buf[3] = 0x30 | ((p2ts->cc++) & 0x0f); rest = 183 - len;