From 0d87e7d007200a0b50c933359094fa3331e75099 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 19 Mar 2002 23:20:21 +0000 Subject: 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 --- sys/dev/ppbus/ppb_msq.c | 1 + sys/dev/sym/sym_hipd.c | 2 ++ sys/dev/usb/umass.c | 5 +++-- 3 files changed, 6 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/ppbus/ppb_msq.c b/sys/dev/ppbus/ppb_msq.c index 9c834510cac4..6ed7ccd7ce0f 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 749285a67bc6..b394e933b451 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 f650879baca8..2ac3fff0dead 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 */ -- cgit v1.3