On Mon, May 14, 2018 at 01:10:07PM +0800, Andy Green wrote: > "1 + value", where value is an uint16_t causes promotion > to a signed int. The compiler complained that we are > shoving an int into a uint16_t return type with different > size and sign. > > Bumping and returning value directly instead removes the > promotion and the problem. > > Signed-off-by: Andy Green <a...@warmcat.com>
Acked-by: Olivier Matz <olivier.m...@6wind.com>