From patchwork Sat Feb 24 17:42:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg via B4 Relay X-Patchwork-Id: 205914 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1253075dyb; Sat, 24 Feb 2024 09:44:03 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVeLzDAR/i5fRklRXBTI5ntOTsoSWR0PqsJe9YqJwUnFJKENsVZU/8Ff/FWQbgG5kwLMqrlGwneIZuYQv74a083zeRCAw== X-Google-Smtp-Source: AGHT+IEQmaR9cFN7Cxp0YQYvkPCP/UEcuhSm7608iho9gHTtsMZrJhJk3iKUwkZBHW61bmzZjxhN X-Received: by 2002:a05:6871:2b04:b0:21e:bbdf:8b94 with SMTP id dr4-20020a0568712b0400b0021ebbdf8b94mr3662932oac.37.1708796643491; Sat, 24 Feb 2024 09:44:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708796643; cv=pass; d=google.com; s=arc-20160816; b=S54rcHa5LDMMkRqMs7RnyyW8HIj55KiMAZLUnz7tEptUoFo+kfO6e33uu4uCEUelaU paROulh1qS73m5uhGv21tXda7BLoyzibMvqz0qTmh+bgP5S9kpJTKBdkDU3/uEWwDoe5 uuajRXssjKJC9N26I+mtUqjZS2+sadKYKOnmPPQrhfmsesUss1icmPyEbCQOGLYq9XSW 1AhpSIV7Klw9OHImj4bs727ED7hTz18o0N/vci96bg+1xRHe5rXgBDNhfbRDE/duBq4W lcu91HZIcftQKjhDpxHzOVNZ9SgBcXsS2IcLeDGfsRSuyAf+XkOaxl/W4wgcchhWIdhv Ixmw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=znUJV/NADeyhFc4Ob5OZEgisoHIeh9Fz/mBlRZdw2sc=; fh=axaiTczyEibQIAZR7tL5HdXpt5eDXppl7AUtI52L8OM=; b=PODmZa/YS+aq6361y/NYXRuWqJBIcSckEN7Lq3LMMo5hlR4Azw12JNMHFYa2tJUiLu 0tKZoi8CoGUt9L6SzjfF5qS3FpHwIU3wXQ9Ts7LVjCxBIKzDgm8rQhhomMvWcgt+e8ic 0vA4YLaKT+roLudYTLq1kNogflan6jLC/ZMBeyFWQZloqLek2keWvisapsjvitoozGNw dXVMV+uHtwCBaBusPeQKrVng8GBociPHpaGB9r9JjndyJxr7CVB9XWt4P5B2OeROZwe5 oTkhA3CKUxLyImRZMWC9USfurM3c3ei9BFcrFxN5Qlub+V0uq6TPOsCBtXa0yNNiISrO zB9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pCZSbrwk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79768-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79768-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id e1-20020a636901000000b005cee178fe54si1169202pgc.222.2024.02.24.09.44.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 09:44:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79768-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pCZSbrwk; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-79768-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79768-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 497682827CD for ; Sat, 24 Feb 2024 17:44:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 53D294EB44; Sat, 24 Feb 2024 17:42:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pCZSbrwk" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 709B3481D0; Sat, 24 Feb 2024 17:42:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708796547; cv=none; b=jwM1l/7KJQVNopp3tQfekbjP1vb71dPHVEtc8V9qVeWldwYl/Hluy6A2NS6T+aCwg/UtZlcRqDIj7vKWQ/r1uV+x6N3pK1WBAKWN8EDzNT+d2nLr3Xx5JCRTYxebLPl2+TqVX9udyrwJE5ANhGVfKnYmew6K1HYTIaMKDiamvlo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708796547; c=relaxed/simple; bh=u0AAmcTQTypGp4uSwwmS/uHNMvpmNjjwLex7HeF5FKw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OIcKlnm78ckSUNfnsmqToafOa7LA0KrTUpFhW5svbUE/JPH17pj9z59MMGH8Y69M27huBWAzB/3oXslrHaJy3fIAwEhQor8/hjShwe7N/qROR4XFsZ6ndGKrBi4xSefODq5kHNGYlBEp4MCyxwwqDbRDc3Zp6hykig720QFhsXc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pCZSbrwk; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 27307C433B1; Sat, 24 Feb 2024 17:42:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708796547; bh=u0AAmcTQTypGp4uSwwmS/uHNMvpmNjjwLex7HeF5FKw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=pCZSbrwkL9/e642Vk6RPAVvF4CN8L+fJ6tAFLW54+TMFala7V6bWP1I69Pu3mEmFF JPoheV03sIOIngy8axzqi0bzjnF8iq6KtA3LQUXaK0SkUkYFDc9VVL9rjD/NFSd8Q2 V29KQSL+7vlctvLgtH3n3GkKhxgwBMFZbvWWxKBOaG+P1ZbfsiZWIOJKRk01/3CuF3 Z2O9Db3r2ANcm+FX7jTIQJnf/Ewv3gD91LEGZOPJqZQp3JewvfPtgacdKlyGYzzykb HUYpFbB//sX7UKx+PaBGDgW97YvMo5nTLlH9V+NLx+d5bGA87hffoL6waZWpZtarTi 6AqtkiDnIPiMw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15956C48BF6; Sat, 24 Feb 2024 17:42:27 +0000 (UTC) From: Sam Ravnborg via B4 Relay Date: Sat, 24 Feb 2024 18:42:26 +0100 Subject: [PATCH v2 5/7] sparc32: Do not select GENERIC_ISA_DMA Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240224-sam-fix-sparc32-all-builds-v2-5-1f186603c5c4@ravnborg.org> References: <20240224-sam-fix-sparc32-all-builds-v2-0-1f186603c5c4@ravnborg.org> In-Reply-To: <20240224-sam-fix-sparc32-all-builds-v2-0-1f186603c5c4@ravnborg.org> To: "Maciej W. Rozycki" , sparclinux@vger.kernel.org, Andreas Larsson , Randy Dunlap Cc: Miquel Raynal , linux-parport@lists.infradead.org, "David S. Miller" , Arnd Bergmann , linux-kernel@vger.kernel.org, Sam Ravnborg X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708796545; l=1135; i=sam@ravnborg.org; s=20230107; h=from:subject:message-id; bh=OWAinB5URH3jM/Z4sqc7e9m3++OQMwYINtdPlTPG+3w=; =?utf-8?q?b=3DIarfFy+3MHxh?= =?utf-8?q?NsZ6KvRnK2UXkA3EcCfDklgPPW35n08X0QuMF3S7OCNXV+xsMYB11dgu5G8uxlWu?= oHxA3Ud3BP7eCnoq1lfEMf3GTDc4b3d1ofPjxcyUBNxO04uvCIoj X-Developer-Key: i=sam@ravnborg.org; a=ed25519; pk=R0+pqV7BRYOAeOIGkyOrSNke7arx5y3LkEuNi37YEyU= X-Endpoint-Received: by B4 Relay for sam@ravnborg.org/20230107 with auth_id=22 X-Original-From: Sam Ravnborg Reply-To: X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791803149206916047 X-GMAIL-MSGID: 1791803149206916047 From: Sam Ravnborg sparc32 do not support generic isa dma, so do not select the symbol. This fixes the following warnings: dma.c:70:5: error: no previous prototype for 'request_dma' [-Werror=missing-prototypes] dma.c:88:6: error: no previous prototype for 'free_dma' [-Werror=missing-prototypes] Signed-off-by: Sam Ravnborg Fixes: 0fcb70851fbf ("Makefile.extrawarn: turn on missing-prototypes globally") Acked-by: Randy Dunlap Tested-by: Randy Dunlap # build-tested Cc: Andreas Larsson Cc: "David S. Miller" Cc: Randy Dunlap Cc: Maciej W. Rozycki --- arch/sparc/Kconfig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index bdbde506c01e..440e53d37d20 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig @@ -137,10 +137,6 @@ config HIGHMEM default y if SPARC32 select KMAP_LOCAL -config GENERIC_ISA_DMA - bool - default y if SPARC32 - config PGTABLE_LEVELS default 4 if 64BIT default 3