Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp505138rbb; Sat, 24 Feb 2024 09:43:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW+QTaT/cQlLngJWzC0EHJ30ZYPHdfcRv/YBKaetP8e7p4SaUdBDz/eU0VelZnUM9lLG00LY/MSlJC4ZzOuhrNc+OS4/B167H/4Irme+g== X-Google-Smtp-Source: AGHT+IGLV8Pz8bjHrvp1/pcgAwT1wUGeVQ584eW51+v4ELBfgLqg3YDneQfN96e5Xz1tLlisVbd0 X-Received: by 2002:a2e:9112:0:b0:2d2:3aea:bc7b with SMTP id m18-20020a2e9112000000b002d23aeabc7bmr1402830ljg.35.1708796626597; Sat, 24 Feb 2024 09:43:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708796626; cv=pass; d=google.com; s=arc-20160816; b=KWrLwsXDEfbDymXdZjQsGUopjQ8mH4B/n0g7ps3DTmsAQTpDu7/Xaw3PLcHYMCIKxo ndm0/3uhum48pjTtT+ibpojoIEugmTXcq70emcxE+ETQ+kH3uOR6KGpvMltnc91/o6G6 ZTSL0GEtMGeb2oUUaiipbwCSoBr+aQcfJuHC7PNv5OxrLXDoTvOb/fAWy6ni0VWJ4RWn /bCaqiOGM6JHCD3GjPm9fuiabXCTGgwrBVoqV6C+puf5vQWNDBwSWZYPiDoyBMuNl9UB +TV8pEH4Pp8iSzdq6pygWwfNTMGAwZ82e1QorjEFE39E95arkiW99IpMI/N0Gw43A1sS AjHw== 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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79768-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bm6-20020a0564020b0600b005645a23547csi628466edb.560.2024.02.24.09.43.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 09:43:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79768-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=@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-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79768-linux.lists.archive=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 581181F21B91 for ; Sat, 24 Feb 2024 17:43:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97F584E1BD; Sat, 24 Feb 2024 17:42:31 +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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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: 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 -- 2.34.1