[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1660035] Re: hw/timer/altera_timer.c:207: bad size in
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [Bug 1660035] Re: hw/timer/altera_timer.c:207: bad size in memset ? |
Date: |
Tue, 03 Oct 2017 09:54:52 -0000 |
This problem should have been fixed with QEMU v2.10.0:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=cc16ee9d4ecec35ea04e
** Changed in: qemu
Status: New => Fix Released
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1660035
Title:
hw/timer/altera_timer.c:207: bad size in memset ?
Status in QEMU:
Fix Released
Bug description:
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));
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1660035/+subscriptions
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [Bug 1660035] Re: hw/timer/altera_timer.c:207: bad size in memset ?,
Thomas Huth <=