Commit 5ef33f38 authored by Konrad Zapalowicz's avatar Konrad Zapalowicz Committed by Greg Kroah-Hartman

staging: dgnc: Fix that open brace { should be on the previous line

This commit fixes the following checkpath error in dgnc_neo.c file:
'that open brace { should be on the previous line'
Signed-off-by: default avatarKonrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1eba3dba
...@@ -1846,7 +1846,7 @@ static void neo_send_break(struct channel_t *ch, int msecs) ...@@ -1846,7 +1846,7 @@ static void neo_send_break(struct channel_t *ch, int msecs)
/* Tell the UART to start sending the break */ /* Tell the UART to start sending the break */
if (!(ch->ch_flags & CH_BREAK_SENDING)) { if (!(ch->ch_flags & CH_BREAK_SENDING)) {
uchar temp = readb(&ch->ch_neo_uart->lcr); uchar temp = readb(&ch->ch_neo_uart->lcr);
writeb((temp | UART_LCR_SBC), &ch->ch_neo_uart->lcr); writeb((temp | UART_LCR_SBC), &ch->ch_neo_uart->lcr);
neo_pci_posting_flush(ch->ch_bd); neo_pci_posting_flush(ch->ch_bd);
ch->ch_flags |= (CH_BREAK_SENDING); ch->ch_flags |= (CH_BREAK_SENDING);
...@@ -1935,8 +1935,8 @@ static void neo_vpd(struct dgnc_board *brd) ...@@ -1935,8 +1935,8 @@ static void neo_vpd(struct dgnc_board *brd)
if (((brd->vpd[0x08] != 0x82) /* long resource name tag */ if (((brd->vpd[0x08] != 0x82) /* long resource name tag */
&& (brd->vpd[0x10] != 0x82)) /* long resource name tag (PCI-66 files)*/ && (brd->vpd[0x10] != 0x82)) /* long resource name tag (PCI-66 files)*/
|| (brd->vpd[0x7F] != 0x78)) /* small resource end tag */ || (brd->vpd[0x7F] != 0x78)) { /* small resource end tag */
{
memset(brd->vpd, '\0', NEO_VPD_IMAGESIZE); memset(brd->vpd, '\0', NEO_VPD_IMAGESIZE);
} else { } else {
/* Search for the serial number */ /* Search for the serial number */
......
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