Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffe4f329 authored by Daeseok Youn's avatar Daeseok Youn Committed by Greg Kroah-Hartman
Browse files

staging: dgnc: fix 'line over 80 characters'



fix checkpatch.pl warning about 'line over 80 characters'.
I just moved all line comment to above if statement.

Signed-off-by: default avatarDaeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a1115c9f
Loading
Loading
Loading
Loading
+9 −3
Original line number Original line Diff line number Diff line
@@ -1785,9 +1785,15 @@ static void neo_vpd(struct dgnc_board *brd)
		brd->vpd[(i * 2) + 1] = (a >> 8) & 0xff;
		brd->vpd[(i * 2) + 1] = (a >> 8) & 0xff;
	}
	}


	if  (((brd->vpd[0x08] != 0x82)	   /* long resource name tag */
	/*
		&&  (brd->vpd[0x10] != 0x82))   /* long resource name tag (PCI-66 files)*/
	 * brd->vpd has different name tags by below index.
		||  (brd->vpd[0x7F] != 0x78)) { /* small resource end tag */
	 * 0x08 : long resource name tag
	 * 0x10 : long resource name tage (PCI-66 files)
	 * 0x7F : small resource end tag
	 */
	if  (((brd->vpd[0x08] != 0x82)
		&&  (brd->vpd[0x10] != 0x82))
		||  (brd->vpd[0x7F] != 0x78)) {


		memset(brd->vpd, '\0', NEO_VPD_IMAGESIZE);
		memset(brd->vpd, '\0', NEO_VPD_IMAGESIZE);
	} else {
	} else {