[PATCH v1 02/14] serial: core: Add UPIO_UNSET constant for unset port type

Andy Shevchenko andriy.shevchenko at linux.intel.com
Fri Feb 23 00:21:45 AEDT 2024


On Thu, Feb 22, 2024 at 07:58:32AM +0100, Jiri Slaby wrote:
> On 21. 02. 24, 19:31, Andy Shevchenko wrote:

...

> >   	unsigned char		iotype;			/* io access style */
> > +#define UPIO_UNSET		((unsigned char)~0U)	/* UCHAR_MAX */
> 
> Perhaps making the var u8 and this U8_MAX then? It would make more sense to
> me.

WFM, should it be a separate change? Btw, how can I justify it?

-- 
With Best Regards,
Andy Shevchenko




More information about the Linux-aspeed mailing list