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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DCF04C433F5 for ; Mon, 27 Sep 2021 21:58:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C4522610A2 for ; Mon, 27 Sep 2021 21:58:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237525AbhI0WAD (ORCPT ); Mon, 27 Sep 2021 18:00:03 -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