From patchwork Tue Jul 24 19:29:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 10543093 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8411C112B for ; Tue, 24 Jul 2018 19:30:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7414B2921A for ; Tue, 24 Jul 2018 19:30:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 681E32922F; Tue, 24 Jul 2018 19:30:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 115AC2921A for ; Tue, 24 Jul 2018 19:30:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388670AbeGXUhm (ORCPT ); Tue, 24 Jul 2018 16:37:42 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:39966 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388880AbeGXUhl (ORCPT ); Tue, 24 Jul 2018 16:37:41 -0400 Received: by mail-pg1-f195.google.com with SMTP id x5-v6so3576522pgp.7 for ; Tue, 24 Jul 2018 12:29:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=CETlTWEpXuhuEPVXIK/Z5cmHGbcS8ChL3t7Fq+OAnHE=; b=FbYEXlQK/mPPM+Pzt/23XDyxjLvlz6a/kJf4IuOgctVv5AAfgsEQ2JoE81lZS7wdpP qdLDXxoLKvPKzwdtGmUr+U23qrk+3/V/Lys1xdcggbXNyr2oZgSZztlwpFoT2zBhALao ZsoAWOqcBOCgmi0DRSQaMDMLmYGJWsczGlLOQuCq0veCq38JvFS66DNF2uNbn4I7CKxv zGSUR40/WdmyFf4Zwu8aVCGv0DBIG/TY9Pd7aHWzVmJ0tT2Atstp0Gi5iecTk3GZIHCz x/S4NBgNnPizJ+SSrzwCkz+XK8WELUuQ1L07eogOFfXDsz97RcQWeLGogyMfX9xUzZzb 4ETQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=CETlTWEpXuhuEPVXIK/Z5cmHGbcS8ChL3t7Fq+OAnHE=; b=JFVECMNlAbd5+AwHmO5QWWJWcOIVPUJgyl8ummyOs/RJY4EdoVWHqJ01ABj+1GBJGl XCBpbplwwscVC6vBQP6BSa+m9F4b75piXkfL6La3/41o3F6c+G+C/fKWcLetlwATLfmt jiy3BIvm8mAIeyhC4FmucNrMxR5tQ3h5+Kkk6xF5ZmJ2Yo3fdYP9w95vLl+hCnqeSot2 CSSZAylBRizHv68ULwkyOq/BDsGcERwH3THiF9XN9UFCGxrUgZVZdIFGRR0ixO2kJ7fU xEmAlZmraDJJGzGaye/kiXUefZG42x9LNPrwb2NrFhBMXnFGemZNTtaXl5hNpQ5Z6/rf ghZw== X-Gm-Message-State: AOUpUlE/1N3wAHfzoYHroZb8qzi+fI2JD2ceWTt48EploVgzG1DkLJ5g KjXThGVN66eiCb341Zuyj04sFA== X-Google-Smtp-Source: AAOMgpeYnITEVpt9OukQsanUkUf14qz4VyAarfQJTCGGgD3vbwnbA2JH2b/t9XNO7W+LyEHy0fcJAQ== X-Received: by 2002:a62:a6db:: with SMTP id r88-v6mr19079449pfl.60.1532460584995; Tue, 24 Jul 2018 12:29:44 -0700 (PDT) Received: from xeon-e3.wavecable.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id k6-v6sm16788366pgc.71.2018.07.24.12.29.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jul 2018 12:29:44 -0700 (PDT) From: Stephen Hemminger X-Google-Original-From: Stephen Hemminger To: davem@davemloft.net, ericvh@gmail.com, rminnich@sandia.gov, lucho@ionkov.net, ralf@linux-mips.org, jreuter@yaina.de, pablo@netfilter.org, kadlec@blackhole.kfki.hu, fw@strlen.de, alex.aring@gmail.com, stefan@datenfreihafen.org, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, johannes@sipsolutions.net, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, vyasevich@gmail.com, nhorman@tuxdriver.com, marcelo.leitner@gmail.com, trond.myklebust@hammerspace.com, anna.schumaker@netapp.com, steffen.klassert@secunet.com, herbert@gondor.apana.org.au Cc: netdev@vger.kernel.org, v9fs-developer@lists.sourceforge.net, linux-hams@vger.kernel.org, ceph-devel@vger.kernel.org, linux-decnet-user@lists.sourceforge.net, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, linux-wpan@vger.kernel.org, linux-s390@vger.kernel.org, linux-wireless@vger.kernel.org, linux-rdma@vger.kernel.org, linux-sctp@vger.kernel.org, linux-nfs@vger.kernel.org, linux-x25@vger.kernel.org, Stephen Hemminger , Stephen Hemminger Subject: [PATCH PATCH net-next 10/18] 9p: fix whitespace issues Date: Tue, 24 Jul 2018 12:29:10 -0700 Message-Id: <20180724192918.31165-11-sthemmin@microsoft.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180724192918.31165-1-sthemmin@microsoft.com> References: <20180724192918.31165-1-sthemmin@microsoft.com> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove trailing whitespace and blank lines at EOF Signed-off-by: Stephen Hemminger --- net/9p/client.c | 4 ++-- net/9p/trans_virtio.c | 2 +- net/9p/util.c | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/net/9p/client.c b/net/9p/client.c index 5c1343195292..ff02826e0407 100644 --- a/net/9p/client.c +++ b/net/9p/client.c @@ -341,7 +341,7 @@ struct p9_req_t *p9_tag_lookup(struct p9_client *c, u16 tag) * buffer to read the data into */ tag++; - if(tag >= c->max_tag) + if (tag >= c->max_tag) return NULL; row = tag / P9_ROW_MAXTAG; @@ -1576,7 +1576,7 @@ p9_client_read(struct p9_fid *fid, u64 offset, struct iov_iter *to, int *err) int count = iov_iter_count(to); int rsize, non_zc = 0; char *dataptr; - + rsize = fid->iounit; if (!rsize || rsize > clnt->msize-P9_IOHDRSZ) rsize = clnt->msize - P9_IOHDRSZ; diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index 05006cbb3361..279b24488d79 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c @@ -446,7 +446,7 @@ p9_virtio_zc_request(struct p9_client *client, struct p9_req_t *req, out += pack_sg_list_p(chan->sg, out, VIRTQUEUE_NUM, out_pages, out_nr_pages, offs, outlen); } - + /* * Take care of in data * For example TREAD have 11. diff --git a/net/9p/util.c b/net/9p/util.c index 59f278e64f58..55ad98277e85 100644 --- a/net/9p/util.c +++ b/net/9p/util.c @@ -138,4 +138,3 @@ int p9_idpool_check(int id, struct p9_idpool *p) return idr_find(&p->pool, id) != NULL; } EXPORT_SYMBOL(p9_idpool_check); -