Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp800936lqc; Fri, 8 Mar 2024 12:01:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUuspEP/F6MNORVHGLuLGUsEq+kAldWwIQbYaLQYOCIcsXOkEUKYMpK/4vXtml0yvYUndy422T/v+o4oFf778GzYvZfQiFnMz/PFSPQYg== X-Google-Smtp-Source: AGHT+IGIJd8Z3DB8fBMzGdf2wT0Z+AjbdclAoJkeVclOfFjnbRTnF2zeqjYfAw5INTqSPdH4UxHo X-Received: by 2002:a17:907:a0d6:b0:a3e:e678:556 with SMTP id hw22-20020a170907a0d600b00a3ee6780556mr53977ejc.58.1709928082355; Fri, 08 Mar 2024 12:01:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709928082; cv=pass; d=google.com; s=arc-20160816; b=CMLg+e4botJA/mOfCXaJpyCb0d6nMr9TYUb5TF5suC+AFxUACphhTEt2xA8UD6ZQ+q V/F28v4YPmM08ogMg6VmsouxQDkjLL/tx/m0WFbhaVBkk+cnERnRsXugBsKjhmj1lDHB MVSXZZQS53AyKsya+S26YYmxkCbI5panotUSqVlV8Ph9Yw9gCuEM1ZAAw5VgIjnJ1I53 g/OKYiYoOS3xx2CRPO9JZ3SEZdqjE63/glITXEVGRxpnKOuD1A7MSIdQZzfPXxhfb3E/ NMYWRP+fJjcH0gk6cLHmgZZu1jhuGW58Kj1U7S6tydk0Rs23ZBEFvM4+sYeJnRyoLA+F BxeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=yOqRQi6xejXs6u9D48RVVEbkVVuZ0GBOyKmn59Beq60=; fh=kOGUd5RihIS3D9KWC642uwNb/8NYH1nn7SscoJ4IiSU=; b=ze0FiGAJLISFAnScOdrflF7ExjVAZPjzBlOCnMuN5HjRbY6kOOb6uq3zXQdQcTmk/O XEPIhUfneQa1RdjEodMTLpyVywE5mPTlSOxLN4QuP5HotnwzJ/q9Mje1uvxWtRUXtXbI XrqHi7U8PPTLGEg2UsEfVzjrOkoRpgGr2876t/m5gj7YQAwHuyMZ3kmEsMZeGG6lCDlD eUB8WY2i9+HZBHbOQRMmkWQvEv8XTmzLXGQFhxqHAQwajVr1xispY0kUQ3O3PO7ZCC0R ulQ/PvBY/J00MRBcikqiY3mprFUrKrck+OND+rUGiq0XYeFLhyXZ7PA3MTiGFQXj6GeV 51cQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=BBLfivyn; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-97526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97526-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id o19-20020a1709064f9300b00a4340344dbdsi89817eju.900.2024.03.08.12.01.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 12:01:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=BBLfivyn; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-97526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97526-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 12E5D1F22511 for ; Fri, 8 Mar 2024 20:01:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BBCF5B5BF; Fri, 8 Mar 2024 20:01:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b="BBLfivyn" Received: from smtp-out3.simply.com (smtp-out3.simply.com [94.231.106.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F1185A7B1; Fri, 8 Mar 2024 20:01:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.231.106.210 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709928072; cv=none; b=U4tt847MZKsuoJcQLFZXSnKctfToXO5bHldD/3N4fk8D16I4x3cU+PWvVH0rwUjEJqYIAR1sR9+ZvPF81bbtc/1LEjH/7j/O3PGNShTVBYwgnjLztlcO359nJYPmg/oQCPscwTlT8NkhgnT1a5LdblSlOrFGW9c3EVUPRhlrfGk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709928072; c=relaxed/simple; bh=ZwZD3ZA3QydybU1Prb/XLPX5HQcBxy0XFC9FO6xiZiQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cKEYpCfD+tAtmwmw1MwFB1iJPaFKIRBvzwGYjyPbACE4P4o6XE9oPLI0iKakDLkEk/2DEC24LTz2pf/50PXRTDFyUuPdF9y+KvMtYtZluHf0gMCo7KLbM2TOYnFDybMHJILqm5qewy1Au/M8pUpqiHGpcG750cV++rDMKy9om1I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com; spf=pass smtp.mailfrom=gaisler.com; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b=BBLfivyn; arc=none smtp.client-ip=94.231.106.210 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gaisler.com Received: from localhost (localhost [127.0.0.1]) by smtp.simply.com (Simply.com) with ESMTP id 4Trxqs0wB7z6846; Fri, 8 Mar 2024 21:00:57 +0100 (CET) Received: from [10.10.15.2] (h-98-128-223-123.NA.cust.bahnhof.se [98.128.223.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by smtp.simply.com (Simply.com) with ESMTPSA id 4Trxqf6rbMz6832; Fri, 8 Mar 2024 21:00:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaisler.com; s=unoeuro; t=1709928057; bh=yOqRQi6xejXs6u9D48RVVEbkVVuZ0GBOyKmn59Beq60=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=BBLfivynwPjCgNmdrspxPfQTeN5a7MEWfOAgs1i95IUsnF/ohCkT+0AI9QJzc/2wk Ofxx6qbqDSaHGb9QK57HNhZN+pNBw/D7b0ybsuoURoUnd8x/H3yQY375vVi2pG33Qh fdCcT83XLh82z09MXTjIzxRd/Nz1dJvSRlrp/loE= Message-ID: Date: Fri, 8 Mar 2024 21:00:45 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/7] sparc32: Use generic cmpdi2/ucmpdi2 variants Content-Language: en-US To: sam@ravnborg.org, "Maciej W. Rozycki" , sparclinux@vger.kernel.org, Randy Dunlap Cc: Miquel Raynal , linux-parport@lists.infradead.org, "David S. Miller" , Arnd Bergmann , linux-kernel@vger.kernel.org References: <20240224-sam-fix-sparc32-all-builds-v2-0-1f186603c5c4@ravnborg.org> <20240224-sam-fix-sparc32-all-builds-v2-1-1f186603c5c4@ravnborg.org> From: Andreas Larsson In-Reply-To: <20240224-sam-fix-sparc32-all-builds-v2-1-1f186603c5c4@ravnborg.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024-02-24 18:42, Sam Ravnborg via B4 Relay wrote: > From: Sam Ravnborg > > Use the generic variants - the implementation is the same. > As a nice side-effect fix the following warnings: > > cmpdi2.c: warning: no previous prototype for '__cmpdi2' [-Wmissing-prototypes] > ucmpdi2.c: warning: no previous prototype for '__ucmpdi2' [-Wmissing-prototypes] > > Signed-off-by: Sam Ravnborg > Fixes: 0fcb70851fbf ("Makefile.extrawarn: turn on missing-prototypes globally") > Reviewed-by: Randy Dunlap > Tested-by: Randy Dunlap # build-tested > Reviewed-by: Maciej W. Rozycki > Tested-by: Maciej W. Rozycki # build-tested > Cc: "David S. Miller" > Cc: Andreas Larsson > --- > arch/sparc/Kconfig | 2 ++ > arch/sparc/lib/Makefile | 4 ++-- > arch/sparc/lib/cmpdi2.c | 28 ---------------------------- > arch/sparc/lib/ucmpdi2.c | 20 -------------------- > 4 files changed, 4 insertions(+), 50 deletions(-) Reviewed-by: Andreas Larsson Tested-by: Andreas Larsson Picking this up to my for-next. Thanks, Andreas