Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1161591rdb; Mon, 19 Feb 2024 06:19:24 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUq5iMnXliKeYq8+Pzh9j7hQawrhhgs1GmHkySwV3Qq4GBiLpytKZ3TgIhL9i229N08pAtQzV4S9OKNKv2d+vX3L3vMmPOFCr5QV6VS+Q== X-Google-Smtp-Source: AGHT+IEjZ+mTC6UHArYC0IOG8TF8VxztphEyUgA0WNh1quw602TnIf7UOHJWov9EAQuB3vDAVg2i X-Received: by 2002:a05:6e02:1d97:b0:365:3a69:1e1a with SMTP id h23-20020a056e021d9700b003653a691e1amr825154ila.0.1708352364529; Mon, 19 Feb 2024 06:19:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708352364; cv=pass; d=google.com; s=arc-20160816; b=KVhvpSJ9OuGhVyS/6WO1TV43C0ZEzgv/f7gwu+/muXbF5EysR6vxsHdasq5Dt7mj6/ fioNN4docWoIkX6ZdYH9dmcsm+nsfJAF4EUWOln3OhuSM5e77aKiXHjDr/k+393MACCF 8c3Jrg2p0JKyK1WlMT53mf8Ofn9iSQnQndoHM0siJRjILOv9U5GkffkQaRe2c80MhnIK eupSaz21hORZvRkz4/k5KViRD4qta/O4IvcJlBG/ck4OLGPu5PiF285lMDZlv0IykNxF vmDa6t9+GaS/k7tqW0jAXsMb7D+KqbdOLId96YR5lWOrssjPEQS3J6xffWmidxgfyy62 8TNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=tE619jYxrVp6c5yjL2tj6k7CJfD9ZPT5Mqi5c3cAKts=; fh=bB/xA+3D91d8mEXjogP3eSJRDEqssXy0u8NBEQaP2sw=; b=QH9r3virvNm+izDYMOIv7AWaRZaEU5n1zUpM++ifkwP86sVZH1L+Db7enDYwIFrlba 1LfiRQwHmM7trwVZmRNwZpf34DYEt/7FuCCkJ3gZe5n53RIv41OUbQ56jzsTBb7ZgxaI 8aSiM353kDYxX/9tKFGAM5ZROHu4DU+PDJGKgM7NkVFfLxX5q4yqyUW3IcHSyvVTS1sT 3nHspGSJCUMuJtdQF4HUggoJdlQB/Kzd0k/nI88OhF7eez6JrXqMpOIe4wXi+nu5Z+XE QLW3iaTIQFObKzCYwZGB9bE14PRFtGf6dBxz2VSfFXGuRdIAvIONhh7bauuJclYognp+ 0FGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=o4wiG68G; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-71466-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71466-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ch3-20020a056a0208c300b005dbec91be93si4508137pgb.595.2024.02.19.06.19.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 06:19:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71466-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=o4wiG68G; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-71466-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71466-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id B758BB210E3 for ; Mon, 19 Feb 2024 14:19:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 61740374EC; Mon, 19 Feb 2024 14:19:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="o4wiG68G"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="6+VI/+M0" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3806136125; Mon, 19 Feb 2024 14:19:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708352352; cv=none; b=WJC6YBvks1A2wnVttiBO6szzhtBzhdn0dsakPDH4OcVp/CA6u+IH92Mx/L/PoLJH6BPbbbuZfMxW5yWdhbY3aol4cG3OJx4AW+Ms/5Mr5zIM+pzWtShsMw2ModlB0Xo4a4IMIXmUTEAdc6WfAtWdpAQW3aUrIXyAe6gtzH43J2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708352352; c=relaxed/simple; bh=UQ/xCts5Y5EfjSUtaYYjNcAkUaWSg2td0YATorNw3O4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=EDi8nIKtp5971lGIO6hpa8qJ4V6uitTHoKWlvuOTxMp5AHIt2H8bc6rrFkZR1FUsnkdYzDj4057LNfbammCVBgcPcewRiSu6mH743JRxh0+KDLiHPOxohrx5Jh/qxA7UrZ5ClD1hcKuKsWVs/MRokYvckdHNMwt4M/NTcN9XqqM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=o4wiG68G; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=6+VI/+M0; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: John Ogness DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708352349; 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=tE619jYxrVp6c5yjL2tj6k7CJfD9ZPT5Mqi5c3cAKts=; b=o4wiG68G1+RfjcQEcbQSppRlkxePd/m3kWrBNAkq/rgLKWfSSujGjeyI79HP3Zt4EuRFlT q0e5hvIRjvJG5NybPuHrxOsSWjZRz7Mqtr0Vp3JeledKb9Vw+UPMAQkQjIaGYFQXYojmjQ vWOvMbasO1wbPo5a1gRyRkWXE/hXksBM81j1Fqpc4r2dM6c2XW0Wz/EewItOe8iHoyGrJl e1klsPW8Nvgl4/kkZ9ML5rwpCI6799R9NNVL8NY9VNSGBYn5Or8AY867EAaaz6hyuFXZnV S4vWBZJ2rRxHdJFEqZzygXQT0H1lLrDQYkKEXrD4nyfHmeUnUEHnLSrCGaDSYQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708352349; 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=tE619jYxrVp6c5yjL2tj6k7CJfD9ZPT5Mqi5c3cAKts=; b=6+VI/+M05xsyzqQWw+k8n8bS94a1/I202cPn8dzJahoY/xp/eS3fBMtKmL59Y8qqFUDTRO 8L2zsrbtUhG1RoAw== To: Andy Shevchenko Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , Ilpo =?utf-8?Q?J=C3=A4rvinen?= , Tony Lindgren , Geert Uytterhoeven , Justin Chen , Jiaqing Zhao , linux-serial@vger.kernel.org Subject: Re: [PATCH printk v2 08/26] printk: nbcon: Implement processing in port->lock wrapper In-Reply-To: References: <20240218185726.1994771-1-john.ogness@linutronix.de> <20240218185726.1994771-9-john.ogness@linutronix.de> Date: Mon, 19 Feb 2024 15:24:47 +0106 Message-ID: <87jzn0bkqg.fsf@jogness.linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On 2024-02-19, Andy Shevchenko wrote: >> --- a/kernel/printk/nbcon.c >> +++ b/kernel/printk/nbcon.c >> @@ -6,6 +6,7 @@ >> #include >> #include >> #include >> +#include > > The headers in this file is a mess. But here you can at least keep the > piece ordered, can you? Just to clarify, you would like to see this ordering and inclusion? #include #include #include #include #include #include #include #include #include "internal.h" >> + ret = (console_srcu_read_flags(up->cons) & CON_NBCON); > > The outer parentheses are redundant. Ack. Thanks. John