Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp157427imu; Thu, 3 Jan 2019 16:24:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/UERHqIN6ZVv1wjAlnrA8LBiWzG+RoTjG1nGeIKcrZxK0wtUyInnXM8Epgl9HvjEh4QAe5L X-Received: by 2002:a62:4851:: with SMTP id v78mr50711563pfa.97.1546561478205; Thu, 03 Jan 2019 16:24:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546561478; cv=none; d=google.com; s=arc-20160816; b=qCUaQP3BEH18FS7s+KKGdCWAPR2cM0kJSfJOa1Xb9j4ljPiY5G+WvxiNSOV9YSUom2 +Kw6FlH6PplAFylB9zCORVOPN8PdHztGW4mxEIDD3oRcuVJhgy1UgP237kmDlMSWUd12 aAt+D4iyazdA2nn/5vckohHSxF9L/md+6k+1IegG+LsHBIVZ2i0XPnQbDH2LU0iTs9bv q2HtZc5lz8t8Kp6VhVGjdsMquZlTr7R0PLrvSQtWoR2Vo2EO6hsjPWcMftvPcy+l0bVU ZCzZjmEsay7Edae5ciWp1FipY1TuFRHZBk1p8EWPQgFyJzxoFVxd1fm2NFuuDuTiYNao Vz4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ysFl8um2W4EsR5gRsG53Q0aM5aYC0qBRthcGZHc8dJ0=; b=KmY/6Lo++jdzaL36WKXS5gCgS/7MaowRsexB6DJy4yiD5WfBIwngpqjEw8XxDsEgLG zU0UCxPEDjtwNV7rBGLBA6GlSYXkOfaEHwZXfvS5oXGco6yjY5E5VnoMvBrTdLS+kLEj l+6+vzwA84KGA1iGG6RRKQR39QiL9F1tkju1noX15w5p9XuVJ5onV55ZjgrtC2YVxSdX V4Ntmf/dCOCpZzUwcjF0L14IH0BnW93prjcZz6l9rfsGnPCyFqCWPjLCOfclvIf8PRpQ +i/CsQe4nPOtnOrcmP7b3Z4d9+ZdqoZLNw5NLR1mdZ6DlTcHxYLWonWx6H06miKmb6UP wpUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q14si23217030pgf.47.2019.01.03.16.24.07; Thu, 03 Jan 2019 16:24:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727558AbfACTtM (ORCPT + 99 others); Thu, 3 Jan 2019 14:49:12 -0500 Received: from smtp1.cloudbase.it ([46.107.15.2]:64928 "EHLO smtp1.cloudbase.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727032AbfACTtM (ORCPT ); Thu, 3 Jan 2019 14:49:12 -0500 X-Greylist: delayed 339 seconds by postgrey-1.27 at vger.kernel.org; Thu, 03 Jan 2019 14:49:11 EST Received: from avladu1.cloudbase.it (unknown [89.46.161.178]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp1.cloudbase.it (Postfix) with ESMTPSA id 47D1F50834; Thu, 3 Jan 2019 20:50:06 +0200 (EET) From: Adrian Vladu To: linux-kernel@vger.kernel.org Cc: Adrian Vladu , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Sasha Levin , "David S. Miller" , "Alessandro Pilotti" Subject: [PATCH] hv_netvsc: fix typos in code comments Date: Thu, 3 Jan 2019 19:43:08 +0000 Message-Id: <20190103194308.4217-1-avladu@cloudbasesolutions.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix all typos from hyperv netvsc code comments. Signed-off-by: Adrian Vladu Cc: "K. Y. Srinivasan" Cc: Haiyang Zhang Cc: Stephen Hemminger Cc: Sasha Levin Cc: "David S. Miller" Cc: "Alessandro Pilotti" --- drivers/net/hyperv/hyperv_net.h | 2 +- drivers/net/hyperv/netvsc.c | 2 +- drivers/net/hyperv/netvsc_drv.c | 6 +++--- drivers/net/hyperv/rndis_filter.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/hyperv/hyperv_net.h b/drivers/net/hyperv/hyperv_net.h index ef6f766f6389..eabed1dd9606 100644 --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -1177,7 +1177,7 @@ enum ndis_per_pkt_info_type { enum rndis_per_pkt_info_interal_type { RNDIS_PKTINFO_ID = 1, - /* Add more memebers here */ + /* Add more members here */ RNDIS_PKTINFO_MAX }; diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c index 922054c1d544..9a3ad94aa4dc 100644 --- a/drivers/net/hyperv/netvsc.c +++ b/drivers/net/hyperv/netvsc.c @@ -1331,7 +1331,7 @@ void netvsc_channel_cb(void *context) prefetch(hv_get_ring_buffer(rbi) + rbi->priv_read_index); if (napi_schedule_prep(&nvchan->napi)) { - /* disable interupts from host */ + /* disable interrupts from host */ hv_begin_read(rbi); __napi_schedule_irqoff(&nvchan->napi); diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c index 91ed15ea5883..d1a7ea76aa88 100644 --- a/drivers/net/hyperv/netvsc_drv.c +++ b/drivers/net/hyperv/netvsc_drv.c @@ -370,7 +370,7 @@ static u32 fill_pg_buf(struct page *page, u32 offset, u32 len, { int j = 0; - /* Deal with compund pages by ignoring unused part + /* Deal with compound pages by ignoring unused part * of the page. */ page += (offset >> PAGE_SHIFT); @@ -2088,7 +2088,7 @@ static int netvsc_register_vf(struct net_device *vf_netdev) if (!netvsc_dev || rtnl_dereference(net_device_ctx->vf_netdev)) return NOTIFY_DONE; - /* if syntihetic interface is a different namespace, + /* if synthetic interface is a different namespace, * then move the VF to that namespace; join will be * done again in that context. */ @@ -2236,7 +2236,7 @@ static int netvsc_probe(struct hv_device *dev, * netvsc_probe() can't get rtnl lock and as a result vmbus_onoffer() * -> ... -> device_add() -> ... -> __device_attach() can't get * the device lock, so all the subchannels can't be processed -- - * finally netvsc_subchan_work() hangs for ever. + * finally netvsc_subchan_work() hangs forever. */ rtnl_lock(); diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c index 8b537a049c1e..40fda5c441e0 100644 --- a/drivers/net/hyperv/rndis_filter.c +++ b/drivers/net/hyperv/rndis_filter.c @@ -1161,7 +1161,7 @@ int rndis_set_subchannel(struct net_device *ndev, struct netvsc_device *nvdev) wait_event(nvdev->subchan_open, atomic_read(&nvdev->open_chn) == nvdev->num_chn); - /* ignore failues from setting rss parameters, still have channels */ + /* ignore failures from setting rss parameters, still have channels */ rndis_filter_set_rss_param(rdev, netvsc_hash_key); netif_set_real_num_tx_queues(ndev, nvdev->num_chn); -- 2.17.1