Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1268279pxb; Thu, 16 Sep 2021 03:52:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx8n8NaU2VTD+KGQtybcfjWmtAsiL9p0sOBQx4n4rYiEl9GSfejiAxL3so2XYADTPG1Mgbk X-Received: by 2002:a6b:e712:: with SMTP id b18mr3913709ioh.186.1631789564539; Thu, 16 Sep 2021 03:52:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631789564; cv=none; d=google.com; s=arc-20160816; b=p3HJOylWWRf0pZfzwQm98SysAPb2rfGOv34P0KrN9NIslt5Y3n1LHbIaTWLVTgtAst /F00GxNgkBtc7O+maX0baQ7flD8WYRgY2xtGuhwarhALLfxgk3rf9dTjY727jnUZKB5i L+WbI50AtSBKlp+SgJfxFNDTjfgU7Q7uak+h946JW0wKuCABfzhml3CghinQMMb0rnAC TY4abUl37er5+CNOK/lmQ2hbdrGF9jlJ2VtDvn7yDMijf/xgDzoSLo5Fr9r2sEUuDKp/ jxB60BbKrQNJDUXq6Z3y6dm/0W5U04xLpXSq5193o9MJlL6RA2JCCDVxI+0dW4EzKt9L ZZrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=9OX2ccKTxaDmP6sp4T0MfjN3xdWs4wtf6Lfujd1Ner0=; b=M+fS3TFThuQYba1d+7SUtDWk0jV/iPdFhFBsZ6o2ztb9dyvJa2ZDjvEilZn6ROqf8r jUL4SsM33Ppu1ZY9Uh2eTu6q4gCUB9sFiqnPNU8iuIA58h6aV4drKCqUzSMlJp3mgHRe LbUyankSkBXnOiIYDUqKVwvQH6Lhu8i9Pua5QHpAoJGXcv7zvI3qJGyY6HuLRuHrkxel 42tBbRBzfQl8h/v9H4wtioMUvVFLwoUiccYkCnVs5Aiqvp2/PzuY3ok+o/bGvDpk2Laa eHNnTIgxRD2WqD5AVI2AaHo0YGVuhW8t5B9VKI7iJzCVtOgDlU3hT19RKBGmFY6D5ugI xbIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v189si2399954iof.75.2021.09.16.03.52.32; Thu, 16 Sep 2021 03:52:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236990AbhIPKxB (ORCPT + 99 others); Thu, 16 Sep 2021 06:53:01 -0400 Received: from smtpbg604.qq.com ([59.36.128.82]:37194 "EHLO smtpbg604.qq.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235487AbhIPKxA (ORCPT ); Thu, 16 Sep 2021 06:53:00 -0400 X-QQ-mid: bizesmtp44t1631789491t5arkjjj Received: from localhost.localdomain (unknown [180.113.36.229]) by esmtp6.qq.com (ESMTP) with id ; Thu, 16 Sep 2021 18:51:24 +0800 (CST) X-QQ-SSF: 0100000000800020B000000A0000000 X-QQ-FEAT: q+EIYT+FhZoEyFn1ILsRlikLkfivFXO3ci2ss10+GGCuB1aitqVHGpdaZ5BLR ePCxsDu+YhgdQqhrqTaDvd7oseRlmsAxbLLUugEOid0HDKMdNekjoigI1GFFqZrLc85JPr8 MMEItRwLy8sAaivtrVi6snnaa3NcrFw9R+3f+i13YHmh3xFGqMHJSgXbYHdsxCWEzH5DBSr IKf1JfRqQ4/bgMPpMR1HEDlprfwmtoPUWMHqgsVecIzHIO55NbnFe2khMXcAKLZKRWys9MQ UUrFAX8n8eVKd+y12kZW3ylopxia+TuEzz+Kl6o3vCbpXB7e2dg3cWc6rwZ4iHtemPat2zl LMKwPQtlkaqBZFjkYjyHeSY2z7vnQ== X-QQ-GoodBg: 0 From: Xiang wangx To: shuah@kernel.org Cc: bongsu.jeon@samsung.com, netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Xiang wangx Subject: [PATCH] selftests: nci: fix grammatical errors Date: Thu, 16 Sep 2021 18:51:22 +0800 Message-Id: <20210916105122.12523-1-wangxiang@cdjrlc.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybgspam:qybgspam4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Should not use unsigned expression compared with zero Signed-off-by: Xiang wangx --- tools/testing/selftests/nci/nci_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/nci/nci_dev.c b/tools/testing/selftests/nci/nci_dev.c index e1bf55dabdf6..162c41e9bcae 100644 --- a/tools/testing/selftests/nci/nci_dev.c +++ b/tools/testing/selftests/nci/nci_dev.c @@ -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); -- 2.20.1