linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Kershner, David A" <David.Kershner@unisys.com>
To: Masanari Iida <standby24x7@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>
Subject: RE: [PATCH] [linux-next]staging: unisys: visornic: Fix typo in visornic_main.c
Date: Tue, 31 Jan 2017 04:46:47 +0000	[thread overview]
Message-ID: <BN1PR07MB2310DB32C9D9116CE0FD928F04A0@BN1PR07MB231.namprd07.prod.outlook.com> (raw)
In-Reply-To: <20170130033231.24571-1-standby24x7@gmail.com>

> -----Original Message-----
> From: Masanari Iida [mailto:standby24x7@gmail.com]
> Sent: Sunday, January 29, 2017 9:33 PM
> To: linux-kernel@vger.kernel.org; gregkh@linuxfoundation.org; Kershner,
> David A <David.Kershner@unisys.com>; devel@driverdev.osuosl.org
> Cc: Masanari Iida <standby24x7@gmail.com>
> Subject: [PATCH] [linux-next]staging: unisys: visornic: Fix typo in
> visornic_main.c
> 
> This patch fix some spelling typos found in visornic_main.c
> 

Acked-by: David Kershner <david.kershner@unisys.com> 

> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
>  drivers/staging/unisys/visornic/visornic_main.c | 22 +++++++++++-----------
>  1 file changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/drivers/staging/unisys/visornic/visornic_main.c
> b/drivers/staging/unisys/visornic/visornic_main.c
> index 0a8f36125f5b..c44c430b966f 100644
> --- a/drivers/staging/unisys/visornic/visornic_main.c
> +++ b/drivers/staging/unisys/visornic/visornic_main.c
> @@ -423,7 +423,7 @@ send_enbdis(struct net_device *netdev, int state,
> 
>  /**
>   *	visornic_disable_with_timeout - Disable network adapter
> - *	@netdev: netdevice to disale
> + *	@netdev: netdevice to disable
>   *	@timeout: timeout to wait for disable
>   *
>   *	Disable the network adapter and inform the IO Partition that we
> @@ -532,7 +532,7 @@ init_rcv_bufs(struct net_device *netdev, struct
> visornic_devdata *devdata)
>  		return -ENOMEM;
>  	count = i;
> 
> -	/* Ensure we can alloc 2/3rd of the requeested number of buffers.
> +	/* Ensure we can alloc 2/3rd of the requested number of buffers.
>  	 * 2/3 is an arbitrary choice; used also in ndis init.c
>  	 */
>  	if (count < ((2 * devdata->num_rcv_bufs) / 3)) {
> @@ -561,7 +561,7 @@ init_rcv_bufs(struct net_device *netdev, struct
> visornic_devdata *devdata)
>   *
>   *	Sends enable to IOVM, inits, and posts receive buffers to IOVM
>   *	timeout is defined in msecs (timeout of 0 specifies infinite wait)
> - *	Return 0 for success, negavite for failure.
> + *	Return 0 for success, negative for failure.
>   */
>  static int
>  visornic_enable_with_timeout(struct net_device *netdev, const int
> timeout)
> @@ -750,7 +750,7 @@ static inline bool vnic_hit_low_watermark(struct
> visornic_devdata *devdata,
>   *	@skb: Packet to be sent
>   *	@netdev: net device the packet is being sent from
>   *
> - *	Convert the skb to a cmdrsp so the IO Partition can undersand it.
> + *	Convert the skb to a cmdrsp so the IO Partition can understand it.
>   *	Send the XMIT command to the IO Partition for processing. This
>   *	function is protected from concurrent calls by a spinlock xmit_lock
>   *	in the net_device struct, but as soon as the function returns it
> @@ -1097,7 +1097,7 @@ repost_return(struct uiscmdrsp *cmdrsp, struct
> visornic_devdata *devdata,
>   *
>   *	Got a receive packet back from the IO Part, handle it and send
>   *	it up the stack.
> - *	Returns 1 iff an skb was receieved, otherwise 0
> + *	Returns 1 iff an skb was received, otherwise 0
>   */
>  static int
>  visornic_rx(struct uiscmdrsp *cmdrsp)
> @@ -1227,7 +1227,7 @@ visornic_rx(struct uiscmdrsp *cmdrsp)
>  		}
>  	}
> 
> -	/* set up packet's protocl type using ethernet header - this
> +	/* set up packet's protocol type using ethernet header - this
>  	 * sets up skb->pkt_type & it also PULLS out the eth header
>  	 */
>  	skb->protocol = eth_type_trans(skb, netdev);
> @@ -1549,7 +1549,7 @@ drain_resp_queue(struct uiscmdrsp *cmdrsp,
> struct visornic_devdata *devdata)
>   *	@cmdrsp: io channel command response message
>   *	@devdata: visornic device to drain
>   *
> - *	Drain the respones queue of any responses from the IO partition.
> + *	Drain the response queue of any responses from the IO partition.
>   *	Process the responses as we get them.
>   *	Returns when response queue is empty or when the thread stops.
>   */
> @@ -1665,7 +1665,7 @@ static int visornic_poll(struct napi_struct *napi, int
> budget)
>   *	poll_for_irq	- Checks the status of the response queue.
>   *	@v: void pointer to the visronic devdata
>   *
> - *	Main function of the vnic_incoming thread. Peridocially check the
> + *	Main function of the vnic_incoming thread. Periodically check the
>   *	response queue and drain it if needed.
>   *	Returns when thread has stopped.
>   */
> @@ -1711,7 +1711,7 @@ static int visornic_probe(struct visor_device *dev)
>  	netdev->watchdog_timeo = 5 * HZ;
>  	SET_NETDEV_DEV(netdev, &dev->device);
> 
> -	/* Get MAC adddress from channel and read it into the device. */
> +	/* Get MAC address from channel and read it into the device. */
>  	netdev->addr_len = ETH_ALEN;
>  	channel_offset = offsetof(struct spar_io_channel_protocol,
>  				  vnic.macaddr);
> @@ -1835,7 +1835,7 @@ static int visornic_probe(struct visor_device *dev)
>  	/* Let's start our threads to get responses */
>  	netif_napi_add(netdev, &devdata->napi, visornic_poll,
> NAPI_WEIGHT);
> 
> -	/* Note: Interupts have to be enable before the while
> +	/* Note: Interrupts have to be enable before the while
>  	 * loop below because the napi routine is responsible for
>  	 * setting enab_dis_acked
>  	 */
> @@ -1848,7 +1848,7 @@ static int visornic_probe(struct visor_device *dev)
>  		goto cleanup_napi_add;
>  	}
> 
> -	/* create debgug/sysfs directories */
> +	/* create debug/sysfs directories */
>  	devdata->eth_debugfs_dir = debugfs_create_dir(netdev->name,
>  						      visornic_debugfs_dir);
>  	if (!devdata->eth_debugfs_dir) {
> --
> 2.11.0.485.g4e59582ff70d

      reply	other threads:[~2017-01-31  4:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-30  3:32 [PATCH] [linux-next]staging: unisys: visornic: Fix typo in visornic_main.c Masanari Iida
2017-01-31  4:46 ` Kershner, David A [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BN1PR07MB2310DB32C9D9116CE0FD928F04A0@BN1PR07MB231.namprd07.prod.outlook.com \
    --to=david.kershner@unisys.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=standby24x7@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).