linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hv_netvsc: fix typos in code comments
@ 2019-01-03 19:43 Adrian Vladu
  2019-01-03 19:49 ` Haiyang Zhang
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Vladu @ 2019-01-03 19:43 UTC (permalink / raw)
  To: linux-kernel
  Cc: Adrian Vladu, K. Y. Srinivasan, Haiyang Zhang, Stephen Hemminger,
	Sasha Levin, David S. Miller, Alessandro Pilotti

Fix all typos from hyperv netvsc code comments.

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>

Cc: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Cc: Sasha Levin <sashal@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: "Alessandro Pilotti" <apilotti@cloudbasesolutions.com>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [PATCH] hv_netvsc: fix typos in code comments
  2019-01-03 19:43 [PATCH] hv_netvsc: fix typos in code comments Adrian Vladu
@ 2019-01-03 19:49 ` Haiyang Zhang
  2019-01-09 21:18   ` Dexuan-Linux Cui
  0 siblings, 1 reply; 4+ messages in thread
From: Haiyang Zhang @ 2019-01-03 19:49 UTC (permalink / raw)
  To: Adrian Vladu, linux-kernel
  Cc: KY Srinivasan, Stephen Hemminger, Sasha Levin, David S. Miller, apilotti



> -----Original Message-----
> From: Adrian Vladu <avladu@cloudbasesolutions.com>
> Sent: Thursday, January 3, 2019 2:43 PM
> To: linux-kernel@vger.kernel.org
> Cc: Adrian Vladu <avladu@cloudbasesolutions.com>; KY Srinivasan
> <kys@microsoft.com>; Haiyang Zhang <haiyangz@microsoft.com>; Stephen
> Hemminger <sthemmin@microsoft.com>; Sasha Levin <sashal@kernel.org>;
> David S. Miller <davem@davemloft.net>; apilotti
> <apilotti@cloudbasesolutions.com>
> Subject: [PATCH] hv_netvsc: fix typos in code comments
> 
> Fix all typos from hyperv netvsc code comments.
> 
> Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
> 
> Cc: "K. Y. Srinivasan" <kys@microsoft.com>
> Cc: Haiyang Zhang <haiyangz@microsoft.com>
> Cc: Stephen Hemminger <sthemmin@microsoft.com>
> Cc: Sasha Levin <sashal@kernel.org>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: "Alessandro Pilotti" <apilotti@cloudbasesolutions.com>
> ---

Thanks.

Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] hv_netvsc: fix typos in code comments
  2019-01-03 19:49 ` Haiyang Zhang
@ 2019-01-09 21:18   ` Dexuan-Linux Cui
  2019-01-17 20:26     ` Sasha Levin
  0 siblings, 1 reply; 4+ messages in thread
From: Dexuan-Linux Cui @ 2019-01-09 21:18 UTC (permalink / raw)
  To: Haiyang Zhang
  Cc: Adrian Vladu, linux-kernel, KY Srinivasan, Stephen Hemminger,
	Sasha Levin, David S. Miller, apilotti

On Thu, Jan 3, 2019 at 4:13 PM Haiyang Zhang <haiyangz@microsoft.com> wrote:
> > From: Adrian Vladu <avladu@cloudbasesolutions.com>
> > Sent: Thursday, January 3, 2019 2:43 PM
> > To: linux-kernel@vger.kernel.org
> > Cc: Adrian Vladu <avladu@cloudbasesolutions.com>; KY Srinivasan
> > <kys@microsoft.com>; Haiyang Zhang <haiyangz@microsoft.com>; Stephen
> > Hemminger <sthemmin@microsoft.com>; Sasha Levin <sashal@kernel.org>;
> > David S. Miller <davem@davemloft.net>; apilotti
> > <apilotti@cloudbasesolutions.com>
> > Subject: [PATCH] hv_netvsc: fix typos in code comments
> >
> > Fix all typos from hyperv netvsc code comments.
> >
> > Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
> >
> > Cc: "K. Y. Srinivasan" <kys@microsoft.com>
> > Cc: Haiyang Zhang <haiyangz@microsoft.com>
> > Cc: Stephen Hemminger <sthemmin@microsoft.com>
> > Cc: Sasha Levin <sashal@kernel.org>
> > Cc: "David S. Miller" <davem@davemloft.net>
> > Cc: "Alessandro Pilotti" <apilotti@cloudbasesolutions.com>
> > ---
>
> Thanks.
>
> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>

Looks good to me.

Thanks,
-- Dexuan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] hv_netvsc: fix typos in code comments
  2019-01-09 21:18   ` Dexuan-Linux Cui
@ 2019-01-17 20:26     ` Sasha Levin
  0 siblings, 0 replies; 4+ messages in thread
From: Sasha Levin @ 2019-01-17 20:26 UTC (permalink / raw)
  To: Dexuan-Linux Cui
  Cc: Haiyang Zhang, Adrian Vladu, linux-kernel, KY Srinivasan,
	Stephen Hemminger, David S. Miller, apilotti

On Wed, Jan 09, 2019 at 01:18:18PM -0800, Dexuan-Linux Cui wrote:
>On Thu, Jan 3, 2019 at 4:13 PM Haiyang Zhang <haiyangz@microsoft.com> wrote:
>> > From: Adrian Vladu <avladu@cloudbasesolutions.com>
>> > Sent: Thursday, January 3, 2019 2:43 PM
>> > To: linux-kernel@vger.kernel.org
>> > Cc: Adrian Vladu <avladu@cloudbasesolutions.com>; KY Srinivasan
>> > <kys@microsoft.com>; Haiyang Zhang <haiyangz@microsoft.com>; Stephen
>> > Hemminger <sthemmin@microsoft.com>; Sasha Levin <sashal@kernel.org>;
>> > David S. Miller <davem@davemloft.net>; apilotti
>> > <apilotti@cloudbasesolutions.com>
>> > Subject: [PATCH] hv_netvsc: fix typos in code comments
>> >
>> > Fix all typos from hyperv netvsc code comments.
>> >
>> > Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
>> >
>> > Cc: "K. Y. Srinivasan" <kys@microsoft.com>
>> > Cc: Haiyang Zhang <haiyangz@microsoft.com>
>> > Cc: Stephen Hemminger <sthemmin@microsoft.com>
>> > Cc: Sasha Levin <sashal@kernel.org>
>> > Cc: "David S. Miller" <davem@davemloft.net>
>> > Cc: "Alessandro Pilotti" <apilotti@cloudbasesolutions.com>
>> > ---
>>
>> Thanks.
>>
>> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
>
>Looks good to me.

Queued for hyperv-fixes, thank you.

--
Thanks,
Sasha

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-17 20:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-03 19:43 [PATCH] hv_netvsc: fix typos in code comments Adrian Vladu
2019-01-03 19:49 ` Haiyang Zhang
2019-01-09 21:18   ` Dexuan-Linux Cui
2019-01-17 20:26     ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).