Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE855C636D7 for ; Wed, 1 Feb 2023 14:56:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232628AbjBAO4Z (ORCPT ); Wed, 1 Feb 2023 09:56:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232532AbjBAO4U (ORCPT ); Wed, 1 Feb 2023 09:56:20 -0500 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E6D06AC80 for ; Wed, 1 Feb 2023 06:56:19 -0800 (PST) Received: by mail-yb1-xb29.google.com with SMTP id a1so3246804ybj.9 for ; Wed, 01 Feb 2023 06:56:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mYdj0ILPpMedwbtUGABQIEM0n6F/k6nMPhbqeDqBAa4=; b=GwOzyQ6/wV/wUCf4bpGgaONXoq/C3OoXugJbdwTvTju13aVvN3dxuGc7+FZvpVdpKT jfoGGPLxTTvSIY3HgOk1RqlDY+24+OD/up1cvLv2Io/uBXiM+fiwbpqGwMiNFXy6D3I7 CUAkoHuPbUR3h0cm76K5hSAE8MrS+E3rNwFnCtzzPOc13fooRRPcoTkfMFM7S8esZ0WN 6TC5v3BBUVJ+wcxL+KFRJsvPIwoWr3XqQILKOulaQPNPLKFgB8sgoAiEvh+NOZGFV/K1 kk96vi8wDU03c7T9WB+HER/IT5YR0rJ+Z1uSs0hYUyUtZBlaj1+W7eekV7P5pOgUAXRi NuiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mYdj0ILPpMedwbtUGABQIEM0n6F/k6nMPhbqeDqBAa4=; b=vYeT+PvnzmdlG2mDN29tfn0QPAeB4BfwQ365c+s12MYcfB3rpszn2Lt8jO9Byua6o6 oUwK5Wl+E9a+dgmyme/34qlW4ZV9BMNjHZMOmiGa76WcYtQfFdVwA0GJdBUYCvgWA1d8 9AKursfLZYC+8wrp4PQfPBv76HRYdBbK5Dzq7J82KjiJ6w6gOgblBjbQhqUOKEPcqoSS s5WHSzt0P5Dq38Nt05CfqNJkFmcvbCA14MZrxNnPS9FK3S8EPBo7Tg8Zs8Q2zP5cf/4V +OUII3n8wtaYEGQLIfHUg7iM1z7/eaXOuDc041cvd4W9CTGssf9WINLnVCmidU6YU+Jm nzNA== X-Gm-Message-State: AO0yUKVBX5mN3LxNJbFv3+zG/WTrQTK8KqPcTKO1b9UfBBTEuG7IyahZ 3r6OGI9mIIsp3j4/PlPkAD659/+YpjIM7YMZvf4FqA== X-Google-Smtp-Source: AK7set8IMK4aEihsTu1bOqtwwwkrq/v0ps1tZwl9PjUSiW9IOEB2A5spS8nZWmc2y8Lraf/n+Q9eORUYxOJI/tcXa8Q= X-Received: by 2002:a5b:d02:0:b0:7b7:c7ed:eee9 with SMTP id y2-20020a5b0d02000000b007b7c7edeee9mr317233ybp.334.1675263378595; Wed, 01 Feb 2023 06:56:18 -0800 (PST) MIME-Version: 1.0 References: <20230201001612.515730-1-andrei.gherzan@canonical.com> In-Reply-To: <20230201001612.515730-1-andrei.gherzan@canonical.com> From: Willem de Bruijn Date: Wed, 1 Feb 2023 09:55:42 -0500 Message-ID: Subject: Re: [PATCH net v4 1/4] selftests: net: udpgso_bench_rx: Fix 'used uninitialized' compiler warning To: Andrei Gherzan Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan , netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 31, 2023 at 7:18 PM Andrei Gherzan wrote: > > This change fixes the following compiler warning: > > /usr/include/x86_64-linux-gnu/bits/error.h:40:5: warning: =E2=80=98gso_si= ze=E2=80=99 may > be used uninitialized [-Wmaybe-uninitialized] > 40 | __error_noreturn (__status, __errnum, __format, > __va_arg_pack ()); > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~ > udpgso_bench_rx.c: In function =E2=80=98main=E2=80=99: > udpgso_bench_rx.c:253:23: note: =E2=80=98gso_size=E2=80=99 was d= eclared here > 253 | int ret, len, gso_size, budget =3D 256; > > Fixes: 3327a9c46352 ("selftests: add functionals test for UDP GRO") > Signed-off-by: Andrei Gherzan Reviewed-by: Willem de Bruijn