From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751343AbdAaErC (ORCPT ); Mon, 30 Jan 2017 23:47:02 -0500 Received: from mail-sn1nam02on0045.outbound.protection.outlook.com ([104.47.36.45]:9365 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751242AbdAaEqx (ORCPT ); Mon, 30 Jan 2017 23:46:53 -0500 From: "Kershner, David A" To: Masanari Iida , "linux-kernel@vger.kernel.org" , "gregkh@linuxfoundation.org" , "devel@driverdev.osuosl.org" Subject: RE: [PATCH] [linux-next]staging: unisys: visornic: Fix typo in visornic_main.c Thread-Topic: [PATCH] [linux-next]staging: unisys: visornic: Fix typo in visornic_main.c Thread-Index: AQHSeqmDZa69EXV/ZU2mSJD+qHMKCaFSBFnw Date: Tue, 31 Jan 2017 04:46:47 +0000 Message-ID: References: <20170130033231.24571-1-standby24x7@gmail.com> In-Reply-To: <20170130033231.24571-1-standby24x7@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=David.Kershner@unisys.com; x-originating-ip: [75.100.59.232] x-ms-office365-filtering-correlation-id: 3355ff9e-4ecd-46a7-70a7-08d449942acc x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN1PR07MB230; x-microsoft-exchange-diagnostics: 1;BN1PR07MB230;7:/jk2C9v8rkP6w5ivkrJpJ9ulh+PAl5IVcgCfCKAR6go/rRbcdmu38H5lbj/D2sowy58/xrAYjlJHnhn4O9fI8Mjov61ocIC/oUNLswBILAFFYlmg7hzKQjGpJK9h/KbWq+kBtJdyoPAmrk3JiSSii7+aE31dZyIb8alFxAbd3nr+bddNmhaoLBFuyKjW+1obgT6VaHX69ryC6apozzA9MCeHJMPQPo4hQhp/d6RphG7p/12PKwfVbnhoytlAMm5Q2MTIDLhLR2oXZulJtRFcfonjwGmlp1W/SWYjMjocjfUG7TO5EblFBPyEU3Aee1pt8xPqXDibN5pDI9IjPDV5hR8U9fcfRNmCfLqK91+FKyotep50aDCEfUzSo2yXY1hCHlKmMk2ykiIlkOuLALVLnOw0D0VprWwTazd3/l61Gbq7UU+MddfLiDxCj2FczAL9xBdMQiejfVXDtiXhsO8iEg== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(174360191007938); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123564025)(20161123555025)(20161123560025)(20161123562025)(6072148);SRVR:BN1PR07MB230;BCL:0;PCL:0;RULEID:;SRVR:BN1PR07MB230; x-forefront-prvs: 0204F0BDE2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(39860400002)(39450400003)(39850400002)(39410400002)(39840400002)(199003)(13464003)(377454003)(189002)(9686003)(189998001)(97736004)(5001770100001)(99286003)(7696004)(5660300001)(81166006)(107886002)(8936002)(8676002)(81156014)(2950100002)(2501003)(55016002)(38730400001)(39060400001)(3846002)(2906002)(86362001)(2201001)(6436002)(105586002)(102836003)(33656002)(6116002)(6506006)(229853002)(106356001)(122556002)(106116001)(53936002)(3280700002)(50986999)(2900100001)(305945005)(54356999)(74316002)(101416001)(7736002)(92566002)(66066001)(76176999)(3660700001)(68736007)(25786008);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1PR07MB230;H:BN1PR07MB231.namprd07.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: unisys.com X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2017 04:46:48.0871 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8d894c2b-238f-490b-8dd1-d93898c5bf83 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR07MB230 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id v0V4lAs2020209 > -----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 ; devel@driverdev.osuosl.org > Cc: Masanari Iida > 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 > Signed-off-by: Masanari Iida > --- > 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