Эх сурвалжийг харах

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 жил өмнө
parent
commit
ea1e3f96c3

+ 1 - 1
drivers/fpga/ivm_core.c

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