Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2601748rwb; Fri, 16 Dec 2022 04:23:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf44bC+a+v95u899orCkRcosyq5PtwhnuOSyNwrgAlP5yeaqBr9nqoT8ubkwp1+HTbfrSJGk X-Received: by 2002:a17:906:a845:b0:7c0:faca:52c with SMTP id dx5-20020a170906a84500b007c0faca052cmr26816627ejb.37.1671193404177; Fri, 16 Dec 2022 04:23:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671193404; cv=none; d=google.com; s=arc-20160816; b=Fql9Ccba+zG4e2VQbIpCuXhcZBfaPHX5IPf7SPv1ZdG9mw0s9ZDl6B5phhjIKoCtag mxeE6WrR7H6NVHatQ7V3XxmE37jFzeYXlaxcJZ+e/WKrZ6WKWa/Nraj3IB7Uol7DpPBI vZYdwMMIfoAAOusKQ7OEgZvGiCQpdUFlceAhmy7UHDwmQrVOX/MTrKc1pT5sosmociAS 3Dno5d/voV4tYBu+DsdOVn/mqoA+WvOiH6b0cznX+Qqse6+brHWbvZ8OUunJX+Z/i1lB rXsKCbT0GrTbUgR0aZCJVjrMzzd0cFZPnLiWNWUgdQ6rZdOJWOBpLu7AsPV1agcEXZA6 9lKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=gZzuFeedxNRKvXQpbVnymQA7Kx7GMNMEb+xEMcPsj7Y=; b=HyK6HXfLlMEELu1kfqINVJYjOwggyvpaHqx7b6icylLrM4DrZ4c+Co0nryEMPDdP8X dS6b1uYvhCul8y/zvZLHl3TB1gqB3XxXnguZEvfZVQ3GIipCu3JMwNLpuhf7KtgMoqEN sw4WucmFeQpEh0WKRiCASdC4YwSn0YaQaY8eagyRhhf3pPYr10bqNh/IEujUaJNHuJ68 FAUMwRWXVyMw+aMlU+jnwDNUF3fQV4ytkU1VtshAb/vOFa6O7tT1iDk4yRMXEt/tCKD/ MPs27zo0vwnjMvcjCa6+1TyDhALyu3NtrtevVkM8hV6q/RUbzhuIG2/fAdxqLj89YwEo QWSA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fq32-20020a1709069da000b007baa6e2275asi1709843ejc.236.2022.12.16.04.23.07; Fri, 16 Dec 2022 04:23:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230114AbiLPLxL (ORCPT + 68 others); Fri, 16 Dec 2022 06:53:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230245AbiLPLxI (ORCPT ); Fri, 16 Dec 2022 06:53:08 -0500 X-Greylist: delayed 519 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 16 Dec 2022 03:53:04 PST Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B42DB28E39; Fri, 16 Dec 2022 03:53:04 -0800 (PST) Received: from frontend03.mail.m-online.net (unknown [192.168.6.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4NYS1Z2q08z1sBpp; Fri, 16 Dec 2022 12:44:18 +0100 (CET) Received: from localhost (dynscan3.mnet-online.de [192.168.6.84]) by mail.m-online.net (Postfix) with ESMTP id 4NYS1Y75Y5z1qqlR; Fri, 16 Dec 2022 12:44:17 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan3.mail.m-online.net [192.168.6.84]) (amavisd-new, port 10024) with ESMTP id 0b5ZjKHkwL_v; Fri, 16 Dec 2022 12:44:16 +0100 (CET) X-Auth-Info: f4ezSsfKVzN9CazZHPLG18zOuZzzKP8PLF09Joa2rcSALQhcCh1YnQT2Bkw3vKhq Received: from igel.home (aftr-62-216-205-197.dynamic.mnet-online.de [62.216.205.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 16 Dec 2022 12:44:16 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 1913F2C339A; Fri, 16 Dec 2022 12:44:16 +0100 (CET) From: Andreas Schwab To: Geert Uytterhoeven Cc: "Leizhen (ThunderTown)" , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Alexei Starovoitov , Jiri Olsa , Kees Cook , Andrew Morton , Luis Chamberlain , linux-modules@vger.kernel.org, Steven Rostedt , Ingo Molnar , David Laight , linux-m68k , "Jason A. Donenfeld" Subject: Re: [PATCH v9] kallsyms: Add self-test facility References: <20221115083349.1662-1-thunder.leizhen@huawei.com> X-Yow: What GOOD is a CARDBOARD suitcase ANYWAY? Date: Fri, 16 Dec 2022 12:44:16 +0100 In-Reply-To: (Geert Uytterhoeven's message of "Thu, 15 Dec 2022 14:24:51 +0100") Message-ID: <87len7k1yn.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Dez 15 2022, Geert Uytterhoeven wrote: > Changing: > > --- a/arch/m68k/include/asm/string.h > +++ b/arch/m68k/include/asm/string.h > @@ -42,7 +42,7 @@ static inline char *strncpy(char *dest, const > char *src, size_t n) > #define __HAVE_ARCH_STRCMP > static inline int strcmp(const char *cs, const char *ct) > { > - char res; > + signed char res; > > asm ("\n" > "1: move.b (%0)+,%2\n" /* get *cs */ Note that strcmp needs to compute the return value from the difference of the _unsigned_ characters. That does not explain the error, though, since symbol names don't have characters with the high bit set. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."