Commit 34dac67d authored by Ravishankar karkala Mallikarjunayya's avatar Ravishankar karkala Mallikarjunayya Committed by Greg Kroah-Hartman

Staging: comedi: fix printk issue in ni_pcimio.c

This is a patch to the ni_pcimio.c file that fixes up a printk
warning found by the checkpatch.pl tool.
Signed-off-by: default avatarRavishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e8f31fd3
...@@ -1470,7 +1470,7 @@ static void m_series_stc_writew(struct comedi_device *dev, uint16_t data, ...@@ -1470,7 +1470,7 @@ static void m_series_stc_writew(struct comedi_device *dev, uint16_t data,
/* FIXME: DIO_Output_Register (16 bit reg) is replaced by M_Offset_Static_Digital_Output (32 bit) /* FIXME: DIO_Output_Register (16 bit reg) is replaced by M_Offset_Static_Digital_Output (32 bit)
and M_Offset_SCXI_Serial_Data_Out (8 bit) */ and M_Offset_SCXI_Serial_Data_Out (8 bit) */
default: default:
printk("%s: bug! unhandled register=0x%x in switch.\n", printk(KERN_WARNING "%s: bug! unhandled register=0x%x in switch.\n",
__func__, reg); __func__, reg);
BUG(); BUG();
return; return;
...@@ -1505,7 +1505,7 @@ static uint16_t m_series_stc_readw(struct comedi_device *dev, int reg) ...@@ -1505,7 +1505,7 @@ static uint16_t m_series_stc_readw(struct comedi_device *dev, int reg)
offset = M_Offset_G01_Status; offset = M_Offset_G01_Status;
break; break;
default: default:
printk("%s: bug! unhandled register=0x%x in switch.\n", printk(KERN_WARNING "%s: bug! unhandled register=0x%x in switch.\n",
__func__, reg); __func__, reg);
BUG(); BUG();
return 0; return 0;
...@@ -1547,7 +1547,7 @@ static void m_series_stc_writel(struct comedi_device *dev, uint32_t data, ...@@ -1547,7 +1547,7 @@ static void m_series_stc_writel(struct comedi_device *dev, uint32_t data,
offset = M_Offset_G1_Load_B; offset = M_Offset_G1_Load_B;
break; break;
default: default:
printk("%s: bug! unhandled register=0x%x in switch.\n", printk(KERN_WARNING "%s: bug! unhandled register=0x%x in switch.\n",
__func__, reg); __func__, reg);
BUG(); BUG();
return; return;
...@@ -1573,7 +1573,7 @@ static uint32_t m_series_stc_readl(struct comedi_device *dev, int reg) ...@@ -1573,7 +1573,7 @@ static uint32_t m_series_stc_readl(struct comedi_device *dev, int reg)
offset = M_Offset_G1_Save; offset = M_Offset_G1_Save;
break; break;
default: default:
printk("%s: bug! unhandled register=0x%x in switch.\n", printk(KERN_WARNING "%s: bug! unhandled register=0x%x in switch.\n",
__func__, reg); __func__, reg);
BUG(); BUG();
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment