Staging: slicoss: add proper KERN_DEBUG to 2 printks
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Feb 2009 22:03:54 +0000 (14:03 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:07 +0000 (14:53 -0700)
Added bonus is this fixes a compiler warning on 4.3.3

Cc: Lior Dotan <liodot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/slicoss/slicoss.c

index cabe5e61af8efe1da0bb3dde3e0a77912479c288..e2a254aa6d0807b5b068e6920e214cc663656ff5 100644 (file)
@@ -170,7 +170,7 @@ static void slic_mcast_set_list(struct net_device *dev);
 
 static uint slic_first_init = 1;
 static char *slic_banner = "Alacritech SLIC Technology(tm) Server "\
-               "and Storage Accelerator (Non-Accelerated)\n";
+               "and Storage Accelerator (Non-Accelerated)";
 
 static char *slic_proc_version = "2.0.351  2006/07/14 12:26:00";
 static char *slic_product_name = "SLIC Technology(tm) Server "\
@@ -393,8 +393,8 @@ static int __devinit slic_entry_probe(struct pci_dev *pcidev,
                return err;
 
        if (slic_debug > 0 && did_version++ == 0) {
-               printk(slic_banner);
-               printk(slic_proc_version);
+               printk(KERN_DEBUG "%s\n", slic_banner);
+               printk(KERN_DEBUG "%s\n", slic_proc_version);
        }
 
        err = pci_set_dma_mask(pcidev, DMA_64BIT_MASK);