提交 98dc68f8 编写于 作者: X Xiang wangx 提交者: David S. Miller

selftests: nci: replace unsigned int with int

Should not use comparison of unsigned expressions < 0.
Signed-off-by: NXiang wangx <wangxiang@cdjrlc.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a57d8c21
......@@ -746,7 +746,7 @@ int read_write_nci_cmd(int nfc_sock, int virtual_fd, const __u8 *cmd, __u32 cmd_
const __u8 *rsp, __u32 rsp_len)
{
char buf[256];
unsigned int len;
int len;
send(nfc_sock, &cmd[3], cmd_len - 3, 0);
len = read(virtual_fd, buf, cmd_len);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册