summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-27 20:09:21 +0000
committerdillon <dillon@FreeBSD.org>1999-01-27 20:09:21 +0000
commit0775a53cddb430a21259a269e0a7063ec0a1ee17 (patch)
treecb68685742f9729aa9c70ebcdc86355253673b77 /sys/cam
parent5c8fc4f2c43c35ac665320db4c7ab03e6193d120 (diff)
downloadFreeBSD-src-0775a53cddb430a21259a269e0a7063ec0a1ee17.zip
FreeBSD-src-0775a53cddb430a21259a269e0a7063ec0a1ee17.tar.gz
Fix warnings preparing for -Wall -Wcast-qual
Also disable one usb module in LINT due to fatal compilation errors, temporary.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/cam_xpt.c4
-rw-r--r--sys/cam/cam_xpt_sim.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index bd25e74..45ba08e 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cam_xpt.c,v 1.41 1999/01/20 19:08:45 mjacob Exp $
+ * $Id: cam_xpt.c,v 1.42 1999/01/20 23:00:31 mjacob Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@@ -4257,7 +4257,7 @@ xpt_release_simq_timeout(void *arg)
}
void
-xpt_done(union ccb *done_ccb)
+xpt_done(volatile union ccb *done_ccb)
{
int s;
diff --git a/sys/cam/cam_xpt_sim.h b/sys/cam/cam_xpt_sim.h
index e19a869..aa9e012 100644
--- a/sys/cam/cam_xpt_sim.h
+++ b/sys/cam/cam_xpt_sim.h
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: cam_xpt_sim.h,v 1.1 1998/09/15 06:33:23 gibbs Exp $
*/
#ifndef _CAM_CAM_XPT_SIM_H
@@ -43,7 +43,7 @@ u_int32_t xpt_freeze_simq(struct cam_sim *sim, u_int count);
void xpt_release_simq(struct cam_sim *sim, int run_queue);
u_int32_t xpt_freeze_devq(struct cam_path *path, u_int count);
void xpt_release_devq(struct cam_ed *dev, int run_queue);
-void xpt_done(union ccb *done_ccb);
+void xpt_done(volatile union ccb *done_ccb);
#endif /* KERNEL */
#endif /* _CAM_CAM_XPT_SIM_H */
OpenPOWER on IntegriCloud