Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp211750rbb; Fri, 23 Feb 2024 18:55:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV+a8HotQYFcXHoFEdfKSiv4I/C91OBUvYK1ixCI6TlgPrf3itQ728jico5rUelIKEElrHVMj3gjdVV9oeblrUI5KJc96/6w4+KU7nN9Q== X-Google-Smtp-Source: AGHT+IFOY1SVKXYadZ9y0DDHusDgKPxgFxlUe+cIimwgtIyuP4oMz7ls/Ca7fRVhf8/dJCnFxErt X-Received: by 2002:aa7:d84b:0:b0:565:2183:d28e with SMTP id f11-20020aa7d84b000000b005652183d28emr807093eds.42.1708743312175; Fri, 23 Feb 2024 18:55:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708743312; cv=pass; d=google.com; s=arc-20160816; b=Hzpw+3XpGgly82scg+AFPEI6wZL+3kCXuwYrzOJa89Q+DKakI8x4tRxYrQZDNCFA7S qvXEl2sJclQWlz0iY2Anur271obfo8/AJ34cfhNO0666VZ0j3DibsMhVmmJoVbrk0t8C ELe9W43AlfSkbx2H0awjANOp3UIT4QwYyGB0atyYMC0X2mitBVo9Ip027epyw0RvuovG UNxYu82xsM1tIgtZq2kINp/9SuPaOfD9LHDgy3HbtE0Tq3TIqdphKU+lWrjm0X3vEdtd pWDygf0ltgvJTcUHHzGnEYV5SZ2BSqt6ZfVk5EIkNc2FUx1Tkj4519WE0erRcjQOj8EB 2dEA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date; bh=72GJPe07rhU++yF76WZJA9hQcE0onIJmNDfai2pbfdo=; fh=8ataJfA0nECUY5TRPs092aODbyBk+DHJK6H/pnX6Q38=; b=Y5OfLUsf8V38HC3uVySjAHP2GRdUWGsbpKA8FKkkVyw+arlFvd+nGycInRkDjBvSLA 1y+bBgk3mrf6zgOPnZsOSHG4jf3kUo5AlezmkFiOeoqZPEZcipB6IeIKGEutSZs6BFxB i9ezwiNWDODHW1BR4YkW/LUinlKNOIQzxf0IoYvhawCTiKedmJDYrLM3NB+o/wFgJsGG JVuf0th93wHpSgroLv7LZQVfGlvIgv4aDd00hyzbr1JAAsC8w3FVKZnyxeGYoHcslI5C 1tfXI9UF5y2nQF83bDqb4WhP/OLqe/gWyhIvs1P4Ft7Xrgt/QHa4oqVcHhzWGSp0+mgA UHhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-79449-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79449-linux.lists.archive=gmail.com@vger.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 r17-20020a50d691000000b005647dac6af5si139075edi.312.2024.02.23.18.55.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 18:55:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79449-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; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-79449-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79449-linux.lists.archive=gmail.com@vger.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 D2AAE1F23998 for ; Sat, 24 Feb 2024 02:55:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D8E1D125AB; Sat, 24 Feb 2024 02:55:06 +0000 (UTC) Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1064910A3F; Sat, 24 Feb 2024 02:55:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.133.224.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708743306; cv=none; b=SplXA3/5L4uO02sTudRF4NI3xZWkApr+Ddzccwmil2hjFRwbwD5MEsDq67+LAOxisqmlBKZuiJS2B9YSL4qON09sc7o9XMkjABNpzpMFqn/hP+don4wqhJd0rmbGATY7za/315XrRpPmyLnnxFexO0ntxCBwqIr6w+ZhW8C9PBk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708743306; c=relaxed/simple; bh=o9PwcRVz3DFLQYky+sxag4JuWd3kakiCVBE3JNsT4Jk=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=cezLXuGVSujLyg0vYDrqRAgw4Im/LNhoxFTosadGN2o1oDsZa9SRwrs/TBRviOqH/cQLCO0SXoZDyoamg3Kz0D/kHd9RmxPA1XpeNErxu6lcsGxivIqOx8fHC3kHzMrRBAQPGBe+gaQd2PJIQGALE3I1JlKQh3YTZ/48olJaoW0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk; spf=none smtp.mailfrom=orcam.me.uk; arc=none smtp.client-ip=78.133.224.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=orcam.me.uk Received: by angie.orcam.me.uk (Postfix, from userid 500) id 3456592009D; Sat, 24 Feb 2024 03:55:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 24EB192009B; Sat, 24 Feb 2024 02:55:01 +0000 (GMT) Date: Sat, 24 Feb 2024 02:55:01 +0000 (GMT) From: "Maciej W. Rozycki" To: Sam Ravnborg cc: Miquel Raynal , sparclinux@vger.kernel.org, linux-parport@lists.infradead.org, "David S. Miller" , Andreas Larsson , Randy Dunlap , Arnd Bergmann , linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/6] sparc32: Do not select GENERIC_ISA_DMA In-Reply-To: <20240223-sam-fix-sparc32-all-builds-v1-5-5c60fd5c9250@ravnborg.org> Message-ID: References: <20240223-sam-fix-sparc32-all-builds-v1-0-5c60fd5c9250@ravnborg.org> <20240223-sam-fix-sparc32-all-builds-v1-5-5c60fd5c9250@ravnborg.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) 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=US-ASCII On Fri, 23 Feb 2024, Sam Ravnborg via B4 Relay wrote: > sparc32 do not support generic isa dma, so do not select the symbol. > Without this fix, the following patch would break the build with a > missing prototype. Not according to my observations, kernel/dma.c is always built for GENERIC_ISA_DMA configurations, so: kernel/dma.c:70:5: error: no previous prototype for 'request_dma' [-Werror=missing-prototypes] 70 | int request_dma(unsigned int dmanr, const char * device_id) | ^~~~~~~~~~~ kernel/dma.c:88:6: error: no previous prototype for 'free_dma' [-Werror=missing-prototypes] 88 | void free_dma(unsigned int dmanr) | ^~~~~~~~ are issued regardless (and FAOD with PARPORT_PC unset). I can't speak for SPARC support for ISA DMA, but it seems to me like the second sentence would best be removed, as would the Fixes: tag (in favour to: Fixes: 0fcb70851fbf ("Makefile.extrawarn: turn on missing-prototypes globally") I presume), and possibly the messages quoted above included instead. Maciej