From: Greg Kroah-Hartman Date: Thu, 26 Feb 2009 22:03:54 +0000 (-0800) Subject: Staging: slicoss: add proper KERN_DEBUG to 2 printks X-Git-Tag: firefly_0821_release~14777^2~696 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e9ef456ebc5b3e5a4794b57ad0403f1d9389ed53;p=firefly-linux-kernel-4.4.55.git Staging: slicoss: add proper KERN_DEBUG to 2 printks Added bonus is this fixes a compiler warning on 4.3.3 Cc: Lior Dotan Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index cabe5e61af8e..e2a254aa6d08 100644 --- a/drivers/staging/slicoss/slicoss.c +++ b/drivers/staging/slicoss/slicoss.c @@ -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);