Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4204680pxb; Mon, 27 Sep 2021 11:34:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxS+sHbEG43Cy7kXT1LumIEgp5LssPFM/m5wnDro0jky+Fm6ejkuW1f48EIAJZNULOTKvjH X-Received: by 2002:a17:906:774f:: with SMTP id o15mr1736483ejn.200.1632767688275; Mon, 27 Sep 2021 11:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632767688; cv=none; d=google.com; s=arc-20160816; b=kZeWQInTP0ZV1sub/pJRmGIxqGi8rwBDh2pA/ZykgnCug8HEpYgL6pnCaGqXA+EmKj abGntrgjYY5S1RelmUx3rBa4ao8zazYfbtPobiWJoiIGxZjZOzJpMImpha9BBTCl7idq vAWd1QfBrDapeyvuBsFlf2b84qpMCm9vhfkpk1+8DzivzDx2GRQGj1c3/g9tDto+BpoH TFrqSbqJlDlm/HworVtEUNtMUfyAHIcO//QnXFCWH11pgv9poI7CVmqE/jchd6mXJEl/ YUI6RwAmDdB/P5esWF0O2z4/VH/i0sJI43X9XVTuWvLg/UW8E7E7SCAU/m6uf+qYvYra rx/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pOxoJQU1sHLPxnsZqGZI0DSq298DCo2Hk7uDARg52+0=; b=bSQzKzMJd4LfYsTzMa6giw/hq6DOS0GMZa/11mOMXe9cHMSFXzz7Orv/keQzyE4FMU Mq+91cBsrc1AJfSmMqIoqo9/sM9qJRI2ptALu/DFhG1L6XFdgpQ8SxORNOfGsGP6ijyE Hn8gU76cJhN2smTg5Pbbq5Pu6gFvmbwYd2Hj9zAcEdc2h+lUNYlhwiUbA/bF9hYLHGBR t3WGYBIStvF7tbFGO0qXxY0hOCDBWqmNdElJ6vNDzsyMzsUuP8XeQlWg3rP40IrYICHp LcmpIkvwBE7yi7BF3zTACIG0BUUtx4itjuWT8hKRvXpRZviaSIMMzcv27XVDWwRpa6ky CjRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dZh2RYay; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hy27si18957378ejc.705.2021.09.27.11.34.23; Mon, 27 Sep 2021 11:34:48 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dZh2RYay; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236238AbhI0SeI (ORCPT + 99 others); Mon, 27 Sep 2021 14:34:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:55420 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236012AbhI0SeH (ORCPT ); Mon, 27 Sep 2021 14:34:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C229860E73 for ; Mon, 27 Sep 2021 18:32:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632767549; bh=Z3UO9nj32fEK6vQVolbZguKJlD1p5STFHKPBJv3KJQg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dZh2RYayA7LxaAeJOuCNwWxrMprjpDk4E9Kxod1a5ehMCtGSzGFFn/zWwN+GNCy35 8ylpMLg9jzIenrcNrPRVfv4X0E3dBiwkc7VM/WGT0NN6YRBGsRBwW3f2JoMl3VAupX EaRSvl0aMT2PiD6pfkIA98057Cvdnz7ILruLZ/uG/+yDooq+N738+k3ljmf0ZoT9uI 46DTQdhYe91oiuBBO2sbTbqbsQErzpFyMQBSF4a7I2X80yDixbJnKuiahkzls/ggqh 44JsUn1Dxbia7XMStiw2IyOUsT1F3E8jn+5yW9RnPtHP4aYYC7KQzWddpn51GuOd74 sSMgU/z70KD9A== Received: by mail-wm1-f45.google.com with SMTP id j27so1290805wms.0 for ; Mon, 27 Sep 2021 11:32:29 -0700 (PDT) X-Gm-Message-State: AOAM530jzT/43oIwuQZR4R97LbqHORNPCYtFc9+bSp3bkojJnxcgyUtC E1gzUjOMJM3aQgrqBpjYo5xY49kz3+4FZnCJXow= X-Received: by 2002:a1c:2357:: with SMTP id j84mr551126wmj.1.1632767548383; Mon, 27 Sep 2021 11:32:28 -0700 (PDT) MIME-Version: 1.0 References: <20210927125007.1581919-1-arnd@kernel.org> <20210927122138.56cb1d8e@oasis.local.home> In-Reply-To: <20210927122138.56cb1d8e@oasis.local.home> From: Arnd Bergmann Date: Mon, 27 Sep 2021 20:32:12 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] printk: avoid -Wsometimes-uninitialized warning To: Steven Rostedt 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks, Arnd