qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: BALATON Zoltan <balaton@eik.bme.hu>,
	qemu-devel@nongnu.org, qemu-ppc@nongnu.org
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Subject: Re: [PATCH 1/4] hw/misc/macio: Avoid some QOM casts
Date: Wed, 18 Jan 2023 08:16:00 +0100	[thread overview]
Message-ID: <94540dd5-69c7-822b-2b67-f5208f37f20f@linaro.org> (raw)
In-Reply-To: <67b2d4700879c3b4cd574f1faa1a0d1950b3d0ee.1674001242.git.balaton@eik.bme.hu>

On 18/1/23 01:32, BALATON Zoltan wrote:
> At several places we already have the object pointer with the right
> type so we don't need to cast it back and forth. Avoiding these casts
> improves readability.
> 
> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
> ---
>   hw/misc/macio/macio.c | 14 +++++++-------
>   1 file changed, 7 insertions(+), 7 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



  reply	other threads:[~2023-01-18  7:17 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-18  0:32 [PATCH 0/4] Misc macio clean ups BALATON Zoltan
2023-01-18  0:32 ` [PATCH 1/4] hw/misc/macio: Avoid some QOM casts BALATON Zoltan
2023-01-18  7:16   ` Philippe Mathieu-Daudé [this message]
2023-01-22 18:14   ` Mark Cave-Ayland
2023-01-18  0:32 ` [PATCH 2/4] hw/misc/macio: Rename sysbus_dev to sbd for consistency and brevity BALATON Zoltan
2023-01-18  7:16   ` Philippe Mathieu-Daudé
2023-01-22 18:15   ` Mark Cave-Ayland
2023-01-18  0:32 ` [PATCH 3/4] hw/misc/macio: Remove some single use local variables BALATON Zoltan
2023-01-18  7:17   ` Philippe Mathieu-Daudé
2023-01-22 18:16   ` Mark Cave-Ayland
2023-01-18  0:32 ` [PATCH 4/4] hw/misc/macio: Return bool from functions taking errp BALATON Zoltan
2023-01-18  7:19   ` Philippe Mathieu-Daudé
2023-02-01 22:44   ` Mark Cave-Ayland
2023-02-01 23:54     ` BALATON Zoltan
2023-02-01 23:32 ` [PATCH 0/4] Misc macio clean ups Mark Cave-Ayland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=94540dd5-69c7-822b-2b67-f5208f37f20f@linaro.org \
    --to=philmd@linaro.org \
    --cc=balaton@eik.bme.hu \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).