Skip to content

Commit

Permalink
Staging: slicoss: add proper KERN_DEBUG to 2 printks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
gregkh committed Apr 3, 2009
1 parent 3467db1 commit e9ef456
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/slicoss/slicoss.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "\
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit e9ef456

Please sign in to comment.