kern/120341: twe pci parity error printf lacks terminating newline
CyberLeo
cyberleo at cyberleo.net
Thu Feb 7 10:40:01 UTC 2008
>Number: 120341
>Category: kern
>Synopsis: twe pci parity error printf lacks terminating newline
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 07 10:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: CyberLeo
>Release: RELENG_6_3
>Organization:
CyberLeo.Net
>Environment:
FreeBSD mtumishi.cyberleo.net 6.3-RELEASE FreeBSD 6.3-RELEASE #2: Sat Jan 19 02:11:12 PST 2008 cyberleo at mtumishi.cyberleo.net:/usr/obj/usr/src/sys/MTUMISHI i386
>Description:
twe(4) driver printf for TWE_STATUS_PCI_PARITY_ERROR message lacks terminating newline.
Confirmed in CURRENT and 6x/7x branches.
>How-To-Repeat:
Use a 3ware card, cause a PCI parity error, watch dmesg or console log.
>Fix:
Apply the included patch.
Patch attached with submission follows:
--- sys/dev/twe/twe.c-orig Thu Feb 7 03:35:02 2008
+++ sys/dev/twe/twe.c Thu Feb 7 03:35:22 2008
@@ -1696,7 +1696,7 @@
}
result = 1;
if (status_reg & TWE_STATUS_PCI_PARITY_ERROR) {
- twe_printf(sc, "PCI parity error: Reseat card, move card or buggy device present.");
+ twe_printf(sc, "PCI parity error: Reseat card, move card or buggy device present.\n");
twe_clear_pci_parity_error(sc);
}
if (status_reg & TWE_STATUS_PCI_ABORT) {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list