From patchwork Thu Jul 8 14:11:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1502321 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=ZaEutS8O; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GLJCj0C30z9sWq for ; Fri, 9 Jul 2021 00:12:48 +1000 (AEST) Received: from localhost ([::1]:46474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1Uli-0000Qw-6c for incoming@patchwork.ozlabs.org; Thu, 08 Jul 2021 10:12:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1UkU-0000N4-H1 for qemu-devel@nongnu.org; Thu, 08 Jul 2021 10:11:30 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:44760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1UkT-0002W2-3J for qemu-devel@nongnu.org; Thu, 08 Jul 2021 10:11:30 -0400 Received: by mail-wr1-x436.google.com with SMTP id f9so2048832wrq.11 for ; Thu, 08 Jul 2021 07:11:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TMpl9R7BSbcYrV9zWMBsnPRqncVqlQYKmzFVEzY/Ahw=; b=ZaEutS8O+Id6Wa1Zw5A4K2/VRw43m8QYr1HBgjlOwpzE5VcvyUNQCswsDYPxMiB41Z Z2Po3ff36nMDoS2E2Wx8d9KkqJdZNbiI/8wNu/SVcyCNJORD8shfSj4C662MQpVFkM0o oNZOOOK6oBBYoKS06ruYxW9LQefJfUg4hKxHiVxR9NIWh7xfUvYhYf69KAKqimYg5oH5 Ik5UU9Bp8kqaLOxt+eJIUxmSaOKxGXgujhUiroPS4nTFFRxgxiIxxHof96xCYzKfwpMx oeX6TVVvrvSRn7XSN5LW4C3JrXeeByX9ZUa6J/OrA8uQ3kF+7cqUoIr2s9w7fVx03wt3 5lpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=TMpl9R7BSbcYrV9zWMBsnPRqncVqlQYKmzFVEzY/Ahw=; b=SBrUPyGZVtsov/TsefdI2yUwOeyCYBzd9t7u4DGA4+YNB22gvd50F7k7CdT846Jn1O RkZtxE5WttzQLMD+JIyoGFL3b9Egn4tlhIg30Ks+HSDKri6uPm97gACpeDTkkrQUZNgs jVXBv9knp5APr1ahgLbq3xGpljlj0UKIDK+g+VzWPOuajSUxxXt3rqTfBP1K/bm20nVk R1gn5e1Pm9FRZNnyaasJAH/WNnv5944HzEJs2U+Uk3afZI9C5SVKogD1mwpE8StBUZ4/ /0E4jQcARlGlgeCFOpEqNuS6pTS5uefA6sWpqhyK8hVSjUd40bLlGwYkLfbztjiUVUDm 9L8A== X-Gm-Message-State: AOAM530NwnnRdTZv7sUalDe2cYkXZOSTuY1YtwvUOcy9SQ8SgSqS5xxO hHFToIJ82iLnMprGd55NLQmGKtCbopc= X-Google-Smtp-Source: ABdhPJxLriAXhf1XrHEJC+lOg5svr32RLHLjthpwNGt7j79iUQSYY+UeBBg1pQsMfffWlKSIJ0wH9Q== X-Received: by 2002:a5d:68c2:: with SMTP id p2mr1235219wrw.27.1625753487484; Thu, 08 Jul 2021 07:11:27 -0700 (PDT) Received: from x1w.. (93.red-83-35-24.dynamicip.rima-tde.net. [83.35.24.93]) by smtp.gmail.com with ESMTPSA id t16sm2448946wrp.44.2021.07.08.07.11.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jul 2021 07:11:27 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH v2 1/8] linux-user/syscall: Fix RF-kill errno (typo in ERFKILL) Date: Thu, 8 Jul 2021 16:11:14 +0200 Message-Id: <20210708141121.1731691-2-f4bug@amsat.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210708141121.1731691-1-f4bug@amsat.org> References: <20210708141121.1731691-1-f4bug@amsat.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x436.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Taylor Simpson , Richard Henderson , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Affected targets: alpha, hppa, mips/64, sparc Fixes: fe8ed7d5794 ("linux-user: Handle ERFKILL and EHWPOISON") Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Laurent Vivier Reviewed-by: Richard Henderson --- linux-user/syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 2e826206d22..4842a1987b7 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -629,7 +629,7 @@ static uint16_t host_to_target_errno_table[ERRNO_TABLE_SIZE] = { #ifdef ENOMSG [ENOMSG] = TARGET_ENOMSG, #endif -#ifdef ERKFILL +#ifdef ERFKILL [ERFKILL] = TARGET_ERFKILL, #endif #ifdef EHWPOISON