mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: hanyu001@208suo.com
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 '='
Date: Mon, 17 Jul 2023 16:15:47 +0800	[thread overview]
Message-ID: <a8b204f8562cb5d4ad837f6df0c14b74@208suo.com> (raw)
In-Reply-To: <tencent_1D773A0CE6639082173515B942C9821A6D09@qq.com>

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;
      if (rest) {
-        buf[5]=0x00;
+        buf[5] = 0x00;
          if (rest-1)
              memset(buf+6, 0xff, rest-1);
      }
-    buf[4]=rest;
+    buf[4] = rest;
      memcpy(buf+5+rest, pes, len);
      return p2ts->cb(p2ts->priv, buf);
  }

       reply	other threads:[~2023-07-17  8:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <tencent_1D773A0CE6639082173515B942C9821A6D09@qq.com>
2023-07-17  8:15 ` hanyu001 [this message]
2023-07-18  0:29   ` Ping-Ke Shih

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a8b204f8562cb5d4ad837f6df0c14b74@208suo.com \
    --to=hanyu001@208suo.com \
    --cc=kvalo@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=toke@toke.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®