i2c: at91: fix code checker warnings
buf_len is a size_t, so unsigned, but was tested with '<= 0'. Reported-by: NWolfram Sang <wsa@the-dreams.de> Signed-off-by: NCyrille Pitchen <cyrille.pitchen@atmel.com> Acked-by: NLudovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: NWolfram Sang <wsa@the-dreams.de>
Showing
想要评论请 注册 或 登录