VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Vincent Chen <vincentc@andestech.com> 2018-11-22 11:14:38 +0800 committer: Greentime Hu <greentime@andestech.com> 2018-11-22 18:13:42 +0800 commit: 83312f1b7ae205dca647bf52bbe2d51303cdedfb parent: 7adb3e998f5bea3e1fd2f76c1cf80d76b8af6626
Commit Summary:
math-emu/soft-fp.h: (_FP_ROUND_ZERO) cast 0 to void to fix warning
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/include/math-emu/soft-fp.h b/include/math-emu/soft-fp.h
index 3f284bc03180..5650c1628383 100644
--- a/include/math-emu/soft-fp.h
+++ b/include/math-emu/soft-fp.h
@@ -138,7 +138,7 @@ do {							\
       _FP_FRAC_ADDI_##wc(X, _FP_WORK_ROUND);		\
 } while (0)
 
-#define _FP_ROUND_ZERO(wc, X)		0
+#define _FP_ROUND_ZERO(wc, X)		(void)0
 
 #define _FP_ROUND_PINF(wc, X)				\
 do {							\