Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1401470lqb; Thu, 30 May 2024 09:06:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhpmrIWHDHA+zVpeBorwrxheg1WbcKYAS+w9wrPiRMhyCxEdY28uSV0FmIMxa30KNMTnrXIVuUqO2VWSWDhi1EyDFOXqo8bSosXfwKyA== X-Google-Smtp-Source: AGHT+IETmsDfUmuFUhgEKRMrwFtlkbvtB9CgaZ3jUCBQlmocbngcLyGIZ2llY0eiqiIC32ex4rqx X-Received: by 2002:a17:903:41cd:b0:1f6:f05:7af with SMTP id d9443c01a7336-1f61a2e4498mr24917315ad.68.1717085212491; Thu, 30 May 2024 09:06:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717085212; cv=pass; d=google.com; s=arc-20160816; b=IWgCn7AR/o3hrUQ3EVbs8I52p183dYP6ZCp5f0+muD8sEW87uucb2+lAxc0DGH6+q1 RCblOd2nMocXbZcrET8TC1RFOfnXuNuTBwKlj9GTrLtbRFlJAsmkfTaq0Sr8pRgdphRT ma50A/PMvHX17LkcefSfFMAlFYS/jNLKDeOVlyK0HeF5MpMfkwbhSFVtAlBjsHKJ4YEa /MM10zHlrZDvbn4jdUfqwwVXMkNboTgAI+KZQyQDo1gXLhpuFyIFt4tRR5qssPgV1b3b /BkFzHFxlzruW98bfI9mj19bR1dCa8deoI8kbDastw2DKJm1ec18tc9SLTLadp9VktJl R0pw== 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 :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=IkpVVDRX1kDDM7sB/ftX6eW70ixX7+jS9JUBqKb15n0=; fh=PYJ+Lt/TWe1WJqJoHiLiVzt/vAmGHw4a96Yo7sTv6f8=; b=uQqDxXiP0GXzmI6skMEkgOYYnkApGgNYBiNrsaL45CDkWwvC/Y9sL77x53SPVWPyDV 6Lwk6j9dy5f8iUNRzwEoJFPjCYA4u8ApL0+31iHfTOTXeZAmZF7RmyhwzpCXF5TIiqQj /D0DrOnFabtqrZgFxD8VO0oXRbOEEF/V/HSDa6a8b32lE55QZiouG/nfPZa0DrCh+C0c zT4WHzjV2ohKKCIKQRwfD/2/eTrQ35gM2JJ81JHFLVOI+kRtpf/T8eCenkHD3lWdjuIg 9dnEABODEbftjIGjLXNHFYi72udAO0IrqWUAqUPBNvRiETdFt6SiBlB4euzgw8ShLleH r5BA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cknow.org header.s=key1 header.b=wJUjrLy3; arc=pass (i=1 spf=pass spfdomain=cknow.org dkim=pass dkdomain=cknow.org dmarc=pass fromdomain=cknow.org); spf=pass (google.com: domain of linux-kernel+bounces-195634-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cknow.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f4603f0a68si106565245ad.652.2024.05.30.09.06.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 09:06:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195634-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@cknow.org header.s=key1 header.b=wJUjrLy3; arc=pass (i=1 spf=pass spfdomain=cknow.org dkim=pass dkdomain=cknow.org dmarc=pass fromdomain=cknow.org); spf=pass (google.com: domain of linux-kernel+bounces-195634-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195634-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=cknow.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 BE680286D9A for ; Thu, 30 May 2024 16:06:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 78D1620B3E; Thu, 30 May 2024 16:06:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="wJUjrLy3" Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (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 D41B0208A7 for ; Thu, 30 May 2024 16:06:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717085204; cv=none; b=l6WyChKPg6VcGmuKRs3XkenzGtbohxJtxvDiWvpreMbplvJjMQb0EiXI/mbwWMfrYfRRUpAiiuid9zwBEtDJdwBgWQPidunNkBGdW6glz8i3vw4zE3d0bpFwtrWfq48MyWgmemsQ4XQ4VJeOsuOtHaJblCCBGUSnrSA3ELPU9pg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717085204; c=relaxed/simple; bh=igK53oKZs0m3P4rVmp44qLs1z5GN+0iaY7oPimwHm94=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=EzFNBeaWsX+fdEFQ4BNJYfL0dJah4YcQ23jfHxTJtZKXh+DFk8XuvnVugM84G3U6kiGfveXR6q5gXalfKXqoa2N33XWIz28IYiHiY7uO9POlO4EaYvf4zXly9O9eJsvSpF/pgR4wagLoqsOw9HUR/5UaxaMFfKVj52Vn6wjzfJ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org; spf=pass smtp.mailfrom=cknow.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b=wJUjrLy3; arc=none smtp.client-ip=95.215.58.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org X-Envelope-To: dwmw2@infradead.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1717085199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IkpVVDRX1kDDM7sB/ftX6eW70ixX7+jS9JUBqKb15n0=; b=wJUjrLy3+2YiSEmerSzsjcDhbkaXpdtrpPwmGMMDOZDkItwg70GrvtwzxJK0wKVgh0e7/m 3ce3L7Chl6StsARzeBpqpB6y7AdPIMjMgvmEkdbJuu1ttXUSsuJfgWdTOF/bYBpFpu0IbT wePPsWbPsc0sa8cN4HC2lbixG02k3CRNnib99bHrTewWIox6YYQ1Mwa5e4mV/qGwIQHpnk 2E1MRk7Ka6tKfqOV+dfQU5pdMauHluYpAJn+0RMyQ0mOi8+DoDcRLmfIh4oaZUbNLcq+yY 2CCJ+rkKB7vQiZCMYv6qFuFkgfL4Vnw14SoCvcL29/J/VI+g2q80RJZv9tKDmQ== X-Envelope-To: baolu.lu@linux.intel.com X-Envelope-To: joro@8bytes.org X-Envelope-To: will@kernel.org X-Envelope-To: robin.murphy@arm.com X-Envelope-To: iommu@lists.linux.dev X-Envelope-To: linux-kernel@vger.kernel.org X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Diederik de Haas To: David Woodhouse , Lu Baolu , Joerg Roedel , Will Deacon , Robin Murphy Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: device_def_domain_type documentation header does not match implementation Date: Thu, 30 May 2024 18:06:28 +0200 Message-ID: <4190999.HFuNgkhpQd@bagend> Organization: Connecting Knowledge In-Reply-To: <32921840-43d6-4ad9-99eb-aac32e67e04c@arm.com> References: <14311965.TaHA55BQu8@bagend> <32921840-43d6-4ad9-99eb-aac32e67e04c@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1915108.mHXZh0l9D7"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Migadu-Flow: FLOW_OUT --nextPart1915108.mHXZh0l9D7 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" From: Diederik de Haas Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org Date: Thu, 30 May 2024 18:06:28 +0200 Message-ID: <4190999.HFuNgkhpQd@bagend> Organization: Connecting Knowledge In-Reply-To: <32921840-43d6-4ad9-99eb-aac32e67e04c@arm.com> MIME-Version: 1.0 On Thursday, 30 May 2024 17:49:17 CEST Robin Murphy wrote: > > But neither updated the documentation header. > > TBH it could probably just be deleted now, since the > iommu_ops::def_domain_type callback is properly documented in iommu.h, > so individual implementations shouldn't need to repeat that. It's also > never been actual kerneldoc either, since it's a regular "/*" comment. > Feel free to send a patch :) I leave that to people who actually know what they're doing (I'm not a C dev). Cheers, Diederik --nextPart1915108.mHXZh0l9D7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZlikBAAKCRDXblvOeH7b bsBxAP47912RndyJocsLNJoEMtgERD+mtcFij9xDHF+dH6cfXgEAjHH7PN3HG1To 57bH4sJEkpYWrgJAGoLMm8LJRjfkwg8= =3PQZ -----END PGP SIGNATURE----- --nextPart1915108.mHXZh0l9D7--