Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3044pxu; Tue, 15 Dec 2020 12:43:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJy57I0exJ3NkrTn4gLxRMsRRZWmnSMeuZYkE081KQ5CPZOi1vhZmBAbjr4aMR28AD7iipJM X-Received: by 2002:a17:906:d19b:: with SMTP id c27mr28754025ejz.234.1608065029892; Tue, 15 Dec 2020 12:43:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608065029; cv=none; d=google.com; s=arc-20160816; b=u/aVSOGaeaP770tEw5CY0uUaMNL+wcGjvZnegfAJWoDA89nrl3weZYRUSHmW64xk0M 8GLGtT16UDKujesW8QmCkpCgzHemW738T5IJpxZstc/ban6PWjupQgPLDQ/p0uhSWGa6 nwJy2h3xnIXUA+CEpuuIYmXAujkE/2lMK+gLcZWWSutIEKrw7lDGrnfbVEm+pxgUQcST zcznCdtPiJZ3w+IkI7oKaS/sqjh/JdaOFooPWDQCJz1LjqH1ZR/vt5OrgLYVpIcxJ4JL 6NsA7uXBlAljXm0XwkNFbmvxgazQ3Ga/M1kRTMsKQBn3L1veOIi2hoUrso0v8Mbgbkr0 Ix0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=AS0Zs8YSOhhb3ZWY+G0dWzbQ3vHgc5+yY4J4G8oSi4I=; b=jdAXZ8OmBY+aAXHJYhnkRGYDgFXucyRdJWQiXdogN3WDZYOr6yNqRkTBNNGxNwkHGK yaNMoXijy1yegQgSQDrzRzpYO14dATJQRnEqJDdUqV0l4oMb0WyGdM7o2EPmys+Fb92y N8DLObB+Q0yXgemf/bfAvvBTjWDceVlEh2fceKXxEsh8KaCTZGVM+8Vm+Sf/l8XrETYn sf2rXoVx4GfqjtNR4uPh5C5z4JBYdEsZuVHnMLvytC7wQPNAPu64LxiXe7bhdCNOu/rE OlzPiMjfiPgJTfwFkpVpXUncyOlN+rES7zZPcO7pfDLnJi34ztpNdnhBlwdflAhoiGvH m3JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sEro0g+Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t19si1493805edt.253.2020.12.15.12.43.20; Tue, 15 Dec 2020 12:43:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sEro0g+Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728060AbgLOUlD (ORCPT + 99 others); Tue, 15 Dec 2020 15:41:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728534AbgLOUjs (ORCPT ); Tue, 15 Dec 2020 15:39:48 -0500 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31844C06179C; Tue, 15 Dec 2020 12:39:08 -0800 (PST) Received: by mail-lf1-x143.google.com with SMTP id w13so42838139lfd.5; Tue, 15 Dec 2020 12:39:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=AS0Zs8YSOhhb3ZWY+G0dWzbQ3vHgc5+yY4J4G8oSi4I=; b=sEro0g+ZjHeQTgcln2MpCwYbPn9CPqt+HwqRjaFsZt9FLPMHGGeY9ovzYAyQV/1UgK f5M7W5Ixk3dLta4uoRi5LkpvFl++2+uWBNYbJMcoHnQRBqqSq/mlsHBEOUM6Juq66FR2 E4dTaZdbMFbh49g3wcFYeiNzyh+k3b9zz+gWiDn1DhwAvDCN2SBe4WbxUIR/ITYsM0U5 4htpxwvlLRHXptxdtXOuojXbhqftLDGdyfGc6fmTiIhUl93v9pWOqqUNtAS9N6siYish HpmjGPXZtfxJid14T35KATGAvH2XFSMxCGTUf1GfAgfrohF7dov6nUyIBq69PTiqyw1F dElg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=AS0Zs8YSOhhb3ZWY+G0dWzbQ3vHgc5+yY4J4G8oSi4I=; b=mgEDhJ4jldEurngPNgPIixTZJ78ZBPTnT6oqz3iM1pNMmBaw+cx3pGyCPstEMiseBM vySlzd8u2+cHpGixAUezAx1fiUfXAWBG8LFvYiIdwLXYUlJBH4MdPpm9BkdD7v3YZ3x4 riGgf9QV04WdGNjorpKUmr6h26DVjEV5zyCORANLNyvYvnPqYvMrxCS54z73jqHeRJVo TxDCkIiwEU8w9p3nIg0f4uzfxkakeeg4PjN3PxdssRdZD+FdxG8Msw3vfLn9UZoabWKy CEShnAfy53vij/89PJqgLDZwoPpjFV/wivAoduCqLox7irDvDCGjc5ywNuigs0PFa98V klag== X-Gm-Message-State: AOAM533MzAJMzDUPfymoCPROhgTKFw0Q39nOi8hKlfvSTVtNM+RGaGVJ vNkGHDK4NClLriw1pD7mIq8= X-Received: by 2002:a19:430f:: with SMTP id q15mr11627507lfa.6.1608064746751; Tue, 15 Dec 2020 12:39:06 -0800 (PST) Received: from kari-VirtualBox (ip212-226-140-26.adsl.kpnqwest.fi. [212.226.140.26]) by smtp.gmail.com with ESMTPSA id y20sm1600346lji.86.2020.12.15.12.39.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 12:39:06 -0800 (PST) Date: Tue, 15 Dec 2020 22:39:04 +0200 From: Kari Argillander To: Christophe JAILLET Cc: maz@kernel.org, tglx@linutronix.de, mripard@kernel.org, dan.carpenter@oracle.com, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] irqdomain: Add documentation for irq_create_of_mapping() Message-ID: <20201215203904.iilkgwyqsyatryln@kari-VirtualBox> References: <20201215200747.148439-1-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201215200747.148439-1-christophe.jaillet@wanadoo.fr> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 15, 2020 at 09:07:47PM +0100, Christophe JAILLET wrote: > +++ b/kernel/irq/irqdomain.c > @@ -858,6 +858,15 @@ unsigned int irq_create_fwspec_mapping(struct irq_fwspec *fwspec) > } > EXPORT_SYMBOL_GPL(irq_create_fwspec_mapping) > +/** > + * irq_create_of_mapping() - Map an interrupt > + * @irq_data: structure of_phandle_args returned by a previous > + * of_irq_parse_xxx() call Start with upper case and use periods. Also next line should align. > + * > + * The resources allocated by this function should be freed by > + * calling irq_dispose_mapping() when the mapping if not useful > + * anymore. > + */ Maybe "mapping is not" or "if the mappign is not". There could be lot better wording formatting also but everyone would still understand. So it is ok.