From mboxrd@z Thu Jan 1 00:00:00 1970 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 DF3EAC25B4E for ; Tue, 24 Jan 2023 14:11:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234567AbjAXOLV (ORCPT ); Tue, 24 Jan 2023 09:11:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234450AbjAXOLT (ORCPT ); Tue, 24 Jan 2023 09:11:19 -0500 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C1A342BDF for ; Tue, 24 Jan 2023 06:11:16 -0800 (PST) Received: by mail-pj1-x1029.google.com with SMTP id j5so1362915pjn.5 for ; Tue, 24 Jan 2023 06:11:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IYhmQqrSkgyrF9GZ22+7sL9SN/b0wagx8GLXitDyd2U=; b=Jy5bfsLrbfPFQFniNs4LlQVJdkisvdUlHC6udaMPxF3KSHiPU+biXPZeUyAxrJsiP5 kJWLT+JcZB3pPDTh9Phye/g8l5WCQbJGlV/7zESwmslLDe1+K3urwdiJpYnrnLgtpT6f StH63sfAEdSmqQAxc/wmM9KgwvktWsnpFfk9Uznm+bQh3l3vI1cxToX7Ncqp64j4Fyn0 Q4c4cRgl1YlRYjFgF1YebSVF7ApWtydEvJPk7Jfnq+HQubaIzaWJMVoZDr8b3pDZWIMV vIZydMe0WHii/x+0f877Yfbecx/EleJAqM1Au89StBsHFKntYMNcSbVxk/NjuhymcI+w MM/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IYhmQqrSkgyrF9GZ22+7sL9SN/b0wagx8GLXitDyd2U=; b=hPZWZV3aQ8DarvMwJOBaPX6xf6MRkjk/NvLtRlzvpqeR7Udb5alrKkVjpW9FRhdJuO HbWwj5M1/CyUI6ox6SYHwwe8cIMuaP9IwFwULT9jgXvH1oGzWvO5Btf0yaI2tPvERddz 2fmwSRPHRkf1fsZYSO+b519ZCcS/Q9fp3Kh6MlLhj088jMNJZFmc4+EziRDnn9INand4 Er8eNJqlMKd2BGRLgrKCNjEnGClMf3RTLNDcxlJR10a6NBWbX3T5W8iXYRgdTjXof7tl 6Us5UsGOyg/t79T70Zk2ANz1wT1C9TDye0JMUKaqrFptr5dYvxwVPGOtYzy6iXY/2PIe H5gQ== X-Gm-Message-State: AFqh2kp8v2Vis24mpZa/Ha8IODQnv34tFnDjDYiaZExTVXKZuGekxl3g RJLlYL/wrtmdvbXA+m7qciv2UQ== X-Google-Smtp-Source: AMrXdXv+MzXrbpWVCUWz6D+hs/wVmEIUHvt1K0VvdnqXqJ0KpBn514vswhg65FyUlI8kwtX5tUs8VQ== X-Received: by 2002:a17:902:8209:b0:194:a374:31f3 with SMTP id x9-20020a170902820900b00194a37431f3mr7014867pln.3.1674569475625; Tue, 24 Jan 2023 06:11:15 -0800 (PST) Received: from [127.0.0.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id iw4-20020a170903044400b001960735c652sm1714100plb.169.2023.01.24.06.11.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 06:11:15 -0800 (PST) From: Jens Axboe To: asml.silence@gmail.com, nathan@kernel.org, ndesaulniers@google.com, Tom Rix Cc: io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev In-Reply-To: <20230124125805.630359-1-trix@redhat.com> References: <20230124125805.630359-1-trix@redhat.com> Subject: Re: [PATCH] io_uring: initialize count variable to 0 Message-Id: <167456947444.222255.5448115416387284017.b4-ty@kernel.dk> Date: Tue, 24 Jan 2023 07:11:14 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.0 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Tue, 24 Jan 2023 04:58:05 -0800, Tom Rix wrote: > The clang build fails with > io_uring/io_uring.c:1240:3: error: variable 'count' is uninitialized > when used here [-Werror,-Wuninitialized] > count += handle_tw_list(node, &ctx, &uring_locked, &fake); > ^~~~~ > > The commit listed in the fixes: removed the initialization of count. > > [...] Applied, thanks! [1/1] io_uring: initialize count variable to 0 commit: 7a9e93db01f44a8d084c93648981cbc1535a734d Best regards, -- Jens Axboe