qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 5932a4: hw/registerfields: Prefix local varia


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 5932a4: hw/registerfields: Prefix local variables with und...
Date: Thu, 28 May 2020 08:23:59 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 5932a46c8a419db4a6402ac8ae42953b4d4fef1e
      
https://github.com/qemu/qemu/commit/5932a46c8a419db4a6402ac8ae42953b4d4fef1e
  Author: Philippe Mathieu-Daudé <f4bug@amsat.org>
  Date:   2020-05-27 (Wed, 27 May 2020)

  Changed paths:
    M include/hw/registerfields.h

  Log Message:
  -----------
  hw/registerfields: Prefix local variables with underscore in macros

One can name a local variable holding a value as 'v', but it
currently clashes with the registerfields macros. To save others
to debug the same mistake, prefix the macro's local variables
with an underscore.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200510203457.10546-1-f4bug@amsat.org
Message-Id: <20200510203457.10546-1-f4bug@amsat.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>


  Commit: 87023dcc25895e03d6b8f2584f2a5178f9ce8050
      
https://github.com/qemu/qemu/commit/87023dcc25895e03d6b8f2584f2a5178f9ce8050
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2020-05-28 (Thu, 28 May 2020)

  Changed paths:
    M include/hw/registerfields.h

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/alistair/tags/pull-register-api-20200527' into staging

A single patch to avoid clashes with the regiser field macros.

# gpg: Signature made Wed 27 May 2020 19:24:07 BST
# gpg:                using RSA key F6C4AC46D4934868D3B8CE8F21E10D29DF977054
# gpg: Good signature from "Alistair Francis <alistair@alistair23.me>" [full]
# Primary key fingerprint: F6C4 AC46 D493 4868 D3B8  CE8F 21E1 0D29 DF97 7054

* remotes/alistair/tags/pull-register-api-20200527:
  hw/registerfields: Prefix local variables with underscore in macros

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/aacc7c8be290...87023dcc2589



reply via email to

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