mbox series

[0/2] riscv,kvm: remove another strerrorname_np()

Message ID 20240424094700.453356-1-dbarboza@ventanamicro.com (mailing list archive)
Headers show
Series riscv,kvm: remove another strerrorname_np() | expand

Message

Daniel Henrique Barboza April 24, 2024, 9:46 a.m. UTC
Hi,

strerrorname_np() was removed last December due to problems with musl
libc builds. And then I ended up adding another instance during the 9.0
cycle (commit ).

So here I am removing the newly added instance and, this time, patching
checkpatch.pl to forbid this function from showing up again.

Michael, patch 1 is qemu-stable material.

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

 scripts/checkpatch.pl      | 4 ++++
 target/riscv/kvm/kvm-cpu.c | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

Comments

Philippe Mathieu-Daudé April 24, 2024, 9:58 a.m. UTC | #1
On 24/4/24 11:46, Daniel Henrique Barboza wrote:

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

Modulo my nitpicking comments, series:
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>