qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH] net/filter-mirror: Follow CODING_STYLE


From: Jason Wang
Subject: Re: [Qemu-trivial] [PATCH] net/filter-mirror: Follow CODING_STYLE
Date: Mon, 6 Mar 2017 13:22:46 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0



On 2017年03月02日 11:59, Zhang Chen wrote:
Signed-off-by: Zhang Chen <address@hidden>
---
  net/filter-mirror.c | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net/filter-mirror.c b/net/filter-mirror.c
index aa0aa98..72fa7c2 100644
--- a/net/filter-mirror.c
+++ b/net/filter-mirror.c
@@ -49,7 +49,7 @@ static int filter_mirror_send(CharBackend *chr_out,
  {
      int ret = 0;
      ssize_t size = 0;
-    uint32_t len =  0;
+    uint32_t len = 0;
      char *buf;
size = iov_size(iov, iovcnt);
@@ -77,8 +77,9 @@ err:
      return ret < 0 ? ret : -EIO;
  }
-static void
-redirector_to_filter(NetFilterState *nf, const uint8_t *buf, int len)
+static void redirector_to_filter(NetFilterState *nf,
+                                 const uint8_t *buf,
+                                 int len)
  {
      struct iovec iov = {
          .iov_base = (void *)buf,

Applied, thanks.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]