NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/48752: Missing newline in twa kernel message



>Number:         48752
>Category:       kern
>Synopsis:       Missing newline in twa kernel message
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 17 16:05:01 +0000 2014
>Originator:     Rich Neswold
>Release:        NetBSD 6.1.3_PATCH
>Organization:
        Fermi National Accelerator Laboratory
>Environment:
System: NetBSD 6.1.3_PATCH NetBSD 6.1.3_PATCH (FIRUSDEV) #6: Thu Apr 3 14:10:07 
CDT 2014 
neswold@#####:/usr/local/build/amd64/obj/usr/src/sys/arch/amd64/compile/FIRUSDEV
 amd64
Architecture: x86_64
Machine: amd64
>Description:
        A missing newline in the twa driver causes two kernel messages to
        display on one line.
>How-To-Repeat:
        Boot a system that uses the twa driver.
>Fix:

Index: sys/dev/pci/twa.c
==================================================================
--- sys/dev/pci/twa.c
+++ sys/dev/pci/twa.c
@@ -1559,11 +1559,11 @@
                    PCI_PRODUCT(pa->pa_id));
                return;
        }
 
        if (pci_dma64_available(pa) && use_64bit) {
-               aprint_verbose_dev(self, "64bit DMA addressing active");
+               aprint_verbose_dev(self, "64bit DMA addressing active\n");
                sc->twa_dma_tag = pa->pa_dmat64;
        } else {
                sc->twa_dma_tag = pa->pa_dmat;
        }



Home | Main Index | Thread Index | Old Index