Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp6165845rwj; Wed, 21 Dec 2022 11:35:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXsRFX5Wnx5EPv5w2a2z+tmFt0r7SCuVtfGy6griRRCXkTKg8XPd+n/W7ibI5xFDjKZjvPG+ X-Received: by 2002:a17:902:f78e:b0:186:a43b:a5 with SMTP id q14-20020a170902f78e00b00186a43b00a5mr3627862pln.13.1671651309738; Wed, 21 Dec 2022 11:35:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671651309; cv=none; d=google.com; s=arc-20160816; b=ESRrpsxI4gKvfCjOH5nCgLUAXN8pdjToNh69yJx3h3pKB4vWpMWQdJEFNP0NymsIZS qA8fecy3WGB0hQY6daaw/1PQR5XaftcGqy+KGPq9oMK91QsaN0UmKzJXmqEcGpwKYNH9 DxKpx1Ow5o+EoKNSgkzeN7rsGq/QERB2O9/tUVywGMck7krMolC9mb6o2znKUF848YFl k++7YMF66aDWFYgoTajx6BvLQ5glGMYjyoh9BK5q62bO7xhB10skgrfFY500FeeEG+SC 9LDn7us8fIP6N65fWSp3Dk6MG0VhLlChlxKkSo8OMAcUFqd5JyCEUp2+8vcT4Y7wM5yq 4Hcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=0sODeRBjvPETeUrYPz7JbnedMQB/IxCocAx1FoaszTU=; b=TaMR20v/JJegAB2UF2Zn9Rx5yqKeDRsmu4RN6OXPTpK80WwcMuJhHViGQO6GMU42TZ gkpfm+PuzaFLMTd00yPXuiu1dOa9Fi/+O/y6bYemunXrm/vRcXOfAN2ufYCuZ98BMChK isMnRQAjDn4YFd/IeYbmqXhmYiDkbfAgEH8FfgADoqrBzxOGVv+uXkOyYefdIfKrxuyS SYp4Z/XeNTNlxLoGiOj0JB9iPFtHlN7PsNaHkqmagiUcTvkCZ7i7y3AJQyUpzxkA4r5g TgxzMNPtQyS2Ws8Tmp64uoSol+5cP+rKvT7xJ4o2N6YwNK/DJ7BPqC1LUpvJSWB5X7S4 L4tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Wy0Sz3Ro; 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 f2-20020a170902ff0200b001893efd3e00si15670644plj.49.2022.12.21.11.35.01; Wed, 21 Dec 2022 11:35:09 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Wy0Sz3Ro; 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 S230014AbiLUSxI (ORCPT + 67 others); Wed, 21 Dec 2022 13:53:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230395AbiLUSxC (ORCPT ); Wed, 21 Dec 2022 13:53:02 -0500 Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1672CF0 for ; Wed, 21 Dec 2022 10:53:01 -0800 (PST) Received: by mail-qt1-x829.google.com with SMTP id fu10so14452185qtb.0 for ; Wed, 21 Dec 2022 10:53:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0sODeRBjvPETeUrYPz7JbnedMQB/IxCocAx1FoaszTU=; b=Wy0Sz3Rojhc+tOVGf8KvjRmRjEZJqCHd1i96YwhlFe4AQJBhrynZfO6wMunqOJzcXp OtAxmPiWamNa669nglrJtYL1LY751fImTMMRlSeC3y0bx2EEI6E+E52yb1KBO5mdAHbC maEreRZaysRS4E6MKmemJDVUZ/OrXE9mHf/EU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0sODeRBjvPETeUrYPz7JbnedMQB/IxCocAx1FoaszTU=; b=AMVg3+s0/0TFwXLTyapjecOW1k7MKQ3m2zUxyPe+fVXMS6+R9hscHivKlN4T9YPTCO H99TCVfeqf+fVnuJ/Fqa+Wk4GPVopYOe2cTbZMARiA/sJhIlthWpBuQuXC+THAxfNVjS L5bvgTym4Gi+1pNJJEim/0GpTKl0llz9YXDGGMcGWMZyGJLrsdDIB1pEE+mcltkQ8HYp OTsGKFxOBOx6gzmx+L1llTUsxWLjGSbWKDyAt+i08hyXtijVJXXt+h1dv8tL/BKX9JSF OyTsdWRLDZok7n7gomYFtWlnexN9LX2QJXvj2toYA9exn0I5Hq4RZPXdvpkcAAZ4bf81 BMxw== X-Gm-Message-State: AFqh2kpQVv5tZRd9B+S12qcU2NxTmZf2+SidD+WJ3ej9pHtj5lFfW6iG tSRIqXJNMENEgtkMgZHK6TsFVPfM5nef6vuu X-Received: by 2002:ac8:4cc1:0:b0:39c:da20:d489 with SMTP id l1-20020ac84cc1000000b0039cda20d489mr3127131qtv.30.1671648780785; Wed, 21 Dec 2022 10:53:00 -0800 (PST) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com. [209.85.222.177]) by smtp.gmail.com with ESMTPSA id x13-20020ac8120d000000b003a6847d6386sm9559743qti.68.2022.12.21.10.53.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Dec 2022 10:53:00 -0800 (PST) Received: by mail-qk1-f177.google.com with SMTP id g8so7043659qkl.2 for ; Wed, 21 Dec 2022 10:53:00 -0800 (PST) X-Received: by 2002:ac8:4e26:0:b0:3a7:648d:23d4 with SMTP id d6-20020ac84e26000000b003a7648d23d4mr140158qtw.180.1671648384706; Wed, 21 Dec 2022 10:46:24 -0800 (PST) MIME-Version: 1.0 References: <20221019203034.3795710-1-Jason@zx2c4.com> <20221221145332.GA2399037@roeck-us.net> <1a27385c-cca6-888b-1125-d6383e48c0f5@prevas.dk> <20221221155641.GB2468105@roeck-us.net> <20221221171922.GA2470607@roeck-us.net> In-Reply-To: <20221221171922.GA2470607@roeck-us.net> From: Linus Torvalds Date: Wed, 21 Dec 2022 10:46:08 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] kbuild: treat char as always unsigned To: Guenter Roeck Cc: Rasmus Villemoes , Geert Uytterhoeven , "Jason A. Donenfeld" , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-arch@vger.kernel.org, linux-toolchains@vger.kernel.org, Masahiro Yamada , Kees Cook , Andrew Morton , Andy Shevchenko , Greg Kroah-Hartman , linux-m68k@lists.linux-m68k.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Wed, Dec 21, 2022 at 9:19 AM Guenter Roeck wrote: > > On Wed, Dec 21, 2022 at 09:06:41AM -0800, Linus Torvalds wrote: > > > > I think the real fix is to just remove that broken implementation > > entirely, and rely on the generic one. > > Perfectly fine with me. That got pushed out as commit 7c0846125358 ("m68k: remove broken strcmp implementation") but it's obviously entirely untested. I don't do m68k cross-compiles, much less boot tests. Just FYI for everybody - I may have screwed something up for some very non-obvious reason. But it looked very obvious indeed, and I hate having buggy code that is architecture-specific when we have generic code that isn't buggy. Linus