qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 9d989c: target-mips: fix call to memset in so


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 9d989c: target-mips: fix call to memset in soft reset code
Date: Fri, 13 May 2016 05:30:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9d989c732b153fe1576adbddb9879313a24d3cd2
      
https://github.com/qemu/qemu/commit/9d989c732b153fe1576adbddb9879313a24d3cd2
  Author: Aurelien Jarno <address@hidden>
  Date:   2016-05-12 (Thu, 12 May 2016)

  Changed paths:
    M target-mips/helper.c

  Log Message:
  -----------
  target-mips: fix call to memset in soft reset code

Recent versions of GCC report the following error when compiling
target-mips/helper.c:

  qemu/target-mips/helper.c:542:9: warning: ‘memset’ used with length
  equal to number of elements without multiplication by element size
  [-Wmemset-elt-size]

This is indeed correct and due to a wrong usage of sizeof(). Fix that.

Cc: Stefan Weil <address@hidden>
Cc: Leon Alrae <address@hidden>
Cc: address@hidden
LP: https://bugs.launchpad.net/qemu/+bug/1577841
Signed-off-by: Aurelien Jarno <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Reviewed-by: Leon Alrae <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>


  Commit: 7fe91a5b33fe100bbc68ee434f947752c69b3f68
      
https://github.com/qemu/qemu/commit/7fe91a5b33fe100bbc68ee434f947752c69b3f68
  Author: xiaoqiang.zhao <address@hidden>
  Date:   2016-05-13 (Fri, 13 May 2016)

  Changed paths:
    M hw/display/jazz_led.c

  Log Message:
  -----------
  hw/display: QOM'ify jazz_led.c

* Drop the old SysBus init function and use instance_init
* Move graphic_console_init into realize stage

Signed-off-by: xiaoqiang zhao <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Leon Alrae <address@hidden>


  Commit: 14fccfa91ecac7af36ac03dc1c2bb9a1d7fbca26
      
https://github.com/qemu/qemu/commit/14fccfa91ecac7af36ac03dc1c2bb9a1d7fbca26
  Author: Peter Maydell <address@hidden>
  Date:   2016-05-13 (Fri, 13 May 2016)

  Changed paths:
    M hw/display/jazz_led.c
    M target-mips/helper.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/lalrae/tags/mips-20160513' into staging

MIPS patches 2016-05-13

Changes:
* fix zeroing CP0.WatchLo registers in soft reset
* QOMify Jazz led

# gpg: Signature made Fri 13 May 2016 11:04:04 BST using RSA key ID 0B29DA6B
# gpg: Good signature from "Leon Alrae <address@hidden>"

* remotes/lalrae/tags/mips-20160513:
  hw/display: QOM'ify jazz_led.c
  target-mips: fix call to memset in soft reset code

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/20c20318f9fb...14fccfa91eca

reply via email to

[Prev in Thread] Current Thread [Next in Thread]