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 AD90CC433FE for ; Thu, 17 Nov 2022 12:00:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239538AbiKQMAo (ORCPT ); Thu, 17 Nov 2022 07:00:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234840AbiKQMAn (ORCPT ); Thu, 17 Nov 2022 07:00:43 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD1BA5A6CF for ; Thu, 17 Nov 2022 03:59:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1668686386; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NPf1RG+wCb7clBGA38jNh+ZPSc1moikSLN57Kq5O9Bs=; b=JMAtntRjnxMtnUJJQV7M9yIMeXMcTwtIYAGlSnl1yKnH6xlze0J6b5wr+Z+5m7qNMj/2Mb gZCfO8JKjPk0IOnHL87DSihG5AWPTXnpXFFd0klORBYtyy+/VXEunJrinPZhxMdF5GTRLP 2os8J6sc+7O9UAzOKwcE8w4A6SDVG4U= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-34-qbEPj9JGO7ylkfBZD0NLwQ-1; Thu, 17 Nov 2022 06:59:37 -0500 X-MC-Unique: qbEPj9JGO7ylkfBZD0NLwQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7DB52811E67; Thu, 17 Nov 2022 11:59:36 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id 40CB6111E3ED; Thu, 17 Nov 2022 11:59:35 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <3475095.1668678264@warthog.procyon.org.uk> To: Dan Carpenter Cc: dhowells@redhat.com, Marc Dionne , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-afs@lists.infradead.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH net-next] rxrpc: uninitialized variable in rxrpc_send_ack_packet() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3708247.1668686372.1@warthog.procyon.org.uk> Date: Thu, 17 Nov 2022 11:59:32 +0000 Message-ID: <3708248.1668686372@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Dan Carpenter wrote: > We disabled GCC's check for uninitialized variables. It could be that > you have the .config to automatically zero out stack variables. > > CONFIG_CC_HAS_AUTO_VAR_INIT_PATTERN=y > CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO_BARE=y > CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO=y Ah. Is there a way to reenable that? David