Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4339848pxb; Mon, 27 Sep 2021 14:59:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxz7+18K4puA+N2wnQQ5sSdoRdq/d29Bwf2zRa27+NOtaQNxh9JUflkFIOyX37fpSkKAaRN X-Received: by 2002:a17:902:780f:b0:13a:3919:e365 with SMTP id p15-20020a170902780f00b0013a3919e365mr1585096pll.63.1632779965928; Mon, 27 Sep 2021 14:59:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632779965; cv=none; d=google.com; s=arc-20160816; b=DsD+WJM20NcairG/Nexz3+qtDaPxaWiJBAhF9t+RuA6dtmRl3k6zQXjXbSWHJvCoOG DuewL19c759IBdN5HqJnMZKOebe3pqFJxHhTP7ps2285kt5y+0zNaNEPw0UkPKarAL+U /Gdxo1EGSJ+Yro4Vtyud6ZDznUoUWIAwpDlSbeJAb3SsD0ZC8tExjQ1PS5l1lioZJ+iv tgeYmLWQvK1KBKXuIp+BdltMSKsCPExVlHsKnMstut5g5lSwmCcy970nRV8DA+j20K/m Gz2CJyPC152qki9upFD/kV5cGvGm6Tp9UyT+ovb/ODlziy9HCuHYwyszbnZXcAbqN408 iahQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=Agbeiy8G2UayFQgXSAuMVxgRu+PPbQEEiGUNoMCxotA=; b=cs6o7bZ+xWB+vlD+cujpTMM5FI0JNOGD/+9lAb/UxCIuC87oMKAw5cWkgPcmtXpy0e USSsbjCGHGrHo1mJNnUXm7cH4beL1octROimcp8BwfxPFZsa0fCdJna3vAaJdMN1ZpiG hJR1gf1mX7aLAhxnvxsKTaW0hGkke4QYeIrHJ+3/0JmUm75HqEE6uXkOnQW75yb60Bej 1jyXd38rFE70f24rf9bhKevt3ZqGr5eDZD1RtN1ShuH4jaYdzl7U9iEaBo5VM6sSvtQL jJ9WJcHCydZPH2FZP9cPixOx7FE3iMpPQTWeaNzxx1BMmeMIKPoaRqPqA/8bhLuj+vou BAnw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s9si22856486pfm.160.2021.09.27.14.59.13; Mon, 27 Sep 2021 14:59:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237507AbhI0WAC (ORCPT + 99 others); Mon, 27 Sep 2021 18:00:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:34002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237503AbhI0WAB (ORCPT ); Mon, 27 Sep 2021 18:00:01 -0400 Received: from oasis.local.home (unknown [209.210.2.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3A2D061058; Mon, 27 Sep 2021 21:58:23 +0000 (UTC) Date: Mon, 27 Sep 2021 17:58:22 -0400 From: Steven Rostedt To: Arnd Bergmann Cc: Chris Down , Petr Mladek , Sergey Senozhatsky , Andy Shevchenko , Jessica Yu , Arnd Bergmann , John Ogness , Nathan Chancellor , Nick Desaulniers , YueHaibing , Linux Kernel Mailing List , llvm@lists.linux.dev Subject: Re: [PATCH] printk: avoid -Wsometimes-uninitialized warning Message-ID: <20210927175822.6c928128@oasis.local.home> In-Reply-To: References: <20210927125007.1581919-1-arnd@kernel.org> <20210927122138.56cb1d8e@oasis.local.home> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 27 Sep 2021 20:32:12 +0200 Arnd Bergmann wrote: > On Mon, Sep 27, 2021 at 6:21 PM Steven Rostedt wrote: > > > > On Mon, 27 Sep 2021 14:19:18 +0100 > > Chris Down wrote: > > > > > Having IS_ENABLED and then an #ifdef seems to hurt code readability to me. > > > > I agree. > > > > Would this be a better solution? > > Sounds good, I'll follow up with that version after the next round of randconfig > builds. OK, but can you remove the extra line that's between the brace and the text. I should have deleted it in that patch. -- Steve