Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp80816rwj; Thu, 22 Dec 2022 05:17:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXvXC1/yanKkEmfcm1wGCacq3Pvvb5R5QJpLEM7Kcmvn+Dsu1lpWwEefS9EHv7aYVaSOZE23 X-Received: by 2002:a05:6a00:24c9:b0:57f:7bb4:8fce with SMTP id d9-20020a056a0024c900b0057f7bb48fcemr7709249pfv.32.1671715025654; Thu, 22 Dec 2022 05:17:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671715025; cv=none; d=google.com; s=arc-20160816; b=nvqu3BOoFa5Mqv+wG/yei9DNSgbU6ns5OQojho47hUzgFjvrDCIflmLjtyYv7D9ONa mm77dwZ3OcVKOeoK2Udgxw7ZQWkHC6c5YWMmo65lVEB0ow3tm8dOuzAgiKhLFsUlTsIe SHtFosyy/x9Hja3DbABx9PDLrU5ZpRv5DcgcAvdcLX4OSOPe+9ZKR7HqXwy/LuiYsnVz Hkcmbu4UDs20V+ARYBpYvTswZKUMIo7ilxWwsm7hBbpaKtchG6XWq0+I2Yv8u5UFbPZb 5AjJPDCTsa+ma+9aAT+BrjUi4Tw1345VJWJyAGyx7VdGMpdcxjLdIuCB1Ai2LtjNaPcZ DnWg== 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; bh=MLCFjw9XIBAbu93dkTI6RLAmkXvVW4axCY2krlbo1Ww=; b=pu4ih5/AIVOJbIsKVsx9UxP9j4GETPnH1tPtPVQakcxo0veS1v7E7LVMwQHcCZHvtm sr/qhpALsdSgaVfAJ9sOBePWGWQX5y01uYkW4I7cX5x3Tmh0UdWE8aQtS5Mr7T+2GE6o 2PzMT0EejfjtxAxmBsasE3kH5FkOm3PRxKS9GJuVPBZ2MwpHo3uCk25VArHOFzHMjEUo eYUAXQd01wVzBpoz0C1o9CpuAcSCZK2vHH/vIRfbdL0UHni/Y26Jlu5KwW40xwkknD4O Sk5rVEqnApJNmoONTT6SJ61cdbw/0s9c8dr1oFR48V7jJK7mMXfGpQxu0nzbpKE5PI70 fAaw== 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 f188-20020a6251c5000000b00576e24d08cbsi612928pfb.25.2022.12.22.05.16.41; Thu, 22 Dec 2022 05:17:05 -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 S230209AbiLVNFt (ORCPT + 67 others); Thu, 22 Dec 2022 08:05:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235159AbiLVNFn (ORCPT ); Thu, 22 Dec 2022 08:05:43 -0500 Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 479553AA; Thu, 22 Dec 2022 05:05:41 -0800 (PST) Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-45ef306bd74so26219397b3.2; Thu, 22 Dec 2022 05:05:41 -0800 (PST) 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=MLCFjw9XIBAbu93dkTI6RLAmkXvVW4axCY2krlbo1Ww=; b=AkgVq2KBYpb4dUz0BEny9VGKMx98sCEpomruDdErtQTfod0SDz1QtGYEm+OIDWZNIO vlQLLC1fLfHsGwkEMryIAhStNEw19kGCriTIwXdKo95+rHg27uqTDoD6QrDwgrjhAgBv 5OeSsvpqWZOhT0hvQccLl9BV1fCCIImERWNC1N9nam8oaJUg1FQIZ6s63aMqMTkhZU9B Nhmoxqt6o1fxNucfYYoBZ3BShgbfc0DN6a0xFeFUrsGyLrsrvRdSYCDDHEsCTSl3p8Ev WPKEvWt8gavBdlzigJ0+ZZnAsFQc7zDLvD122e7t4/offEodIPmuNFBZ0mp9AtbYgERN cO6A== X-Gm-Message-State: AFqh2kpLkKL29cnfwWmnCpz/b074K+GOwYpImBNnzYyFXgJZEq8laVWx Md3ffQKeQVsohYzvrIFmq39t0Ljs9iEWBQ== X-Received: by 2002:a05:7500:5c05:b0:ea:6682:469c with SMTP id fd5-20020a0575005c0500b000ea6682469cmr392958gab.12.1671714340243; Thu, 22 Dec 2022 05:05:40 -0800 (PST) Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com. [209.85.128.169]) by smtp.gmail.com with ESMTPSA id w26-20020a05620a095a00b006fc6529abaesm231627qkw.101.2022.12.22.05.05.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 22 Dec 2022 05:05:39 -0800 (PST) Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-45c11d1bfc8so25845717b3.9; Thu, 22 Dec 2022 05:05:39 -0800 (PST) X-Received: by 2002:a05:690c:d84:b0:437:febc:6583 with SMTP id da4-20020a05690c0d8400b00437febc6583mr536308ywb.384.1671714339227; Thu, 22 Dec 2022 05:05:39 -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: From: Geert Uytterhoeven Date: Thu, 22 Dec 2022 14:05:26 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] kbuild: treat char as always unsigned To: Linus Torvalds Cc: Guenter Roeck , Rasmus Villemoes , "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.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 Hi Linus, On Wed, Dec 21, 2022 at 7:46 PM Linus Torvalds wrote: > 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. Thank you for being proactive! It works fine (and slightly reduced kernel size, too ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds