Soft Patch Panel
 help / color / mirror / Atom feed
From: Kenta Shinohara <shinohara.kenta@lab.ntt.co.jp>
To: spp@dpdk.org
Cc: Kenta Shinohara <shinohara.kenta@lab.ntt.co.jp>
Subject: [spp] [PATCH] spp_vf: change char length to avoid compile error
Date: Mon, 16 Apr 2018 11:26:18 +0900	[thread overview]
Message-ID: <1523845578-7435-1-git-send-email-shinohara.kenta@lab.ntt.co.jp> (raw)

Change character length of SPP_CMD_VALUE_BUFSZ to avoid compile error
on gcc-7.

Signed-off-by: Kenta Shinohara <shinohara.kenta@lab.ntt.co.jp>
---
 src/vf/command_dec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vf/command_dec.h b/src/vf/command_dec.h
index 9f7bada..f9d2120 100644
--- a/src/vf/command_dec.h
+++ b/src/vf/command_dec.h
@@ -52,7 +52,7 @@
 #define SPP_CMD_NAME_BUFSZ  32
 
 /** command value string buffer size (include null char) */
-#define SPP_CMD_VALUE_BUFSZ 128
+#define SPP_CMD_VALUE_BUFSZ 111
 
 /** string that specify unused */
 #define SPP_CMD_UNUSE "unuse"
-- 
2.7.4

             reply	other threads:[~2018-04-16  2:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-16  2:26 Kenta Shinohara [this message]
2018-04-16  6:07 ` Yasufumi Ogawa
2018-05-03 15:53   ` Ferruh Yigit

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=1523845578-7435-1-git-send-email-shinohara.kenta@lab.ntt.co.jp \
    --to=shinohara.kenta@lab.ntt.co.jp \
    --cc=spp@dpdk.org \
    /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;
as well as URLs for NNTP newsgroup(s).