We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad7d808 commit e8fe241Copy full SHA for e8fe241
dts/common/freq.h
@@ -8,6 +8,6 @@
8
#define __DT_FREQ_H
9
10
#define DT_FREQ_K(x) ((x) * 1000)
11
-#define DT_FREQ_M(x) ((x) * 1000 * 1000)
+#define DT_FREQ_M(x) (DT_FREQ_K(x) * 1000)
12
13
#endif /* __DT_FREQ_H */
dts/common/mem.h
@@ -8,7 +8,7 @@
#define __DT_MEM_H
#define DT_SIZE_K(x) ((x) * 1024)
-#define DT_SIZE_M(x) ((x) * 1024 * 1024)
+#define DT_SIZE_M(x) (DT_SIZE_K(x) * 1024)
/* concatenate the values of the arguments into one */
14
#define _DT_DO_CONCAT(x, y) x ## y
0 commit comments