All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chen Qun <kuhn.chenqun@huawei.com>
To: <qemu-devel@nongnu.org>, <qemu-trivial@nongnu.org>
Cc: Chen Qun <kuhn.chenqun@huawei.com>,
	philmd@redhat.com, zhang.zhanghailiang@huawei.com,
	laurent@vivier.eu
Subject: [PATCH v5 0/3] redundant code: Fix warnings reported by Clang static code analyzer
Date: Wed, 25 Mar 2020 10:59:16 +0800	[thread overview]
Message-ID: <20200325025919.21316-1-kuhn.chenqun@huawei.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="y", Size: 1476 bytes --]

v1->v2:
- Patch1: Add John Snow review comment.
- Patch9: Move the 'dst_type' declaration to while() statement.
- Patch12: Add Philippe Mathieu-Daudé review comment.
- Patch13: Move the 'set' declaration to the for() statement.

v2->v3:
- Patch1: Add Kevin Wolf review comment.
- Patch2: Keep the 'flags' then use it(Base on Kevin's comments).
- Patch3: Add Kevin Wolf review comment.
- Patch9: Add Francisco Iglesias and Alistair Francis review comment.
- Patch10: Juan Quintela has added it to the queue and delete it.
- Patch12->Patch11: Add Philippe Mathieu-Daudé review comment.
- Patch13->Patch12: Add Philippe Mathieu-Daudé review comment.

v3->v4:
- Deleted the patches that have been merged in the v3.
- Modify "scsi/esp-pci" Patch, use g_assert with variable size.

v4->v5:
- Patch1: Add Laurent Vivier review comment and change the subject.
- Patch2: Use extract16() instead of delete bit operation statement.
- Patch3: Add Laurent Vivier review comment.

Chen Qun (3):
  scsi/esp-pci: add g_assert() for fix clang analyzer warning in
    esp_pci_io_write()
  display/blizzard: use extract16() for fix clang analyzer warning in
    blizzard_draw_line16_32()
  timer/exynos4210_mct: Remove redundant statement in
    exynos4210_mct_write()

 hw/display/blizzard.c     | 10 ++++------
 hw/scsi/esp-pci.c         |  1 +
 hw/timer/exynos4210_mct.c |  4 ----
 3 files changed, 5 insertions(+), 10 deletions(-)

-- 
2.23.0




             reply	other threads:[~2020-03-25  3:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-25  2:59 Chen Qun [this message]
2020-03-25  2:59 ` [PATCH v5 1/3] scsi/esp-pci: add g_assert() for fix clang analyzer warning in esp_pci_io_write() Chen Qun
2020-03-25  2:59 ` [PATCH v5 2/3] display/blizzard: use extract16() for fix clang analyzer warning in blizzard_draw_line16_32() Chen Qun
2020-03-25  7:18   ` Laurent Vivier
2020-03-25  2:59 ` [PATCH v5 3/3] timer/exynos4210_mct: Remove redundant statement in exynos4210_mct_write() Chen Qun
2020-03-25 12:16   ` Philippe Mathieu-Daudé
2020-03-25 12:20     ` Philippe Mathieu-Daudé
2020-04-03  7:51 ` [PATCH v5 0/3] redundant code: Fix warnings reported by Clang static code analyzer Chenqun (kuhn)
2020-04-03  8:04   ` Laurent Vivier
2020-04-03  8:10     ` Chenqun (kuhn)
2020-04-03  8:22       ` Laurent Vivier
2020-04-03  8:27         ` Laurent Vivier
2020-04-03  8:41           ` Chenqun (kuhn)
2020-04-03  8:48             ` Laurent Vivier

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=20200325025919.21316-1-kuhn.chenqun@huawei.com \
    --to=kuhn.chenqun@huawei.com \
    --cc=laurent@vivier.eu \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=zhang.zhanghailiang@huawei.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.