summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/peripherals/1660035
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/gemma3:12b/peripherals/1660035')
-rw-r--r--results/classifier/gemma3:12b/peripherals/166003512
1 files changed, 12 insertions, 0 deletions
diff --git a/results/classifier/gemma3:12b/peripherals/1660035 b/results/classifier/gemma3:12b/peripherals/1660035
new file mode 100644
index 000000000..818585640
--- /dev/null
+++ b/results/classifier/gemma3:12b/peripherals/1660035
@@ -0,0 +1,12 @@
+
+hw/timer/altera_timer.c:207: bad size in memset ?
+
+hw/timer/altera_timer.c:207:5: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
+
+Source code is
+
+     memset(t->regs, 0, ARRAY_SIZE(t->regs));
+
+Maybe better code
+
+     memset(t->regs, 0, R_MAX * sizeof( uint32_t));
\ No newline at end of file