Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6449125imm; Mon, 23 Jul 2018 18:54:21 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfWaSG+VK1JbLsYpw5V2YnNYx0RppZVCHYduW3bEE6qYZ81yjLUWuZPt2xt5D0IBqbpkbgg X-Received: by 2002:a17:902:e3:: with SMTP id a90-v6mr15340901pla.227.1532397261081; Mon, 23 Jul 2018 18:54:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532397261; cv=none; d=google.com; s=arc-20160816; b=gD7B/aSNB+6qI3WZQnVakqC/TsTd3jfcXa6pjxNMAmN/MRZrTpJjWSwUgxui5ayLtN VrVZ+QpFi/8R8wD+AfAKIquuRrYBCH0qSVkogFcncYqwVuQH1BO8wG1zX2i5qhHPn8L8 OBvYj8KXprZHrWTIMFZeQXpnUg6DTZ5aTa0hufQNaUb3dXjUIE5IMwnxiAIAJ+7WNqKQ T7pljuy9zHQXqmkd5j98eHRlPYH/az6OX/xJRwy30+RFRE4AOwYSnBfY6xtgluzRKfo8 O7wGb2rsRkfLbfdXWPWPYzvCOr6eGhd6a/lyZaTXbDyT0bUXscfjtbyexsYCyn+HfZJX lOag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=NvoN985tWhIwUfmLOK//7CJ9m1/iqp1m/GwgveuHWpE=; b=olpjMsNLlvHgTdsPOVzUEQwH28NR5l4XiPy+sU7Uu5JPDC8SUOPDr6AbSevu3o5O88 x9OJgwf2jXPSZXOFgTmWfJQ22GvrwdLcfKRlJDhDecLBS8kscKn46bAA9gqiP8+P9vwx 4Ri+3x0f58o9TDE1akDMySgYiNNPA1nmdCC2xGG4XydcU395W/JT+sPYfscGvIbmKWtU bo3S6T1QIXvRp81ajC3YOwMpsThR8VMD/aPqbmsZtlI6gUSj08Y2n5HmjHuJp0WaMH/H HnqmSkv0TeAHTHr041gsH5xQgoBvqv82Oos5FmEW+dPNHRUxgXLuM8Xz0iCx+0mfqlya SYnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=hMuw3J8A; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h36-v6si10297597pgm.125.2018.07.23.18.54.05; Mon, 23 Jul 2018 18:54:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=hMuw3J8A; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388378AbeGXC43 (ORCPT + 99 others); Mon, 23 Jul 2018 22:56:29 -0400 Received: from merlin.infradead.org ([205.233.59.134]:49878 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388194AbeGXC43 (ORCPT ); Mon, 23 Jul 2018 22:56:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NvoN985tWhIwUfmLOK//7CJ9m1/iqp1m/GwgveuHWpE=; b=hMuw3J8APjwtpYQ/XgJTokqhOM LcFkVSz9yYQUCJWNoPhmEe3xlBz/20WrJiZUDNuwJoouE4+j7px41dpOPDrKNZip9cZ3arrq+3CvV 8Mh8dZTdPlUJQ/1NgpMW35VyM0YBnjuCOUwqLc1SjLWAI3+kBj+LHqK7JRX9CjSiEJ4mv7BjxmdIJ 2GCr3CR46skzJTBsVBAQgS2Bi94z14S8nM/Ag8N0Q9gM5crSkBEbA2wLAtxlCUHjo4D0oGLQvDX8y tQr6nGJ6JGSTLVAE283ZCVk1T/T0VRJOGOO+5DjNJM7zFJI8inf5UnCCCCL/+d6Vu7WVeSkyGmUCT Az7R7UVA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhmV2-0003nz-K0; Tue, 24 Jul 2018 01:52:28 +0000 Subject: Re: m68k allmodconfig build errors To: Andreas Schwab Cc: LKML , Geert Uytterhoeven , linux-m68k@lists.linux-m68k.org References: <28ebe45d-3dbd-2a82-f537-b0725f7a2bcf@infradead.org> <878t66idai.fsf@igel.home> From: Randy Dunlap Message-ID: <94dc0357-10d4-c3dc-ef2a-9643f08d2a09@infradead.org> Date: Mon, 23 Jul 2018 18:52:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <878t66idai.fsf@igel.home> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/20/2018 12:20 AM, Andreas Schwab wrote: > On Jul 19 2018, Randy Dunlap wrote: > >> block/partitions/ldm.o: In function `ldm_partition': >> ldm.c:(.text+0x1900): undefined reference to `strcmp' >> ldm.c:(.text+0x1964): undefined reference to `strcmp' >> drivers/rtc/rtc-proc.o: In function `is_rtc_hctosys': >> rtc-proc.c:(.text+0x290): undefined reference to `strcmp' >> drivers/watchdog/watchdog_pretimeout.o: In function `watchdog_register_governor': >> (.text+0x142): undefined reference to `strcmp' > > GCC has optimized strncmp to strcmp, but at a stage where macros are no > longer available. I think the right fix is to use strcmp directly, > since strncmp doesn't make sense here. Hi Andreas, I don't see that all of these string compare fields are null-terminated. How does one convert strncmp() users to strcmp()? thanks, -- ~Randy