From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id A20101F461 for ; Thu, 5 Sep 2019 15:07:23 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; q=dns; s=default; b=fHOC uh+TqxYAMvULE596DjzkUXfkg9aizMgBxg+QJL/f+5wMdoKSdAIuMqmzYTY+YXsp 4nKOc5hvlWpPMpj3Rel8xUiX2U4WD/JcZa8mV2fDqwQmNt81+V63zaF1wgmd/cil uYFR+IFHXxNZyGu/BrNiZq07ADM7FtwKgHlC/vU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; s=default; bh=VdNZ9w924I GpQ/6lP3lkVBLQXV4=; b=cMiamWX5dG5zOyiwM6ewxDryIjqFlGatwrtB7y7r6G Y3GhLF2ZGGJeaDAoP208HEjCTZiYmUKGVSY69Mm9N42778Hz31ebMYKuiSue+fNf EU8aFEZtztPKTYbwoUbwSsf4Ni2Og0cf0pdk1vhwIJIuqtkG2oWM/01lbkGKyfYH w= Received: (qmail 91117 invoked by alias); 5 Sep 2019 15:07:23 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 91107 invoked by uid 89); 5 Sep 2019 15:07:23 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mailbackend.panix.com MIME-Version: 1.0 References: <871316fb87a99a59c31e6d3fbd4d35bff2ecc3c4.1567097252.git.alistair.francis@wdc.com> In-Reply-To: From: Zack Weinberg Date: Thu, 5 Sep 2019 11:07:05 -0400 Message-ID: Subject: Re: [RFC v5 01/21] sunrpc/clnt_udp: Ensure total_deadline is initalised To: Alistair Francis Cc: Joseph Myers , Alistair Francis , GNU C Library , Arnd Bergmann , Adhemerval Zanella , Florian Weimer , Palmer Dabbelt , macro@wdc.com, Zong Li Content-Type: text/plain; charset="UTF-8" On Thu, Sep 5, 2019 at 10:53 AM Alistair Francis wrote: > On Thu, Aug 29, 2019 at 10:34 AM Zack Weinberg wrote: > > On Thu, Aug 29, 2019 at 1:22 PM Joseph Myers wrote: > > > On Thu, 29 Aug 2019, Alistair Francis wrote: > > >The long pole is definitely the ml2014 build environment, unless for some reason we need the new version of pip first? I don't actually know. I'm assu > > > > Even though total_deadline won't be accessed uninitalised GCC can still > > > > complain that it is accessed unitalised, to avod those errors let's make > > > > sure we initalise it to 0. > > > > > > It's glibc practice (although missing from > > > ) that we *don't* > > > add initializations like that to avoid warnings. > > > > Although this has historically been glibc practice, I think it is > > unwisely incautious, and we should change the policy to be that we > > *do* add initializations whenever the compiler thinks a variable even > > _might_ be used uninitialized. > > Does that mean this patch is ok? I haven't actually looked at your patch, so no, that was not a review. zw