From patchwork Wed May 19 18:03:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suman Anna X-Patchwork-Id: 12268059 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40832C433B4 for ; Wed, 19 May 2021 18:05:07 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 01F57611BD for ; Wed, 19 May 2021 18:05:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 01F57611BD Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mPIspTnQC8OjBMb3ywBmHE8xfGyykxq1iC/RPh/gxcw=; b=kvlOKZtCdM0i6rBmc5S8aGtFx NGgLbN9Of9dp0+UjjsBp4yHOKZJJOePGV6i6VcS0st5lTp5LCySKh+LdyCnXXccdYWeZXIrcPXQqH /JEtHqoXuZxT4ypApYR5OfrXcdHe/q2KMpZLihcyYwLCCt6KCktENSCUtDkFSOdd300l+L7AkcJeB 0c9tRu9AhoqQbCOaiXYe24qknO1MDlOg5t7WDO591IwolTYsqo6wZNa8DbIqS31uyh0XsoGE5tcUD YyVgyFimmUUun7Q7Et9lMSe5eBzOPPDVKsmtqkgLGYGm5AN3aeH7cH+TbwI1svyE81CLa7jGdFwXu D37iUH/nw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1ljQXX-004ieG-Pz; Wed, 19 May 2021 18:03:28 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljQXN-004ida-Vk for linux-arm-kernel@desiato.infradead.org; Wed, 19 May 2021 18:03:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Sender:Reply-To:Content-ID:Content-Description; bh=3HlSV2DK3wxAkft6ihFeA6Kggp4GxerizBvGiZviwdU=; b=0kzThY38V1Ui3TrkwTpTupmO9T 0O5UPZnHTDRVSLqlVY7XKxe9XPrTALjvK764wIcA50mrzau6yDroNIy3RqKJxDpWA1C8S8ZxkDSpC Vd8d/5xSNhhIvJWBLZW9IzOqOCAxPhIIEH4ioRKM5kAaF0O+Po6kgDzonqaJS1KSZ01pmFiu9ekOr TUTlDW84skL/y+nwKA0dghjhwz8S3P+ebrtWdOXTqFNaOxnxp7ZFj767SzlrCEfWHqb2ob+aT/oUb 7cDUBJuNJEf2hbXThHMlV1UY/4q1lD6q0QsLmHIuEe8gy4Q76mGA1v6+x+S+P3ZI734DarAJssNlt jJNQLv0A==; Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljQXL-00Fg9c-Ed for linux-arm-kernel@lists.infradead.org; Wed, 19 May 2021 18:03:16 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14JI3EFS040221; Wed, 19 May 2021 13:03:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1621447394; bh=3HlSV2DK3wxAkft6ihFeA6Kggp4GxerizBvGiZviwdU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=HbpPnHetHbEtQzgtLbRw8mwxNiU/6TGrUqIdv/MJOuQvIoFXDa1cTS9wZlDsJaIWI Vpi5Bz+Z6QW4H2AWh12TBeBKxZ9rHb6I2hxYJ10v2JAtbq7tC9bCjEf50/JkLcQh77 Y/6tcp771z/PuCm1oJACwEQOSfyH5dVaJ89nkong= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14JI3DkG053351 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 19 May 2021 13:03:14 -0500 Received: from DFLE101.ent.ti.com (10.64.6.22) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 19 May 2021 13:03:13 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Wed, 19 May 2021 13:03:13 -0500 Received: from fllv0103.dal.design.ti.com (fllv0103.dal.design.ti.com [10.247.120.73]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 14JI3DJd060970; Wed, 19 May 2021 13:03:13 -0500 Received: from localhost ([10.250.32.40]) by fllv0103.dal.design.ti.com (8.14.7/8.14.7) with ESMTP id 14JI3DAO104561; Wed, 19 May 2021 13:03:13 -0500 From: Suman Anna To: Bjorn Andersson , Mathieu Poirier Subject: [PATCH 1/2] remoteproc: Add kernel-doc comment for is_iomem Date: Wed, 19 May 2021 13:03:03 -0500 Message-ID: <20210519180304.23563-2-s-anna@ti.com> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210519180304.23563-1-s-anna@ti.com> References: <20210519180304.23563-1-s-anna@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210519_110315_549596_40A54521 X-CRM114-Status: GOOD ( 12.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add a kernel-doc comment for the is_iomem function argument in rproc_da_to_va(). This fixes a warning generated when building the remoteproc_core with W=1, warning: Function parameter or member 'is_iomem' not described in 'rproc_da_to_va' Signed-off-by: Suman Anna Reviewed-by: Mathieu Poirier --- drivers/remoteproc/remoteproc_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index 626a6b90fba2..8c279039b6a3 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c @@ -165,6 +165,7 @@ EXPORT_SYMBOL(rproc_va_to_pa); * @rproc: handle of a remote processor * @da: remoteproc device address to translate * @len: length of the memory region @da is pointing to + * @is_iomem: optional pointer filled in to indicate if @da is iomapped memory * * Some remote processors will ask us to allocate them physically contiguous * memory regions (which we call "carveouts"), and map them to specific