From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D624E41FCD for ; Wed, 30 Aug 2023 14:47:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DECB340277; Wed, 30 Aug 2023 14:47:45 +0200 (CEST) Received: from mail-pg1-f227.google.com (mail-pg1-f227.google.com [209.85.215.227]) by mails.dpdk.org (Postfix) with ESMTP id 74CAD40277 for ; Wed, 30 Aug 2023 14:47:44 +0200 (CEST) Received: by mail-pg1-f227.google.com with SMTP id 41be03b00d2f7-565439b6b3fso2321195a12.2 for ; Wed, 30 Aug 2023 05:47:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1693399663; x=1694004463; darn=dpdk.org; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=zHcxb0QrYXdbkmJWX1bTt0t+ItmQ4KNilnZhGiD4ueo=; b=YfQvOAkOLj/MX3VNmb9X+m1AaxxQSRHLGLNGRJoIMxI1enUUFPgAsMHBty+y5r9l7+ G4dj9gDrYhI17Ta0Wk9lPoNqOYeyh9nFl/J+sDWM5vXKngjKP1bR/znT/ccS5SrfGMO1 UR2fTDBl3v7ss92wIGrhYqEwd+AN8ikHR8MEU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693399663; x=1694004463; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zHcxb0QrYXdbkmJWX1bTt0t+ItmQ4KNilnZhGiD4ueo=; b=cgB6rK3Q2MCKN1lQUXVQ9DlClPa7iNnPzHwAGEppjfaMMv/5WXIHh+04Nga7qtRdM/ x93rQpLFtg7OiMxOFzl8TjIfTVoUf8LDoAj9HOHPINQbbfEoMKvayLGERLp/6DF540Uw UPXFUqJ4Sr3vtquQYfhbtgn3LPm+6SC1umYvaLwQXSbE2rED2OeluwvuieYXGX3i599O Om19t6br5BRnILoMq92W4Dk3Xe7cAAU13E6P1eNWk0g+YswsOagJ0HNKB2iWhItrS36J AG3X8vsbSqRZOAHyrCxRZXQiGpsXN9KZDmhrkA7bIvIPFfWHEY1tBg1epK91VK41grvf eAqw== X-Gm-Message-State: AOJu0Yyigzu/RGNXRkckLEEcPFxWlkZ8UmILWHijNI+t1asOdOCM1hOr a0HMB8TVjnkGdu5vECqr1pNlWw57ZbIRpPxXPdBdFQD13GWomhNbFMMjHQ== X-Google-Smtp-Source: AGHT+IGgNFsNc9MAp/XVEZjBN3QmT/K0yeqj55lDCZFlqSdm1m5cNFSzPbJ33ri9xMNuq99XzavZwt1sWHaA X-Received: by 2002:a17:90a:780e:b0:26b:56fa:87d3 with SMTP id w14-20020a17090a780e00b0026b56fa87d3mr1876449pjk.31.1693399663553; Wed, 30 Aug 2023 05:47:43 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [132.177.123.84]) by smtp-relay.gmail.com with ESMTPS id lr1-20020a17090b4b8100b00263c3a98556sm93904pjb.12.2023.08.30.05.47.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Aug 2023 05:47:43 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Wed, 30 Aug 2023 05:47:43 -0700 (PDT) Message-ID: <64ef3a6f.170a0220.4b31f.536fSMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.21.0.2] (unknown [172.18.0.240]) by postal.iol.unh.edu (Postfix) with ESMTP id 059F86052471; Wed, 30 Aug 2023 08:47:43 -0400 (EDT) Subject: |WARNING| pw130870 [PATCH] vhost: avoid potential null pointer acces From: dpdklab@iol.unh.edu To: Test Report Cc: dpdk-test-reports@iol.unh.edu, Li Feng Content-Type: text/plain X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: iol-sample-apps-testing Test-Status: WARNING http://dpdk.org/patch/130870 _Testing issues_ Submitter: Li Feng Date: Wednesday, August 30 2023 08:47:08 DPDK git baseline: Repo:dpdk Branch: master CommitID:b7b8de26f34d39c8aaded44d8a468da5e68f19da 130870 --> testing fail Test environment and result as below: +--------------+----------------------+ | Environment | dpdk_fips_validation | +==============+======================+ | Ubuntu 20.04 | WARN | +--------------+----------------------+ ==== 20 line log output for Ubuntu 20.04 (dpdk_fips_validation): ==== | ^~~~~~~~~~~~ cc1: all warnings being treated as errors [332/2731] Compiling C object 'lib/76b5a35@@rte_vhost@sta/vhost_virtio_net.c.o'. FAILED: lib/76b5a35@@rte_vhost@sta/vhost_virtio_net.c.o ccache cc -Ilib/76b5a35@@rte_vhost@sta -Ilib -I../lib -Ilib/vhost -I../lib/vhost -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -Ilib/pci -I../lib/pci -Ilib/dmadev -I../lib/dmadev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wneste d-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DVHOST_GCC_UNROLL_PRAGMA -fno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=lib.vhost -MD -MQ 'lib/76b5a35@@rte_vhost@sta/vhost_virtio_net.c.o' -MF 'lib/76b5a35@@rte_vhost@sta/vhost_virtio_net.c.o.d' -o 'lib/76b5a35@@rte_vhost@sta/vhost_virtio_net.c.o' -c ../lib/vhost/virtio_net.c In file included from ../lib/vhost/iotlb.h:10, from ../lib/vhost/virtio_net.c:24: ../lib/vhost/vhost.h: In function 'restore_mbuf': ../lib/vhost/vhost.h:1040:9: error: 'return' with a value, in function returning void [-Werror=return-type] 1040 | return 0; | ^ ../lib/vhost/vhost.h:1027:1: note: declared here 1027 | restore_mbuf(struct rte_mbuf *m) | ^~~~~~~~~~~~ ../lib/vhost/vhost.h: In function 'vhost_vring_call_packed': ../lib/vhost/vhost.h:1018:1: error: control reaches end of non-void function [-Werror=return-type] 1018 | } | ^ cc1: all warnings being treated as errors ninja: build stopped: subcommand failed. ==== End log output ==== Ubuntu 20.04 Kernel: 5.4.0-153-generic Compiler: gcc 9.4.0-1ubuntu1~20.04.1 To view detailed results, visit: https://lab.dpdk.org/results/dashboard/patchsets/27469/ UNH-IOL DPDK Community Lab To manage your email subscriptions, visit: https://lab.dpdk.org/results/dashboard/preferences/subscriptions/