Thread (3 messages) 3 messages, 2 authors, 2020-12-09

Re: [PATCH v2] Input: edt-ft5x06 - use U16_MAX instead of -1

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2020-12-09 20:53:03

On Mon, Oct 26, 2020 at 07:41:26PM +0200, Andy Shevchenko wrote:
Explicitly show what the value we supply for the touchscreen resolution
when it can't be detected. -1 is hard to compare with when unsigned short
type is in use. The change will help to avoid signed vs. unsigned error
prone comparisons.
Any comments on this?


-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help