Re: [PATCH] atm: zatm: fix memcmp casting

From: David Miller
Date: Tue May 29 2018 - 10:00:28 EST


From: Ivan Bornyakov <brnkv.i1@xxxxxxxxx>
Date: Fri, 25 May 2018 20:49:52 +0300

> memcmp() returns int, but eprom_try_esi() cast it to unsigned char. One
> can lose significant bits and get 0 from non-0 value returned by the
> memcmp().
>
> Signed-off-by: Ivan Bornyakov <brnkv.i1@xxxxxxxxx>

Applied, thanks.