Преглед изворни кода

FPGA: drivers/fpga/ivm_core.c: incorrect printf

The number of arguments for printf does not match the
format string.

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
xypron.glpk@gmx.de пре 8 година
родитељ
комит
ea1e3f96c3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      drivers/fpga/ivm_core.c

+ 1 - 1
drivers/fpga/ivm_core.c

@@ -3142,7 +3142,7 @@ signed char ispVMProcessLVDS(unsigned short a_usLVDSCount)
 	}
 
 #ifdef DEBUG
-	printf(");\n", a_usLVDSCount);
+	printf(");\n");
 #endif /* DEBUG */
 
 	return 0;