Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1289565pxb; Thu, 16 Sep 2021 04:24:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyp7XT/OUm6qb711HzAGyOGI0yc+0pZFHxb+EBegwJ842MDSMunj/t6HgQCYzKODgcLEMo X-Received: by 2002:a17:906:c7d0:: with SMTP id dc16mr5636944ejb.555.1631791447933; Thu, 16 Sep 2021 04:24:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631791447; cv=none; d=google.com; s=arc-20160816; b=1DFNjEQV43r0QxeULqLmccUvHFQ50KKsdOly4NcNWjfNo1eKAfd3cZrd4RCVB4yAXH ABtsjBGKA452hcsyvjtzYOl2ZtGN0IwEC4ttJHwMS5dtXKv0EqDEOCjMl8freKswFVsJ c2TU4myo2H1YOqk2JTdLt5gSeT4irlNJSS5E5R5SgfK2Ro7cR9CmTGkFi0NoP4gCadAP yEzjFSNa3YWW15FOJzJWsSjwhM++KOPFoEDNwm3syGPk8hTnL4xPEbGCBnCD+XvOsx4T m3pVBoyXKSLFJFlkaQcrp/l8CWGag20PDl/m/3qDhMZZK0rxG0FCdZX1l3P4m1L7BpU0 1oOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=wDLR99OSOvM6KNDG/1C/l2KjuCZ0rHPNIZ2eSIT1O9s=; b=K87NyHgjT5lP/qVuNDQtRdXEZpZcrq6TJXOq/rWdrzocSb+NPa2yR/mBBGRWvLHXRH WpsBK2f275AcLYdTExwcAM20ohgHsd9ICU0mPfyjH5uvu4EjBT1W+eBF/Hvhn/MvdPO6 RF2AumpbfkPXRMtM9wT0n+CpRRD8RdmT0RMq4FLcqfjK9tajDNyjOeFc5P7SFcdCc5ZB arDww8v2eF8ewmwQi9GByXkzizUp1MvJncFyDDSYJ9pUxQ5SgY6KcpyqMvYdZycqGvi3 MDsIi+NPayAVtJwqFBv+r4U9I31r9uuA+6rfJt0wjeWUIW1ry7hXCQuJWlFv36aImVCr goPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JlbJfqfV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm10si3146707ejc.402.2021.09.16.04.23.44; Thu, 16 Sep 2021 04:24:07 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=JlbJfqfV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238017AbhIPLXH (ORCPT + 99 others); Thu, 16 Sep 2021 07:23:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237538AbhIPLXG (ORCPT ); Thu, 16 Sep 2021 07:23:06 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35D64C061574; Thu, 16 Sep 2021 04:21:46 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id k4so17095717lfj.7; Thu, 16 Sep 2021 04:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wDLR99OSOvM6KNDG/1C/l2KjuCZ0rHPNIZ2eSIT1O9s=; b=JlbJfqfV7CFnbvr6e2bh7h8ilYZnH/NDcO6pB1JnTDyXp47ju5Uvks0o+vuAG/P5AQ R5ByurJRPP9V0eahCWvEkhk9H4yI29JL25lNEWrDc+hbnR0pqaxYEOR+y5+FFeefTOCA E4YV+43/Ecxt6e3UUmHvXAjnHcBiJug4BPTrFCoM1PbxfDDJfAoNc5XwvwA2eC7dBHi7 SnOb3ghN3Y3+UR0AczDfIO1QhEUnmfSbiLeEZdvNze7EztUNe94yS4H8/Z/6TUOOjv5w LNSOE47E1YFeQuRVlDG+2SY2OOTRX2c1Lze1AtsG4Cw030rfZ5dToVUziuYZGHTQefR6 wt1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wDLR99OSOvM6KNDG/1C/l2KjuCZ0rHPNIZ2eSIT1O9s=; b=vBKxk+gKaPCaO78vgcs6/8NxKrLNZk0LzAVIfz1+RdqrRmaYI5roa2VMpk7Rel0U2d FPBSMJtLHUTsdagjOfoHU7nrtE+0M/gGTn1Hb39prrFOlzZ2cVnxJYho3W/LPHqFrf02 hnGDBehgfXOJV1u40f8OhK9JLC0iWbvX3zJ/EUy6S6gkoMhMUAiaAkPj2vUCA+0dP7Pr d1MZtxovOp0cOZiQobeXYCsR0wF3Nxd3PHHNU4hcw4Yay2RwJvjGAkmelsC2cYQ8bgdm S5i/dFJE81240VJBxuDgS+y1E+BmV+35K6o2V2EimxBWTY1owH+BVvIkYsNqvg2dcugz KuFw== X-Gm-Message-State: AOAM533t64F8/fQJT8p1JazGVKWCKEt4mF3XnCz9Jfek0idIRvBsTD0P xmyk0Ux3LI3OTgmXNt0I5OkLQ8YXD0iP7o+1RIk= X-Received: by 2002:a05:6512:450:: with SMTP id y16mr3603749lfk.200.1631791304159; Thu, 16 Sep 2021 04:21:44 -0700 (PDT) MIME-Version: 1.0 References: <20210916105122.12523-1-wangxiang@cdjrlc.com> In-Reply-To: <20210916105122.12523-1-wangxiang@cdjrlc.com> From: Bongsu Jeon Date: Thu, 16 Sep 2021 20:21:32 +0900 Message-ID: Subject: Re: [PATCH] selftests: nci: fix grammatical errors To: Xiang wangx Cc: shuah@kernel.org, Bongsu Jeon , netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Actually I asked to fix grammatical errors in the subject. For example => selftests: nci: replace unsigned int with int And please change the log in more detail and put a period at the end of the log. For example => Should not use comparison of unsigned expressions < 0. In addition to that, please send patch version 2 with changelog. For example=> [PATCH v2 net] ~~~~. On Thu, Sep 16, 2021 at 7:53 PM Xiang wangx wrote: > > 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 >