浏览代码

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;