changeset 11121:e1870761a7c5

6900514 Need to support suspend/resume for CISCO Aironet AIR-PCM352 pcmcia wifi driver(pcan) (fix lint) 6901512 Need to support suspend/resume for Orinoco pcmcia wifi driver(pcwl) (fix lint)
author Qin Michael Li <Mikore.Li@Sun.COM>
date Thu, 19 Nov 2009 18:26:52 -0800
parents fe619717975a
children 393b5ac48d9b
files usr/src/uts/common/io/pcan/pcan.c usr/src/uts/common/io/pcwl/pcwl.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/common/io/pcan/pcan.c	Thu Nov 19 16:33:43 2009 -0800
+++ b/usr/src/uts/common/io/pcan/pcan.c	Thu Nov 19 18:26:52 2009 -0800
@@ -872,7 +872,7 @@
 	}
 
 	if (pcan_p->pcan_flag & PCAN_PLUMBED) {
-		pcan_start(pcan_p);
+		(void) pcan_start(pcan_p);
 		pcan_p->pcan_flag &= ~PCAN_PLUMBED;
 		PCANDBG((CE_NOTE, "pcan insert: active interrupt\n"));
 	}
--- a/usr/src/uts/common/io/pcwl/pcwl.c	Thu Nov 19 16:33:43 2009 -0800
+++ b/usr/src/uts/common/io/pcwl/pcwl.c	Thu Nov 19 18:26:52 2009 -0800
@@ -844,7 +844,7 @@
 
 	if (pcwl_p->pcwl_flag & PCWL_CARD_SUSPEND) {
 		mutex_enter(&pcwl_p->pcwl_glock);
-		pcwl_reset_backend(pcwl_p);
+		(void) pcwl_reset_backend(pcwl_p);
 		/* turn on CS interrupt */
 		cfgmod.Attributes = CONF_ENABLE_IRQ_STEERING |
 		    CONF_IRQ_CHANGE_VALID;
@@ -861,7 +861,7 @@
 		mutex_exit(&pcwl_p->pcwl_glock);
 	}
 	if (pcwl_p->pcwl_flag & PCWL_CARD_PLUMBED) {
-		pcwl_start(pcwl_p);
+		(void) pcwl_start(pcwl_p);
 		pcwl_p->pcwl_flag &= ~PCWL_CARD_PLUMBED;
 	}
 	return (CS_SUCCESS);