Staging: wlags49_h2: fix TAB and space coding style issue dhf.c
This is a patch to the dhf.c file that fixed up a TAB and spaces Errors found by the checkpatch.pl tools Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ccc75a583d
commit
068b561c3c
@@ -120,7 +120,7 @@ char signature[14] = "FUPU7D37dhfwci";
|
||||
#if defined(_MSC_VER) && _MSC_VER == 800 /* Visual C++ 1.5 */
|
||||
#define PSEUDO_CHARP hcf_32
|
||||
#else
|
||||
#define PSEUDO_CHARP hcf_8*
|
||||
#define PSEUDO_CHARP (hcf_8 *)
|
||||
#endif
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
@@ -278,7 +278,7 @@ CFG_PROG_STRCT *p;
|
||||
int i;
|
||||
|
||||
/* validate the image */
|
||||
for ( i = 0; i < sizeof(signature) && fw->signature[i] == signature[i]; i++ ) /* NOP */;
|
||||
for (i = 0; i < sizeof(signature) && fw->signature[i] == signature[i]; i++); /* NOP */
|
||||
if (i != sizeof(signature) ||
|
||||
fw->signature[i] != 0x01 ||
|
||||
/* test for Little/Big Endian Binary flag */
|
||||
|
Reference in New Issue
Block a user