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 A8299454F3; Tue, 25 Jun 2024 19:06:57 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8F97842792; Tue, 25 Jun 2024 19:06:57 +0200 (CEST) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mails.dpdk.org (Postfix) with ESMTP id 3DB3F40677 for ; Tue, 25 Jun 2024 19:06:56 +0200 (CEST) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1fa2ea1c443so22265195ad.0 for ; Tue, 25 Jun 2024 10:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1719335215; x=1719940015; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=c//Za2jdtjoHXuHdosW/0enwyDwQXMpb96ia+fjOzqs=; b=Si1pCPjwOFI65xvCHzYdNeT34Pu/Az+XE5AXEEzcfigR+f1TaH6i6ES/pW4jxnwoia wGXJofRcTvQ4YeRolRcaLVYuiMpU3EG7FoStsx2ZmhmvLZWmEeCXtqFMMV+1T+IWxS4Q A38BA/F8hH0F1OTXnt3wbP5jD2VPpyPWlN6bw8OqiWyeRQrahZqWVpnKGw/ypXaZdG2F hEfIElaUtAlg8XZn1fZZdfFA8Y+cmN6SuvCRZ3s6yivCKl+O6AUjrALtAlp77toBu0Ep 51ojt59aJ1avipsdIS1FmqZMfopqOhi3HJoPd2BLz/4/8EFT86cHkdsKtHkLfqCw69Y7 87EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719335215; x=1719940015; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=c//Za2jdtjoHXuHdosW/0enwyDwQXMpb96ia+fjOzqs=; b=MsMxrL73QCILk8PTzEJABNGAm91Yk/xcKehVhKZ+4NDN8xhVhFPoXq3JJXymk6velO Gqs5tC63+iSBc+Mhks9mPHMNHQa77yF2lKS4EUnCqKi8g8MDJacz/0UBz5CWHho3LCO2 dXK3rzyHdKuPwmTlJhqrMmyK4doQ7LEwb94InY0sUCMTC2UoSMNHb9qdqDVL4PeKrfVR X3HeY7raaJDmAfpvp15QeAIUgrJN83PWiGzLsppAeWCI2+/8jiQ34wMLIYhRo4mVEpHG x/j9N2yUkAmoW3vwK9dODuG16beCLI7m+PVWbGOUJ3n5+3onywnCkIMGc74j2uswnvJJ kJ9A== X-Gm-Message-State: AOJu0Yz1R0x5148wwkQfopxss2gfCTKQgJ81wjBnkc6AhV7wJ+br7JeI Yx85EY+GmrlMj26VvjPUAelKDCLIBik8hKQd4NIuMVXzhU2XqBlObAf1egAAt+gj5J1zkltq66m 8 X-Google-Smtp-Source: AGHT+IF8hJHnBYZl0F8iZOoDg74ieF3CjWQ2Q9ORh967N7jfwccfe0DzT6f6lNYBXO8twuR2dwJmJw== X-Received: by 2002:a17:902:c949:b0:1fa:18a5:5785 with SMTP id d9443c01a7336-1fa238e4706mr103340075ad.4.1719335215116; Tue, 25 Jun 2024 10:06:55 -0700 (PDT) Received: from hermes.lan (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f9eb326293sm83875665ad.104.2024.06.25.10.06.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jun 2024 10:06:54 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH] net/tap/bpf: fix meson warning Date: Tue, 25 Jun 2024 10:06:52 -0700 Message-ID: <20240625170652.12017-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Meson was warning that run_command was used without check and the result of that will change in future version. In this case, the command (uname -m) should be checked. Signed-off-by: Stephen Hemminger --- drivers/net/tap/bpf/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tap/bpf/meson.build b/drivers/net/tap/bpf/meson.build index df497948e2..35d7438c74 100644 --- a/drivers/net/tap/bpf/meson.build +++ b/drivers/net/tap/bpf/meson.build @@ -44,7 +44,7 @@ libbpf_include_dir = libbpf.get_variable(pkgconfig : 'includedir') # The include files and others include # but is not defined for multi-lib environment target. # Workaround by using include directoriy from the host build environment. -machine_name = run_command('uname', '-m').stdout().strip() +machine_name = run_command('uname', '-m', check: true).stdout().strip() march_include_dir = '/usr/include/' + machine_name + '-linux-gnu' clang_flags = [ -- 2.43.0