Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1038535lqm; Thu, 2 May 2024 03:32:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUCafhJSFBZeokuf+5GYMOl0AozDAtj5MV9angfBrB8cX+T1KRq0D7MCMHcwRQTAEk3wt7Ickhtr95fLeftj12gleqR8b69LqvQx+LtvA== X-Google-Smtp-Source: AGHT+IHNcO2rRrerbJabWrxMCKxdGPyvBSXC1LXegGlv06D2rBEodOEPMmdATUEXf0iT2enL06sz X-Received: by 2002:a05:620a:9c5:b0:790:f883:dbc6 with SMTP id y5-20020a05620a09c500b00790f883dbc6mr5310459qky.2.1714645928573; Thu, 02 May 2024 03:32:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714645928; cv=pass; d=google.com; s=arc-20160816; b=Avwru4dV3Vgtw6sNA6/g2GvPqRG9c9sH6pr/q9aj8YugsGhRG6pn5CYPtPSZfnKGwG g7+wFXT0SzCReKgf9lP2+Th0Y9CnupbESaxyh4Hesz5yxE4AYROfFxZgzZbSE7BbNype s95EV2F66EK+qKZFvtVKeJN7YvjqIeCMnwEhahATCHvqICOupkW6wzeCyKprRzpB0NNL HYO3nA6q9kryQZi1vXtEx4EC9IIf1oPN1hVO4ZqgenpwlbGznNcGB9AihB3x+jIW/znF Ly8Uli0LGJFTSevgd3v+15+EF2fonhORk/z39unDkMf3mNb7EnpTNDxjf6YIZerXw8D4 auIA== 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:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=hr8bu2LObnNnEnBECK9K132QleQOiYq/S4hpvwrzk8Q=; fh=b3KpIcS0PFApE9ZYQYUwJTtSRiw0f4chIjEgABGMxZA=; b=RC7hPD1+5XDD0QzcPRdHhsz73qxVz3ATXhNEVm41ZQoTQGwxudrQWMmb45fsNi0eSj rRamo1GWqYdwyIe4DdZe6gKJhdIspUUoavEp5fofpAzxcmmfgCooYiD5oO2UOuJmcn/t t5lMg4OAqQOxi3We+jbP+zEFSAo72S5CUgNCQFYXLFTUw9XS6f7zjtwRjsPBfzsgSwfp nXdpcznA0kfT17wrvPE7lklNBRNdpBKodp8O+PxQAqZ0t+UdHYx7epZLo1DdwX+Q/E7l z1Qxvq9+x89/zcOyEVDaO5A6//flDVrB88aDIT/SyzjLCafWzNnhl+YehaVN12behctH b+Cw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@fu-berlin.de header.s=fub01 header.b=bpT9eH6W; arc=pass (i=1 spf=pass spfdomain=zedat.fu-berlin.de dkim=pass dkdomain=fu-berlin.de dmarc=pass fromdomain=physik.fu-berlin.de); spf=pass (google.com: domain of linux-kernel+bounces-166307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fu-berlin.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ye15-20020a05620a3b8f00b0078d67e70f5esi612687qkn.222.2024.05.02.03.32.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 03:32:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=fail header.i=@fu-berlin.de header.s=fub01 header.b=bpT9eH6W; arc=pass (i=1 spf=pass spfdomain=zedat.fu-berlin.de dkim=pass dkdomain=fu-berlin.de dmarc=pass fromdomain=physik.fu-berlin.de); spf=pass (google.com: domain of linux-kernel+bounces-166307-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=fu-berlin.de 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 33F621C22512 for ; Thu, 2 May 2024 10:32:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC5EE59B4B; Thu, 2 May 2024 10:32:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=fu-berlin.de header.i=@fu-berlin.de header.b="bpT9eH6W" Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (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 D91835A0F8; Thu, 2 May 2024 10:31:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=130.133.4.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714645922; cv=none; b=Yee6NkDGm/zuAm2IXF4M2/VUkssoMdn2deqn55aQ1YaantHBZ/ckhePeF7fX9LmXTwJHatc/D55hH6QP+IO7JXkoOv4eq1MsHVx8fBpR4C/gKPOK8p+hjFr/dPjXVzSzndDpRfR5VUsfZGuKdXAZ+mmK5xWvmjO1D3B5w6uqsIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714645922; c=relaxed/simple; bh=Da4+eR7XE6IbAMa48VcRB0SaIiLrNv/1XK4YaJFKaDE=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=u3UbeOada9X7iuwjWhJM5CqwSQGf9zEMeT4yF2skrmcnvaObcZSlO8BMXlKyGgrq3dwHI84gGnvsesAAEbAp4XALQuYCXeRMJflLx3wNJY0o5Al50khgbybHwyGXbwDi9j7frZU2aiBxOevNGesz9fx39RVCj3wQkkHj+y70vBY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=physik.fu-berlin.de; spf=pass smtp.mailfrom=zedat.fu-berlin.de; dkim=pass (2048-bit key) header.d=fu-berlin.de header.i=@fu-berlin.de header.b=bpT9eH6W; arc=none smtp.client-ip=130.133.4.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=physik.fu-berlin.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zedat.fu-berlin.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fu-berlin.de; s=fub01; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID: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=hr8bu2LObnNnEnBECK9K132QleQOiYq/S4hpvwrzk8Q=; t=1714645918; x=1715250718; b=bpT9eH6WEhi9Vi/NL4VqxAFRcOBYPdOitkssTHyog2ir8/zBZfUs87iK1s/kEWc7s9GmsX5Dh45 GvS1bahrgHdG3L4PgtmvE8f3E/6Zmio789+3bn4VUJEgV8szNz+SaRhRxUwHrMcy5V7wNdTandT2D QxZ2YuBAC1jB+EGPANGuzpNOBiISmhh0YZheM0jS13t4PYfvKqBFIEv450RJDChJ3t3DbmgHaM7AD AMWxXk1JIeaDjbpNxzGtoFvvIU3NO+TmiJopFwRigQuPRGLnvVbZgcZ9yiikAi8pmlvcYQyzFC9ge l69AOWMCknuYZ51xHFS/f7IaMhdQt05XFRcg==; Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.97) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1s2TjH-000000020K0-2jRF; Thu, 02 May 2024 12:31:55 +0200 Received: from p57bd90e8.dip0.t-ipconnect.de ([87.189.144.232] helo=[192.168.178.20]) by inpost2.zedat.fu-berlin.de (Exim 4.97) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1s2TjH-0000000082Q-1rpx; Thu, 02 May 2024 12:31:55 +0200 Message-ID: <98810f30345bff398b23f61ffcf5ecb874402c0a.camel@physik.fu-berlin.de> Subject: Re: [PATCH -next] dma: Add dev_id parameter description in request_dma_bycap From: John Paul Adrian Glaubitz To: Yang Li , ysato@users.sourceforge.jp, dalias@libc.org Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 02 May 2024 12:31:54 +0200 In-Reply-To: <20240419090259.39542-1-yang.lee@linux.alibaba.com> References: <20240419090259.39542-1-yang.lee@linux.alibaba.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-ZEDAT-Hint: PO Hi Yang, On Fri, 2024-04-19 at 17:02 +0800, Yang Li wrote: > This patch adds the missing description for the dev_id parameter in the > kernel documentation for the request_dma_bycap function. >=20 > Signed-off-by: Yang Li > --- > arch/sh/drivers/dma/dma-api.c | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/arch/sh/drivers/dma/dma-api.c b/arch/sh/drivers/dma/dma-api.= c > index 89cd4a3b4cca..65005d348877 100644 > --- a/arch/sh/drivers/dma/dma-api.c > +++ b/arch/sh/drivers/dma/dma-api.c > @@ -116,6 +116,7 @@ static int search_cap(const char **haystack, const ch= ar *needle) > * request_dma_bycap - Allocate a DMA channel based on its capabilities > * @dmac: List of DMA controllers to search > * @caps: List of capabilities > + * @dev_id: Unique identifier for the device that is requesting a DMA ch= annel > * > * Search all channels of all DMA controllers to find a channel which > * matches the requested capabilities. The result is the channel This patch is now obsolete since search_cap() was removed in for-next by Ge= ert Uytterhoven in 89256d73 ("sh: dma: Remove unused functionality"). Thanks, Adrian --=20 .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913