Skip to content

riscv,kvm: remove another strerrorname_np()

Daniel Henrique Barboza qemu-devel qemu-riscv 2 versions Applied

Status from this message: Applied to trivial-patches tree.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v12 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- patch 2:
- move the strerrorname_np() check to the "non-portable libc calls"
section
- v1 link: https://lore.kernel.org/qemu-riscv/[email protected]/

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2target/riscv/kvm: remove sneaky strerrorname_np() instancetarget/riscv/kvm/kvm-cpu.c+2 -21 reply
2/2checkpatch.pl: forbid strerrorname_np()scripts/checkpatch.pl+3 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchThomas HuthPhilippe Mathieu-DaudéAlistair Francis
1/2R-b R-b R-b
2/2R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] riscv,kvm: remove another strerrorname_np()

Hi,

In this new version a small change suggested by Phil was made in patch
2. No other changes made.

Note: checkpatch.pl is nagging quite a bit about the checkpatch.pl change this time, claiming that I'm adding a line > 90 chars when in reality the line has 80 chars:

ERROR: line over 90 characters
#39: FILE: scripts/checkpatch.pl:3082:
+ ERROR("use strerror() instead of strerrorname_np()\n" . $herecurr);

total: 1 errors, 0 warnings, 9 lines checked

I supposed it's counting each TAB as more than one char. Let me know if I need to care about this error and I'll send a v3.

Changes from v1:
- patch 2:
- move the strerrorname_np() check to the "non-portable libc calls"
section
- v1 link: https://lore.kernel.org/qemu-riscv/[email protected]/

Daniel Henrique Barboza (2):
target/riscv/kvm: remove sneaky strerrorname_np() instance checkpatch.pl: forbid strerrorname_np()

 scripts/checkpatch.pl      | 3 +++
 target/riscv/kvm/kvm-cpu.c | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
2.44.0