identify: Fix truncation warning of GCC11.
Fixes issue: #2031. Signed-off-by: yidong0635 <dongx.yi@intel.com> Change-Id: I67055ad5a42f16f3f927b15cfa8fd4ead2ca8813 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8697 Reviewed-by: Ziye Yang <ziye.yang@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
3a2aa71ee2
commit
673afb3074
@ -100,7 +100,7 @@ static bool g_dpdk_mem_single_seg = false;
|
||||
|
||||
static int g_main_core = 0;
|
||||
|
||||
static char g_core_mask[16] = "0x1";
|
||||
static char g_core_mask[20] = "0x1";
|
||||
|
||||
static struct spdk_nvme_transport_id g_trid;
|
||||
static char g_hostnqn[SPDK_NVMF_NQN_MAX_LEN + 1];
|
||||
|
Loading…
Reference in New Issue
Block a user