[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231220111136.99315587e832190a528f7630@hugovil.com>
Date: Wed, 20 Dec 2023 11:11:36 -0500
From: Hugo Villeneuve <hugo@...ovil.com>
To: Andy Shevchenko <andriy.shevchenko@...el.com>
Cc: gregkh@...uxfoundation.org, jirislaby@...nel.org, jringle@...dpoint.com,
kubakici@...pl, phil@...pberrypi.org, bo.svangard@...eddedart.se,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org, Hugo Villeneuve
<hvilleneuve@...onoff.com>
Subject: Re: [PATCH 08/18] serial: sc16is7xx: add driver name to struct
uart_driver
On Wed, 20 Dec 2023 17:48:03 +0200
Andy Shevchenko <andriy.shevchenko@...el.com> wrote:
> On Tue, Dec 19, 2023 at 12:18:52PM -0500, Hugo Villeneuve wrote:
> > From: Hugo Villeneuve <hvilleneuve@...onoff.com>
> >
> > Make sure that the driver name is displayed instead of "unknown" when
> > displaying the driver infos:
> >
> > Before:
> > cat /proc/tty/drivers | grep ttySC
> > unknown /dev/ttySC 243 0-7 serial
> >
> > After:
> > cat /proc/tty/drivers | grep ttySC
> > sc16is7xx /dev/ttySC 243 0-7 serial
>
> "Useless use of cat" (you can google for this phrase, it's famous).
>
> grep ... /proc/...
>
> will work :-)
>
> Otherwise LGTM!
Old habits die hard :)
Interesting read!
Will modify commit message in V2.
Thank you.
Hugo Villeneuve
Powered by blists - more mailing lists