qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 00/14] Trivial branch patches
@ 2019-08-21 11:19 Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 01/14] test: Use g_strndup instead of plain strndup Laurent Vivier
                   ` (14 more replies)
  0 siblings, 15 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Corey Minyard, Juan Quintela,
	qemu-trivial, Jason Wang, Michael S. Tsirkin, Michael Tokarev,
	Markus Armbruster, Laurent Vivier, qemu-ppc, Paolo Bonzini,
	David Gibson, Dr. David Alan Gilbert, Richard Henderson

The following changes since commit 17dc57990320edaad52ac9ea808be9719c91cea6:

  Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2019-08-20' into staging (2019-08-20 14:14:20 +0100)

are available in the Git repository at:

  git://github.com/vivier/qemu.git tags/trivial-branch-pull-request

for you to fetch changes up to 8a9224a250094222e9ff302b95e379c3e71d3c8a:

  hw/display: Compile various display devices as common object (2019-08-21 13:17:22 +0200)

----------------------------------------------------------------
Various trivial fixes

----------------------------------------------------------------

Carlo Marcelo Arenas Belón (2):
  configure: remove obsoleted $sparc_cpu variable
  configure: fix sdl detection using sdl2-config

Marc-André Lureau (1):
  misc: fix naming scheme of compatiblity arrays

Michal Privoznik (1):
  .gitignore: ignore some vhost-user* related files

Philippe Mathieu-Daudé (9):
  hw/net/e1000: Fix erroneous comment
  json: Move switch 'fall through' comment to correct place
  hw/dma/omap_dma: Move switch 'fall through' comment to correct place
  hw/ipmi: Rewrite a fall through comment
  target/ppc: Rewrite a fall through comment
  vl: Rewrite a fall through comment
  spapr_events: Rewrite a fall through comment
  hw/display/sm501: Remove unused include
  hw/display: Compile various display devices as common object

tony.nguyen@bt.com (1):
  test: Use g_strndup instead of plain strndup

 .gitignore                |  3 +++
 configure                 | 12 ++++--------
 docs/devel/migration.rst  |  2 +-
 hw/display/Makefile.objs  | 18 +++++++++---------
 hw/display/sm501.c        |  1 -
 hw/dma/omap_dma.c         |  2 +-
 hw/i386/pc_piix.c         |  2 +-
 hw/ipmi/ipmi_bmc_extern.c |  3 +--
 hw/net/e1000.c            |  2 +-
 hw/ppc/spapr_events.c     |  2 +-
 qobject/json-parser.c     |  2 +-
 target/ppc/mmu_helper.c   |  6 +++---
 tests/check-qjson.c       |  2 +-
 tests/migration/stress.c  |  8 ++++----
 vl.c                      |  2 +-
 15 files changed, 32 insertions(+), 35 deletions(-)

-- 
2.21.0



^ permalink raw reply	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 01/14] test: Use g_strndup instead of plain strndup
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 02/14] misc: fix naming scheme of compatiblity arrays Laurent Vivier
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Corey Minyard, Juan Quintela,
	qemu-trivial, Jason Wang, Michael S. Tsirkin, Michael Tokarev,
	Markus Armbruster, Laurent Vivier, tony.nguyen, qemu-ppc,
	Paolo Bonzini, David Gibson, Dr. David Alan Gilbert,
	Richard Henderson

From: "tony.nguyen@bt.com" <tony.nguyen@bt.com>

Due to memory management rules. See HACKING.

Signed-off-by: Tony Nguyen <tony.nguyen@bt.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>

Message-Id: <dce313b46d294ada8826d34609a3447e@tpw09926dag18e.domain1.systemhost.net>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 tests/check-qjson.c      | 2 +-
 tests/migration/stress.c | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/check-qjson.c b/tests/check-qjson.c
index fa2afccb0a24..07a773e6530b 100644
--- a/tests/check-qjson.c
+++ b/tests/check-qjson.c
@@ -767,7 +767,7 @@ static void utf8_string(void)
                     if (*end == ' ') {
                         end++;
                     }
-                    in = strndup(tail, end - tail);
+                    in = g_strndup(tail, end - tail);
                     str = from_json_str(in, j, NULL);
                     g_assert(!str);
                     g_free(in);
diff --git a/tests/migration/stress.c b/tests/migration/stress.c
index 49a03aab7b83..d9aa4afe928b 100644
--- a/tests/migration/stress.c
+++ b/tests/migration/stress.c
@@ -104,9 +104,9 @@ static int get_command_arg_str(const char *name,
     }
 
     if (end)
-        *val = strndup(start, end - start);
+        *val = g_strndup(start, end - start);
     else
-        *val = strdup(start);
+        *val = g_strdup(start);
     return 1;
 }
 
@@ -126,10 +126,10 @@ static int get_command_arg_ull(const char *name,
     if (errno || *end) {
         fprintf(stderr, "%s (%05d): ERROR: cannot parse %s value %s\n",
                 argv0, gettid(), name, valstr);
-        free(valstr);
+        g_free(valstr);
         return -1;
     }
-    free(valstr);
+    g_free(valstr);
     return 0;
 }
 
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 02/14] misc: fix naming scheme of compatiblity arrays
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 01/14] test: Use g_strndup instead of plain strndup Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 03/14] configure: remove obsoleted $sparc_cpu variable Laurent Vivier
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Corey Minyard, Juan Quintela,
	qemu-trivial, Jason Wang, Michael S. Tsirkin, Michael Tokarev,
	Markus Armbruster, Stefano Garzarella, Laurent Vivier, qemu-ppc,
	Marc-André Lureau, Paolo Bonzini, David Gibson,
	Dr. David Alan Gilbert, Richard Henderson

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Since merge 31ed41889e6e13699871040fe089a2884dca46cb ("Merge
remote-tracking branch
'remotes/elmarco/tags/machine-props-pull-request' into staging"), the
compat arrays are in lowercase.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20190708204909.10891-1-marcandre.lureau@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 docs/devel/migration.rst | 2 +-
 hw/i386/pc_piix.c        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/devel/migration.rst b/docs/devel/migration.rst
index 220059679ac9..f7668ae389c7 100644
--- a/docs/devel/migration.rst
+++ b/docs/devel/migration.rst
@@ -314,7 +314,7 @@ For example:
 
    a) Add a new property using ``DEFINE_PROP_BOOL`` - e.g. support-foo and
       default it to true.
-   b) Add an entry to the ``HW_COMPAT_`` for the previous version that sets
+   b) Add an entry to the ``hw_compat_`` for the previous version that sets
       the property to false.
    c) Add a static bool  support_foo function that tests the property.
    d) Add a subsection with a .needed set to the support_foo function
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 9e187f856a63..187d846af4b0 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -312,7 +312,7 @@ else {
  * pc_compat_*() functions that run on machine-init time and
  * change global QEMU state are deprecated. Please don't create
  * one, and implement any pc-*-2.4 (and newer) compat code in
- * HW_COMPAT_*, PC_COMPAT_*, or * pc_*_machine_options().
+ * hw_compat_*, pc_compat_*, or * pc_*_machine_options().
  */
 
 static void pc_compat_2_3_fn(MachineState *machine)
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 03/14] configure: remove obsoleted $sparc_cpu variable
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 01/14] test: Use g_strndup instead of plain strndup Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 02/14] misc: fix naming scheme of compatiblity arrays Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 04/14] configure: fix sdl detection using sdl2-config Laurent Vivier
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Corey Minyard, Juan Quintela,
	qemu-trivial, Richard Henderson, Jason Wang, Michael S. Tsirkin,
	Michael Tokarev, Markus Armbruster, Laurent Vivier, qemu-ppc,
	Paolo Bonzini, David Gibson, Philippe Mathieu-Daudé,
	Carlo Marcelo Arenas Belón, Dr. David Alan Gilbert,
	Richard Henderson

From: Carlo Marcelo Arenas Belón <carenas@gmail.com>

9b9c37c364 ("tcg-sparc: Assume v9 cpu always, i.e. force v8plus in
32-bit mode.", 2012-09-21) removed the need for this variable and
most of the references to it, but this one.

Remove defunct code, no effect or functionality change expected.

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190709234330.89699-1-carenas@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 configure | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/configure b/configure
index 714e7fb6a1fb..4e7b79c826a2 100755
--- a/configure
+++ b/configure
@@ -6384,9 +6384,6 @@ if test "$vnc" = "yes" ; then
     echo "VNC JPEG support  $vnc_jpeg"
     echo "VNC PNG support   $vnc_png"
 fi
-if test -n "$sparc_cpu"; then
-    echo "Target Sparc Arch $sparc_cpu"
-fi
 echo "xen support       $xen"
 if test "$xen" = "yes" ; then
   echo "xen ctrl version  $xen_ctrl_version"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 04/14] configure: fix sdl detection using sdl2-config
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
                   ` (2 preceding siblings ...)
  2019-08-21 11:19 ` [Qemu-devel] [PULL 03/14] configure: remove obsoleted $sparc_cpu variable Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 05/14] .gitignore: ignore some vhost-user* related files Laurent Vivier
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Thomas Huth, Eduardo Habkost, Corey Minyard,
	Juan Quintela, qemu-trivial, Jason Wang, Michael S. Tsirkin,
	Michael Tokarev, Markus Armbruster, Laurent Vivier, qemu-ppc,
	Paolo Bonzini, David Gibson, Carlo Marcelo Arenas Belón,
	Dr. David Alan Gilbert, Richard Henderson

From: Carlo Marcelo Arenas Belón <carenas@gmail.com>

If SDL2 is requested but pkg-config doesn't have a module for it
configure should fallback to use sdl*-config, but wasn't able to
because and old variable (from SDL) was being used by mistake.

Correct the variable name and complete other related changes so
there are no more references to the old SDL.

Fixes: 0015ca5cbabe ("ui: remove support for SDL1.2 in favour of SDL2")
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190710225528.409-1-carenas@gmail.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 configure | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/configure b/configure
index 4e7b79c826a2..cc5ce7940582 100755
--- a/configure
+++ b/configure
@@ -3022,15 +3022,15 @@ fi
 ##########################################
 # SDL probe
 
-# Look for sdl configuration program (pkg-config or sdl-config).  Try
-# sdl-config even without cross prefix, and favour pkg-config over sdl-config.
+# Look for sdl configuration program (pkg-config or sdl2-config).  Try
+# sdl2-config even without cross prefix, and favour pkg-config over sdl2-config.
 
 sdl_probe ()
 {
   if $pkg_config sdl2 --exists; then
     sdlconfig="$pkg_config sdl2"
     sdlversion=$($sdlconfig --modversion 2>/dev/null)
-  elif has ${sdl_config}; then
+  elif has "$sdl2_config"; then
     sdlconfig="$sdl2_config"
     sdlversion=$($sdlconfig --version)
   else
@@ -3041,7 +3041,7 @@ sdl_probe ()
     # no need to do the rest
     return
   fi
-  if test -n "$cross_prefix" && test "$(basename "$sdlconfig")" = sdl-config; then
+  if test -n "$cross_prefix" && test "$(basename "$sdlconfig")" = sdl2-config; then
     echo warning: using "\"$sdlconfig\"" to detect cross-compiled sdl >&2
   fi
 
@@ -8023,7 +8023,6 @@ preserve_env PKG_CONFIG
 preserve_env PKG_CONFIG_LIBDIR
 preserve_env PKG_CONFIG_PATH
 preserve_env PYTHON
-preserve_env SDL_CONFIG
 preserve_env SDL2_CONFIG
 preserve_env SMBD
 preserve_env STRIP
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 05/14] .gitignore: ignore some vhost-user* related files
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
                   ` (3 preceding siblings ...)
  2019-08-21 11:19 ` [Qemu-devel] [PULL 04/14] configure: fix sdl detection using sdl2-config Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 06/14] hw/net/e1000: Fix erroneous comment Laurent Vivier
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Corey Minyard, Juan Quintela,
	qemu-trivial, Michal Privoznik, Jason Wang, Michael S. Tsirkin,
	Michael Tokarev, Markus Armbruster, Laurent Vivier, qemu-ppc,
	Marc-André Lureau, Paolo Bonzini, David Gibson,
	Philippe Mathieu-Daudé,
	Dr. David Alan Gilbert, Richard Henderson

From: Michal Privoznik <mprivozn@redhat.com>

Commit d52c454aadc creates
'/contrib/vhost-user-gpu/50-qemu-gpu.json' and '/vhost-user-gpu'
and commit 06914c97d3a creates '/vhost-user-input' neither of
which is ignored by git.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <db150a03315a89a849ab9968e4a5a26110d41424.1562942402.git.mprivozn@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index fd6e6c38c7b9..e9bbc006d39e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -65,6 +65,8 @@
 /scsi/qemu-pr-helper
 /vhost-user-scsi
 /vhost-user-blk
+/vhost-user-gpu
+/vhost-user-input
 /fsdev/virtfs-proxy-helper
 *.tmp
 *.[1-9]
@@ -131,6 +133,7 @@
 /docs/interop/qemu-qmp-ref.info*
 /docs/interop/qemu-qmp-ref.txt
 /docs/version.texi
+/contrib/vhost-user-gpu/50-qemu-gpu.json
 *.tps
 .stgit-*
 .git-submodule-status
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 06/14] hw/net/e1000: Fix erroneous comment
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
                   ` (4 preceding siblings ...)
  2019-08-21 11:19 ` [Qemu-devel] [PULL 05/14] .gitignore: ignore some vhost-user* related files Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 07/14] json: Move switch 'fall through' comment to correct place Laurent Vivier
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Corey Minyard, Juan Quintela,
	qemu-trivial, Jason Wang, Michael S. Tsirkin, Michael Tokarev,
	Markus Armbruster, Stefano Garzarella, Laurent Vivier, qemu-ppc,
	Paolo Bonzini, David Gibson, Philippe Mathieu-Daudé,
	Dr. David Alan Gilbert, Richard Henderson

From: Philippe Mathieu-Daudé <philmd@redhat.com>

Missed during the QOM convertion in 9af21dbee14.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20190715102210.31365-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/net/e1000.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/net/e1000.c b/hw/net/e1000.c
index 8ae4e08f1e90..a73f8d404e6c 100644
--- a/hw/net/e1000.c
+++ b/hw/net/e1000.c
@@ -1608,7 +1608,7 @@ static const VMStateDescription vmstate_e1000 = {
 
 /*
  * EEPROM contents documented in Tables 5-2 and 5-3, pp. 98-102.
- * Note: A valid DevId will be inserted during pci_e1000_init().
+ * Note: A valid DevId will be inserted during pci_e1000_realize().
  */
 static const uint16_t e1000_eeprom_template[64] = {
     0x0000, 0x0000, 0x0000, 0x0000,      0xffff, 0x0000,      0x0000, 0x0000,
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 07/14] json: Move switch 'fall through' comment to correct place
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
                   ` (5 preceding siblings ...)
  2019-08-21 11:19 ` [Qemu-devel] [PULL 06/14] hw/net/e1000: Fix erroneous comment Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 08/14] hw/dma/omap_dma: " Laurent Vivier
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Corey Minyard, Juan Quintela,
	qemu-trivial, Stefan Weil, Jason Wang, Michael S. Tsirkin,
	Michael Tokarev, Markus Armbruster, Laurent Vivier, qemu-ppc,
	Paolo Bonzini, David Gibson, Philippe Mathieu-Daudé,
	Dr. David Alan Gilbert, Richard Henderson

From: Philippe Mathieu-Daudé <philmd@redhat.com>

Reported by GCC9 when building with CFLAG -Wimplicit-fallthrough=2:

  qobject/json-parser.c: In function ‘parse_literal’:
  qobject/json-parser.c:492:24: error: this statement may fall through [-Werror=implicit-fallthrough=]
    492 |     case JSON_INTEGER: {
        |                        ^
  qobject/json-parser.c:524:5: note: here
    524 |     case JSON_FLOAT:
        |     ^~~~

Correctly place the 'fall through' comment.

Reported-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190719131425.10835-2-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 qobject/json-parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qobject/json-parser.c b/qobject/json-parser.c
index 7d23e12e3379..d083810d3782 100644
--- a/qobject/json-parser.c
+++ b/qobject/json-parser.c
@@ -519,8 +519,8 @@ static QObject *parse_literal(JSONParserContext *ctxt)
             }
             assert(ret == -ERANGE);
         }
-        /* fall through to JSON_FLOAT */
     }
+    /* fall through to JSON_FLOAT */
     case JSON_FLOAT:
         /* FIXME dependent on locale; a pervasive issue in QEMU */
         /* FIXME our lexer matches RFC 8259 in forbidding Inf or NaN,
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 08/14] hw/dma/omap_dma: Move switch 'fall through' comment to correct place
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
                   ` (6 preceding siblings ...)
  2019-08-21 11:19 ` [Qemu-devel] [PULL 07/14] json: Move switch 'fall through' comment to correct place Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 09/14] hw/ipmi: Rewrite a fall through comment Laurent Vivier
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Corey Minyard, Juan Quintela,
	qemu-trivial, Stefan Weil, Jason Wang, Michael S. Tsirkin,
	Michael Tokarev, Markus Armbruster, Laurent Vivier, qemu-ppc,
	Paolo Bonzini, David Gibson, Philippe Mathieu-Daudé,
	Dr. David Alan Gilbert, Richard Henderson

From: Philippe Mathieu-Daudé <philmd@redhat.com>

Reported by GCC9 when building with CFLAG -Wimplicit-fallthrough=2:

    CC      hw/dma/omap_dma.o
  hw/dma/omap_dma.c: In function ‘omap_dma_write’:
  hw/dma/omap_dma.c:1532:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
   1532 |         if (s->model <= omap_dma_3_1)
        |            ^
  hw/dma/omap_dma.c:1534:5: note: here
   1534 |     case 0x400:
        |     ^~~~
  cc1: all warnings being treated as errors

Correctly place the 'fall through' comment.

Reported-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20190719131425.10835-3-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/dma/omap_dma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/dma/omap_dma.c b/hw/dma/omap_dma.c
index eab83c5c3a16..6677237d42a4 100644
--- a/hw/dma/omap_dma.c
+++ b/hw/dma/omap_dma.c
@@ -1531,8 +1531,8 @@ static void omap_dma_write(void *opaque, hwaddr addr,
     case 0x404 ... 0x4fe:
         if (s->model <= omap_dma_3_1)
             break;
+        /* fall through */
     case 0x400:
-        /* Fall through. */
         if (omap_dma_sys_write(s, addr, value))
             break;
         return;
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 09/14] hw/ipmi: Rewrite a fall through comment
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
                   ` (7 preceding siblings ...)
  2019-08-21 11:19 ` [Qemu-devel] [PULL 08/14] hw/dma/omap_dma: " Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:48   ` Corey Minyard
  2019-08-21 11:19 ` [Qemu-devel] [PULL 10/14] target/ppc: " Laurent Vivier
                   ` (5 subsequent siblings)
  14 siblings, 1 reply; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Corey Minyard, Eduardo Habkost, Corey Minyard,
	Juan Quintela, qemu-trivial, Stefan Weil, Jason Wang,
	Michael S. Tsirkin, Michael Tokarev, Markus Armbruster,
	Laurent Vivier, qemu-ppc, Paolo Bonzini, David Gibson,
	Philippe Mathieu-Daudé,
	Dr. David Alan Gilbert, Richard Henderson

From: Philippe Mathieu-Daudé <philmd@redhat.com>

GCC9 is confused by this comment when building with CFLAG
-Wimplicit-fallthrough=2:

  hw/ipmi/ipmi_bmc_extern.c: In function ‘addchar’:
  hw/ipmi/ipmi_bmc_extern.c:178:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
    178 |         ch |= 0x10;
        |         ~~~^~~~~~~
  hw/ipmi/ipmi_bmc_extern.c:181:5: note: here
    181 |     default:
        |     ^~~~~~~
  cc1: all warnings being treated as errors
  make: *** [rules.mak:69: hw/ipmi/ipmi_bmc_extern.o] Error 1

Rewrite the comment using 'fall through' which is recognized by
GCC and static analyzers.

Reported-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Message-Id: <20190719131425.10835-5-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/ipmi/ipmi_bmc_extern.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hw/ipmi/ipmi_bmc_extern.c b/hw/ipmi/ipmi_bmc_extern.c
index 573428eca1b2..87da9ff99cf5 100644
--- a/hw/ipmi/ipmi_bmc_extern.c
+++ b/hw/ipmi/ipmi_bmc_extern.c
@@ -177,8 +177,7 @@ static void addchar(IPMIBmcExtern *ibe, unsigned char ch)
         ibe->outbuf[ibe->outlen] = VM_ESCAPE_CHAR;
         ibe->outlen++;
         ch |= 0x10;
-        /* No break */
-
+        /* fall through */
     default:
         ibe->outbuf[ibe->outlen] = ch;
         ibe->outlen++;
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 10/14] target/ppc: Rewrite a fall through comment
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
                   ` (8 preceding siblings ...)
  2019-08-21 11:19 ` [Qemu-devel] [PULL 09/14] hw/ipmi: Rewrite a fall through comment Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 11/14] vl: " Laurent Vivier
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Corey Minyard, Juan Quintela,
	qemu-trivial, Stefan Weil, Jason Wang, Michael S. Tsirkin,
	Michael Tokarev, Markus Armbruster, Laurent Vivier, qemu-ppc,
	Paolo Bonzini, David Gibson, Philippe Mathieu-Daudé,
	Dr. David Alan Gilbert, Richard Henderson

From: Philippe Mathieu-Daudé <philmd@redhat.com>

GCC9 is confused by this comment when building with CFLAG
-Wimplicit-fallthrough=2:

  target/ppc/mmu_helper.c: In function ‘dump_mmu’:
  target/ppc/mmu_helper.c:1349:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
   1349 |         if (ppc64_v3_radix(env_archcpu(env))) {
        |            ^
  target/ppc/mmu_helper.c:1356:5: note: here
   1356 |     default:
        |     ^~~~~~~
  cc1: all warnings being treated as errors

Rewrite the comment using 'fall through' which is recognized by
GCC and static analyzers.

Reported-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20190719131425.10835-6-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 target/ppc/mmu_helper.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/ppc/mmu_helper.c b/target/ppc/mmu_helper.c
index 55f7a7f16a12..86c667b09415 100644
--- a/target/ppc/mmu_helper.c
+++ b/target/ppc/mmu_helper.c
@@ -100,7 +100,7 @@ static int pp_check(int key, int pp, int nx)
         case 0x1:
         case 0x2:
             access |= PAGE_WRITE;
-            /* No break here */
+            /* fall through */
         case 0x3:
             access |= PAGE_READ;
             break;
@@ -708,7 +708,7 @@ static int mmu40x_get_physical_address(CPUPPCState *env, mmu_ctx_t *ctx,
             if (pr != 0) {
                 goto check_perms;
             }
-            /* No break here */
+            /* fall through */
         case 0x3:
             /* All accesses granted */
             ctx->prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC;
@@ -722,7 +722,7 @@ static int mmu40x_get_physical_address(CPUPPCState *env, mmu_ctx_t *ctx,
                 ret = -2;
                 break;
             }
-            /* No break here */
+            /* fall through */
         case 0x1:
         check_perms:
             /* Check from TLB entry */
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 11/14] vl: Rewrite a fall through comment
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
                   ` (9 preceding siblings ...)
  2019-08-21 11:19 ` [Qemu-devel] [PULL 10/14] target/ppc: " Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 12/14] spapr_events: " Laurent Vivier
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Corey Minyard, Juan Quintela,
	qemu-trivial, Stefan Weil, Jason Wang, Michael S. Tsirkin,
	Michael Tokarev, Markus Armbruster, John Snow, Laurent Vivier,
	qemu-ppc, Paolo Bonzini, David Gibson,
	Philippe Mathieu-Daudé,
	Dr. David Alan Gilbert, Richard Henderson

From: Philippe Mathieu-Daudé <philmd@redhat.com>

GCC9 is confused by this comment when building with CFLAG
-Wimplicit-fallthrough=2:

  vl.c: In function ‘qemu_ref_timedate’:
  vl.c:773:15: error: this statement may fall through [-Werror=implicit-fallthrough=]
    773 |         value -= rtc_realtime_clock_offset;
        |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  vl.c:775:5: note: here
    775 |     case QEMU_CLOCK_VIRTUAL:
        |     ^~~~
  cc1: all warnings being treated as errors

Rewrite the comment using 'fall through' which is recognized by
GCC and static analyzers.

Reported-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-Id: <20190719131425.10835-7-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 vl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vl.c b/vl.c
index edd5390110b2..1588dd8fc337 100644
--- a/vl.c
+++ b/vl.c
@@ -772,7 +772,7 @@ static time_t qemu_ref_timedate(QEMUClockType clock)
     switch (clock) {
     case QEMU_CLOCK_REALTIME:
         value -= rtc_realtime_clock_offset;
-        /* no break */
+        /* fall through */
     case QEMU_CLOCK_VIRTUAL:
         value += rtc_ref_start_datetime;
         break;
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 12/14] spapr_events: Rewrite a fall through comment
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
                   ` (10 preceding siblings ...)
  2019-08-21 11:19 ` [Qemu-devel] [PULL 11/14] vl: " Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 13/14] hw/display/sm501: Remove unused include Laurent Vivier
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Eduardo Habkost, Corey Minyard, Juan Quintela,
	qemu-trivial, Stefan Weil, Jason Wang, Michael S. Tsirkin,
	Michael Tokarev, Markus Armbruster, Laurent Vivier, qemu-ppc,
	Paolo Bonzini, David Gibson, Philippe Mathieu-Daudé,
	Dr. David Alan Gilbert, Richard Henderson

From: Philippe Mathieu-Daudé <philmd@redhat.com>

GCC9 is confused by this comment when building with CFLAG
-Wimplicit-fallthrough=2:

    CC      ppc64-softmmu/hw/ppc/spapr_rtc.o
  hw/ppc/spapr_events.c: In function ‘rtas_event_log_to_source’:
  hw/ppc/spapr_events.c:312:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
    312 |         if (spapr_ovec_test(spapr->ov5_cas, OV5_HP_EVT)) {
        |            ^
  hw/ppc/spapr_events.c:317:5: note: here
    317 |     case RTAS_LOG_TYPE_EPOW:
        |     ^~~~
  cc1: all warnings being treated as errors

Rewrite the comment using 'fall through' which is recognized by
GCC and static analyzers.

Reported-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <20190719131425.10835-8-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/ppc/spapr_events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/ppc/spapr_events.c b/hw/ppc/spapr_events.c
index 163a6cd25b45..0e4c19523aea 100644
--- a/hw/ppc/spapr_events.c
+++ b/hw/ppc/spapr_events.c
@@ -314,7 +314,7 @@ rtas_event_log_to_source(SpaprMachineState *spapr, int log_type)
             g_assert(source->enabled);
             break;
         }
-        /* fall back to epow for legacy hotplug interrupt source */
+        /* fall through back to epow for legacy hotplug interrupt source */
     case RTAS_LOG_TYPE_EPOW:
         source = spapr_event_sources_get_source(spapr->event_sources,
                                                 EVENT_CLASS_EPOW);
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 13/14] hw/display/sm501: Remove unused include
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
                   ` (11 preceding siblings ...)
  2019-08-21 11:19 ` [Qemu-devel] [PULL 12/14] spapr_events: " Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-21 11:19 ` [Qemu-devel] [PULL 14/14] hw/display: Compile various display devices as common object Laurent Vivier
  2019-08-22  9:30 ` [Qemu-devel] [PULL 00/14] Trivial branch patches Peter Maydell
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Thomas Huth, Eduardo Habkost, Corey Minyard,
	Juan Quintela, qemu-trivial, Jason Wang, Michael S. Tsirkin,
	Michael Tokarev, Markus Armbruster, Laurent Vivier, qemu-ppc,
	Paolo Bonzini, David Gibson, Philippe Mathieu-Daudé,
	Dr. David Alan Gilbert, Richard Henderson

From: Philippe Mathieu-Daudé <philmd@redhat.com>

The "cpu.h" include makes devices target-specific. Since it
is not used, remove it, so the device become generic (we can
now compile it once for all targets).

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190812113739.16587-2-philmd@redhat.com>
[lv: fix conflict with 650d103d3ea9
     ("Include hw/hw.h exactly where needed")]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/display/sm501.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/display/sm501.c b/hw/display/sm501.c
index d9e5762e367a..1f33c87e654e 100644
--- a/hw/display/sm501.c
+++ b/hw/display/sm501.c
@@ -28,7 +28,6 @@
 #include "qapi/error.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
-#include "cpu.h"
 #include "hw/char/serial.h"
 #include "ui/console.h"
 #include "hw/sysbus.h"
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [Qemu-devel] [PULL 14/14] hw/display: Compile various display devices as common object
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
                   ` (12 preceding siblings ...)
  2019-08-21 11:19 ` [Qemu-devel] [PULL 13/14] hw/display/sm501: Remove unused include Laurent Vivier
@ 2019-08-21 11:19 ` Laurent Vivier
  2019-08-22  9:30 ` [Qemu-devel] [PULL 00/14] Trivial branch patches Peter Maydell
  14 siblings, 0 replies; 17+ messages in thread
From: Laurent Vivier @ 2019-08-21 11:19 UTC (permalink / raw)
  To: qemu-devel
  Cc: Peter Maydell, Thomas Huth, Eduardo Habkost, Corey Minyard,
	Juan Quintela, qemu-trivial, Jason Wang, Michael S. Tsirkin,
	Michael Tokarev, Markus Armbruster, Laurent Vivier, qemu-ppc,
	Gerd Hoffmann, Paolo Bonzini, David Gibson,
	Philippe Mathieu-Daudé,
	Dr. David Alan Gilbert, Richard Henderson

From: Philippe Mathieu-Daudé <philmd@redhat.com>

Various display devices are not target-specific and can
be compiled once for all the targets.
After this commit, the 'make world' target is reduced by
54 objects

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20190812113739.16587-3-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/display/Makefile.objs | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/hw/display/Makefile.objs b/hw/display/Makefile.objs
index a64998fc7b23..0f11d55b14ef 100644
--- a/hw/display/Makefile.objs
+++ b/hw/display/Makefile.objs
@@ -31,13 +31,13 @@ obj-$(CONFIG_MILKYMIST_TMU2) += milkymist-tmu2.o
 milkymist-tmu2.o-cflags := $(X11_CFLAGS) $(OPENGL_CFLAGS)
 milkymist-tmu2.o-libs := $(X11_LIBS) $(OPENGL_LIBS)
 
-obj-$(CONFIG_OMAP) += omap_dss.o
+common-obj-$(CONFIG_OMAP) += omap_dss.o
 obj-$(CONFIG_OMAP) += omap_lcdc.o
-obj-$(CONFIG_PXA2XX) += pxa2xx_lcd.o
-obj-$(CONFIG_RASPI) += bcm2835_fb.o
-obj-$(CONFIG_SM501) += sm501.o
-obj-$(CONFIG_TCX) += tcx.o
-obj-$(CONFIG_CG3) += cg3.o
+common-obj-$(CONFIG_PXA2XX) += pxa2xx_lcd.o
+common-obj-$(CONFIG_RASPI) += bcm2835_fb.o
+common-obj-$(CONFIG_SM501) += sm501.o
+common-obj-$(CONFIG_TCX) += tcx.o
+common-obj-$(CONFIG_CG3) += cg3.o
 
 obj-$(CONFIG_VGA) += vga.o
 
@@ -53,7 +53,7 @@ virtio-gpu.o-cflags := $(VIRGL_CFLAGS)
 virtio-gpu.o-libs += $(VIRGL_LIBS)
 virtio-gpu-3d.o-cflags := $(VIRGL_CFLAGS)
 virtio-gpu-3d.o-libs += $(VIRGL_LIBS)
-obj-$(CONFIG_DPCD) += dpcd.o
-obj-$(CONFIG_XLNX_ZYNQMP_ARM) += xlnx_dp.o
+common-obj-$(CONFIG_DPCD) += dpcd.o
+common-obj-$(CONFIG_XLNX_ZYNQMP_ARM) += xlnx_dp.o
 
-obj-$(CONFIG_ATI_VGA) += ati.o ati_2d.o ati_dbg.o
+common-obj-$(CONFIG_ATI_VGA) += ati.o ati_2d.o ati_dbg.o
-- 
2.21.0



^ permalink raw reply related	[flat|nested] 17+ messages in thread

* Re: [Qemu-devel] [PULL 09/14] hw/ipmi: Rewrite a fall through comment
  2019-08-21 11:19 ` [Qemu-devel] [PULL 09/14] hw/ipmi: Rewrite a fall through comment Laurent Vivier
@ 2019-08-21 11:48   ` Corey Minyard
  0 siblings, 0 replies; 17+ messages in thread
From: Corey Minyard @ 2019-08-21 11:48 UTC (permalink / raw)
  To: Laurent Vivier
  Cc: Peter Maydell, Eduardo Habkost, Juan Quintela, qemu-trivial,
	Markus Armbruster, Jason Wang, Michael S. Tsirkin,
	Michael Tokarev, qemu-devel, qemu-ppc, Stefan Weil,
	Paolo Bonzini, David Gibson, Philippe Mathieu-Daudé,
	Dr. David Alan Gilbert, Richard Henderson

On Wed, Aug 21, 2019 at 01:19:42PM +0200, Laurent Vivier wrote:
> From: Philippe Mathieu-Daudé <philmd@redhat.com>
> 
> GCC9 is confused by this comment when building with CFLAG
> -Wimplicit-fallthrough=2:
> 
>   hw/ipmi/ipmi_bmc_extern.c: In function ‘addchar’:
>   hw/ipmi/ipmi_bmc_extern.c:178:12: error: this statement may fall through [-Werror=implicit-fallthrough=]
>     178 |         ch |= 0x10;
>         |         ~~~^~~~~~~
>   hw/ipmi/ipmi_bmc_extern.c:181:5: note: here
>     181 |     default:
>         |     ^~~~~~~
>   cc1: all warnings being treated as errors
>   make: *** [rules.mak:69: hw/ipmi/ipmi_bmc_extern.o] Error 1
> 
> Rewrite the comment using 'fall through' which is recognized by
> GCC and static analyzers.

Looks good, thanks.  I've pulled it into my tree, but if you want
to queue it someplace else:

Reviewed-by: Corey Minyard <cminyard@mvista.com>

> 
> Reported-by: Stefan Weil <sw@weilnetz.de>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> Acked-by: Corey Minyard <cminyard@mvista.com>
> Message-Id: <20190719131425.10835-5-philmd@redhat.com>
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> ---
>  hw/ipmi/ipmi_bmc_extern.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/hw/ipmi/ipmi_bmc_extern.c b/hw/ipmi/ipmi_bmc_extern.c
> index 573428eca1b2..87da9ff99cf5 100644
> --- a/hw/ipmi/ipmi_bmc_extern.c
> +++ b/hw/ipmi/ipmi_bmc_extern.c
> @@ -177,8 +177,7 @@ static void addchar(IPMIBmcExtern *ibe, unsigned char ch)
>          ibe->outbuf[ibe->outlen] = VM_ESCAPE_CHAR;
>          ibe->outlen++;
>          ch |= 0x10;
> -        /* No break */
> -
> +        /* fall through */
>      default:
>          ibe->outbuf[ibe->outlen] = ch;
>          ibe->outlen++;
> -- 
> 2.21.0
> 


^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: [Qemu-devel] [PULL 00/14] Trivial branch patches
  2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
                   ` (13 preceding siblings ...)
  2019-08-21 11:19 ` [Qemu-devel] [PULL 14/14] hw/display: Compile various display devices as common object Laurent Vivier
@ 2019-08-22  9:30 ` Peter Maydell
  14 siblings, 0 replies; 17+ messages in thread
From: Peter Maydell @ 2019-08-22  9:30 UTC (permalink / raw)
  To: Laurent Vivier
  Cc: Eduardo Habkost, Corey Minyard, Juan Quintela, QEMU Trivial,
	Markus Armbruster, Jason Wang, Michael S. Tsirkin,
	Michael Tokarev, QEMU Developers, qemu-ppc, Paolo Bonzini,
	David Gibson, Dr. David Alan Gilbert, Richard Henderson

On Wed, 21 Aug 2019 at 12:20, Laurent Vivier <laurent@vivier.eu> wrote:
>
> The following changes since commit 17dc57990320edaad52ac9ea808be9719c91cea6:
>
>   Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2019-08-20' into staging (2019-08-20 14:14:20 +0100)
>
> are available in the Git repository at:
>
>   git://github.com/vivier/qemu.git tags/trivial-branch-pull-request
>
> for you to fetch changes up to 8a9224a250094222e9ff302b95e379c3e71d3c8a:
>
>   hw/display: Compile various display devices as common object (2019-08-21 13:17:22 +0200)
>
> ----------------------------------------------------------------
> Various trivial fixes
>
> ----------------------------------------------------------------

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.2
for any user-visible changes.

-- PMM


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-08-22  9:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-21 11:19 [Qemu-devel] [PULL 00/14] Trivial branch patches Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 01/14] test: Use g_strndup instead of plain strndup Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 02/14] misc: fix naming scheme of compatiblity arrays Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 03/14] configure: remove obsoleted $sparc_cpu variable Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 04/14] configure: fix sdl detection using sdl2-config Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 05/14] .gitignore: ignore some vhost-user* related files Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 06/14] hw/net/e1000: Fix erroneous comment Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 07/14] json: Move switch 'fall through' comment to correct place Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 08/14] hw/dma/omap_dma: " Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 09/14] hw/ipmi: Rewrite a fall through comment Laurent Vivier
2019-08-21 11:48   ` Corey Minyard
2019-08-21 11:19 ` [Qemu-devel] [PULL 10/14] target/ppc: " Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 11/14] vl: " Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 12/14] spapr_events: " Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 13/14] hw/display/sm501: Remove unused include Laurent Vivier
2019-08-21 11:19 ` [Qemu-devel] [PULL 14/14] hw/display: Compile various display devices as common object Laurent Vivier
2019-08-22  9:30 ` [Qemu-devel] [PULL 00/14] Trivial branch patches Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).