diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-11-26 00:43:17 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-11-26 00:43:17 +0000 |
commit | 6745662f291e4a2ec843786b1a2278ae3c3ae675 (patch) | |
tree | 75f2e4cf4188e185060baa41ada36997b1b99d2d /sys/dev/usb/controller/usb_controller.c | |
parent | 62d1f26939126690c2bc23bbab214c4976da2647 (diff) | |
download | FreeBSD-src-6745662f291e4a2ec843786b1a2278ae3c3ae675.zip FreeBSD-src-6745662f291e4a2ec843786b1a2278ae3c3ae675.tar.gz |
Remove overuse of exclamation marks in kernel printfs, there mere fact a
message has been printed is enough to get someones attention. Also remove the
line number for DPRINTF/DPRINTFN, it already prints the funtion name and a
unique message.
Diffstat (limited to 'sys/dev/usb/controller/usb_controller.c')
-rw-r--r-- | sys/dev/usb/controller/usb_controller.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/controller/usb_controller.c b/sys/dev/usb/controller/usb_controller.c index fe59e06..eb961fc 100644 --- a/sys/dev/usb/controller/usb_controller.c +++ b/sys/dev/usb/controller/usb_controller.c @@ -130,7 +130,7 @@ usb_attach(device_t dev) DPRINTF("\n"); if (bus == NULL) { - DPRINTFN(0, "USB device has no ivars\n"); + device_printf(dev, "USB device has no ivars\n"); return (ENXIO); } @@ -343,7 +343,7 @@ usb_bus_attach(struct usb_proc_msg *pm) break; default: - device_printf(bus->bdev, "Unsupported USB revision!\n"); + device_printf(bus->bdev, "Unsupported USB revision\n"); return; } @@ -530,7 +530,7 @@ usb_bus_mem_alloc_all(struct usb_bus *bus, bus_dma_tag_t dmat, (bus->devices_max < USB_MIN_DEVICES) || (bus->devices == NULL)) { DPRINTFN(0, "Devices field has not been " - "initialised properly!\n"); + "initialised properly\n"); bus->alloc_failed = 1; /* failure */ } #if USB_HAVE_BUSDMA |