On 2018/12/11 4:04, David Miller wrote:
> From: YueHaibing
> Date: Mon, 10 Dec 2018 19:34:43 +0800
>
>> Fix follwing gcc warning:
>>
>> drivers/net/ieee802154/ca8210.c:730:10: warning:
>> comparison is always false due to limited range of data type [-Wtype-limits]
>>
>> the variable 'len' is of
From: YueHaibing
Date: Mon, 10 Dec 2018 19:34:43 +0800
> Fix follwing gcc warning:
>
> drivers/net/ieee802154/ca8210.c:730:10: warning:
> comparison is always false due to limited range of data type [-Wtype-limits]
>
> the variable 'len' is of type u8 and cannot greater than
> CA8210_SPI_BUF_S
Fix follwing gcc warning:
drivers/net/ieee802154/ca8210.c:730:10: warning:
comparison is always false due to limited range of data type [-Wtype-limits]
the variable 'len' is of type u8 and cannot greater than
CA8210_SPI_BUF_SIZE , which is 256.
Signed-off-by: YueHaibing
---
drivers/net/ieee80