diff options
author | peter <peter@FreeBSD.org> | 2002-03-19 23:20:21 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-03-19 23:20:21 +0000 |
commit | 1c2c64421fc4ae2dc0cdb273792f3ab1faac9bfb (patch) | |
tree | 6b5629f0dde4342500690c248f1960028d423d30 | |
parent | 84239ef763b47e20b2617edffca1d5144397849e (diff) | |
download | FreeBSD-src-1c2c64421fc4ae2dc0cdb273792f3ab1faac9bfb.zip FreeBSD-src-1c2c64421fc4ae2dc0cdb273792f3ab1faac9bfb.tar.gz |
Fix some gcc-3.1+ warnings:
warning: deprecated use of label at end of compound statement
umass.c:2626:46: multi-line string literals are deprecated
-rw-r--r-- | sys/dev/ppbus/ppb_msq.c | 1 | ||||
-rw-r--r-- | sys/dev/sym/sym_hipd.c | 2 | ||||
-rw-r--r-- | sys/dev/usb/umass.c | 5 |
3 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/ppbus/ppb_msq.c b/sys/dev/ppbus/ppb_msq.c index 9c83451..6ed7ccd 100644 --- a/sys/dev/ppbus/ppb_msq.c +++ b/sys/dev/ppbus/ppb_msq.c @@ -329,6 +329,7 @@ ppb_MS_microseq(device_t bus, device_t dev, struct ppb_microseq *msq, int *ret) break; } next: + continue; } error: return (error); diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c index 749285a67..b394e93 100644 --- a/sys/dev/sym/sym_hipd.c +++ b/sys/dev/sym/sym_hipd.c @@ -6514,6 +6514,7 @@ out_clrack: OUTL_DSP (SCRIPTA_BA (np, clrack)); return; out_stuck: + return; } /* @@ -6978,6 +6979,7 @@ static void sym_alloc_lcb_tags (hcb_p np, u_char tn, u_char ln) return; fail: + return; } /* diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index f650879b..2ac3fff 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -2272,6 +2272,7 @@ umass_cam_action(struct cam_sim *sim, union ccb *ccb) break; default: /* XXX Hm, we should check the input parameters */ + break; } /* Perform the requested action */ @@ -2623,8 +2624,8 @@ umass_cam_sense_cb(struct umass_softc *sc, void *priv, int residue, int status) | CAM_AUTOSNS_VALID; csio->scsi_status = SCSI_STATUS_CHECK_COND; - DPRINTF(UDMASS_SCSI,("%s: Doing a sneaky - TEST_UNIT_READY\n", + DPRINTF(UDMASS_SCSI,("%s: Doing a sneaky" + "TEST_UNIT_READY\n", USBDEVNAME(sc->sc_dev))); /* the rest of the command was filled in at attach */ |