[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <10b17051-fec-7b2-aee2-f62cbe8e9a14@linux.intel.com>
Date: Tue, 7 Jun 2022 17:11:05 +0300 (EEST)
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: Jiri Slaby <jslaby@...e.cz>
cc: gregkh@...uxfoundation.org, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 14/36] tty/vt: consolemap: make con_get_unimap() more
readable
On Tue, 7 Jun 2022, Jiri Slaby wrote:
> The indentation is completely broken in con_get_unimap(). Reorder the
> code using "if (!cond) continue;"s so that the code makes sense. Switch
> also the "p" assignment and add a short path using goto. This makes the
> code readable again.
>
> Signed-off-by: Jiri Slaby <jslaby@...e.cz>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
--
i.
Powered by blists - more mailing lists