Skip to contentSkip to conversation

Fix typo in staging

PATCH New Masanari Iida 1 participant 3 messages Feb 20, 2012 Staging

lore
Share & tools
lore
#0 lore raw

cover Fix typo in staging

Fix 2 typo "scaning" and "erorr" in files within staging tree.

Masanari Iida (2):
[trivial] staging: Fix typo in unioxx5.c
[trivial] staging: Fix typo in bssdb.c

 drivers/staging/comedi/drivers/unioxx5.c |    2 +-
 drivers/staging/vt6655/bssdb.c           |    4 ++--
 drivers/staging/vt6656/bssdb.c           |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
1.7.6.5
#1 lore raw

PATCH 1/2 staging: Fix typo in unioxx5.c

Correct spelling "erorr" to "error" in
drivers/stating/comedi/drivers/unioxx5.c

---
 drivers/staging/comedi/drivers/unioxx5.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/comedi/drivers/unioxx5.c +1 -1
index 89e62aa..f45824f 100644
@@ -306,7 +306,7 @@ static int __unioxx5_subdev_init(struct comedi_subdevice *subdev,
 	usp = kzalloc(sizeof(*usp), GFP_KERNEL);
 
 	if (usp == NULL) {
-		printk(KERN_ERR "comedi%d: erorr! --> out of memory!\n", minor);
+		printk(KERN_ERR "comedi%d: error! --> out of memory!\n", minor);
 		return -1;
 	}
 
Signature · 1 line
1.7.6.5
#2 lore raw

PATCH 2/2 staging: Fix typo in bssdb.c

In reply to Masanari Iida

Correct spelling "scaning" to "scanning" in
drivers/staging/vt6656/bssdb.c
drivers/staging/vt6655/bssdb.c

---
 drivers/staging/vt6655/bssdb.c |    4 ++--
 drivers/staging/vt6656/bssdb.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/staging/vt6655/bssdb.c +2 -2
index 577599e..1368e8c 100644
@@ -1327,13 +1327,13 @@ start:
     }
 
     if (pMgmt->eCurrMode == WMAC_MODE_IBSS_STA) {
-        // if adhoc started which essid is NULL string, rescaning.
+        // if adhoc started which essid is NULL string, rescanning.
         if ((pMgmt->eCurrState == WMAC_STATE_STARTED) && (pCurrSSID->len == 0)) {
             if (pDevice->uAutoReConnectTime < 10) {
                 pDevice->uAutoReConnectTime++;
             }
             else {
-                DBG_PRT(MSG_LEVEL_NOTICE, KERN_INFO "Adhoc re-scaning ...\n");
+                DBG_PRT(MSG_LEVEL_NOTICE, KERN_INFO "Adhoc re-scanning ...\n");
 	      pMgmt->eScanType = WMAC_SCAN_ACTIVE;
                 bScheduleCommand((void *) pDevice, WLAN_CMD_BSSID_SCAN, NULL);
                 bScheduleCommand((void *) pDevice, WLAN_CMD_SSID, NULL);
drivers/staging/vt6656/bssdb.c +2 -2
index 32c67ed..619c257 100644
@@ -1195,13 +1195,13 @@ else {
     }
 
     if (pMgmt->eCurrMode == WMAC_MODE_IBSS_STA) {
-        // if adhoc started which essid is NULL string, rescaning.
+        // if adhoc started which essid is NULL string, rescanning.
         if ((pMgmt->eCurrState == WMAC_STATE_STARTED) && (pCurrSSID->len == 0)) {
             if (pDevice->uAutoReConnectTime < 10) {
                 pDevice->uAutoReConnectTime++;
             }
             else {
-                DBG_PRT(MSG_LEVEL_NOTICE, KERN_INFO "Adhoc re-scaning ...\n");
+                DBG_PRT(MSG_LEVEL_NOTICE, KERN_INFO "Adhoc re-scanning ...\n");
 	       pMgmt->eScanType = WMAC_SCAN_ACTIVE;
 		bScheduleCommand((void *) pDevice, WLAN_CMD_BSSID_SCAN, NULL);
 		bScheduleCommand((void *) pDevice, WLAN_CMD_SSID, NULL);
Signature · 1 line
1.7.6.5