Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp101266iof; Sun, 5 Jun 2022 22:24:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLtKbnhTbQyoxn8an+A+SrJZ56fFY9ty+7PGlSoiLoz4S3gJB+sgzYPF351ZPfueymhgJG X-Received: by 2002:a65:6741:0:b0:3f6:2cca:765b with SMTP id c1-20020a656741000000b003f62cca765bmr19923179pgu.558.1654493062884; Sun, 05 Jun 2022 22:24:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654493062; cv=none; d=google.com; s=arc-20160816; b=vqpk3JPGIPttCRA6/ur0q+BCN/xMR9zjsqU5o8OmWhqauBsFqIz5Lng2ujQnQwYtZu OWKaPXUWAj/ahNpLgjE5sV9cejPzl9a6LI7wRCdYbVDeaIiIo6kDRDI7XO2+fTReiOpd ILgy+7FicnSKrYuuVaP7p+ihEqwL1wIxpVcsJQfohPlbOhkkhXqVQtPKTfLHSKtWnwXb D61Ad+4neGRbdk2DKNobaYQfFVTSXUjyFGL371IcGf44P898cZvOVRLE5ID8VXY1R3Uw JDjGShMIIoGDuUK0y7OIOq+nuiVwn9LuKLeN9Mz+XPzwfcLaGiQotUvxhzZECawMYRJo 7/Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=9JtgIFP/JSkzptVJnUQIWRKL5Yr+vkfP+ZK02UovzwE=; b=f0SSAsmGw+lHJMDKG0bzK5p2FdzdU2qpfviSIBq99afRy7j1wV54+TjCpbSamGZ11V p4VvYOznxznFTm+Rk5+mLzu+06Sa0g8GtxQLpqyfpPX/FBPgNxYll8rqwwPxwMdZFjmp nUj1146przaf6tbila+bRsChvemNTDPtI0WwpTiFYhMUnlDfvkRxprSxIT+ElShNUL5v fW2y40PiXdhVVbCNq6gdGRTTCwLbQaZP8WM57AliOs9Nf/qKrW1ao+Zu0fvlk3x/o78z B8EcJ0+r7BFROVMgWa3GmYrbO3wkV6MM1M0IAApuA0YgGU3eh83WeeE28cZlnhP4xJ7/ LzoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ZP+U9V/K"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 22-20020a631756000000b003fa74d5d33fsi19858607pgx.448.2022.06.05.22.24.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 22:24:22 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="ZP+U9V/K"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 161121B0470; Sun, 5 Jun 2022 21:26:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240854AbiFEKHO (ORCPT + 99 others); Sun, 5 Jun 2022 06:07:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237325AbiFEKHN (ORCPT ); Sun, 5 Jun 2022 06:07:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EAA15FAD for ; Sun, 5 Jun 2022 03:07:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2653260EEC for ; Sun, 5 Jun 2022 10:07:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87AE7C3411E for ; Sun, 5 Jun 2022 10:07:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654423629; bh=ClDK8782jY9SXch9/nyH9tnpj6Ro9WPrcn8dDhjremU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ZP+U9V/KeOiwrTdGVqsw+FGbKLYJimnD7LuvtKgH5xSmT0VRzn1nZXZxaQgD+4mP7 Vq9mkN7jbfQqE1GeLSiLENbYNrvUs35c1ptvtujeeXgm1s/VZE/0h38o0dhCLX9t0j 2EKAwM16iyEVCPFGnn7C2fYr6K4ICBy2R3EybRWBB/yLxKIxKPIRRp6EYz4gv1ixJ7 15b9Q24URIPErMqHbh3tLuRX5YbG7far6q7TsIZRgRE4bHz4bvigB1c8CX2zdLI8fo fNiOehGWQnfR6E6/z5Z90WWHzaoagf5zREm53Z5cU5Ov5s96HYDm9v62y3YYEDSFBd DuWDFZGhx3hOA== Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-2f83983782fso118866607b3.6 for ; Sun, 05 Jun 2022 03:07:09 -0700 (PDT) X-Gm-Message-State: AOAM533nZ5nLTjSro114nOTfaQqsSU2GKMTMDpBaCIUFbUL0OE1rKbKJ mgcEjVd2z0Z7gpo97G2Pmh0sg1sjHlylZ1pwSoY= X-Received: by 2002:a0d:f8c6:0:b0:2fe:ca9c:f937 with SMTP id i189-20020a0df8c6000000b002feca9cf937mr20855647ywf.62.1654423628632; Sun, 05 Jun 2022 03:07:08 -0700 (PDT) MIME-Version: 1.0 References: <20220602035827.18012-1-jiapeng.chong@linux.alibaba.com> <20220602035827.18012-2-jiapeng.chong@linux.alibaba.com> In-Reply-To: <20220602035827.18012-2-jiapeng.chong@linux.alibaba.com> From: Oded Gabbay Date: Sun, 5 Jun 2022 13:06:41 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] habanalabs: Fix kernel-doc To: Jiapeng Chong Cc: Arnd Bergmann , Greg Kroah-Hartman , "Linux-Kernel@Vger. Kernel. Org" , Abaci Robot Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 2, 2022 at 6:58 AM Jiapeng Chong wrote: > > Fix the following W=1 kernel warnings: > > drivers/misc/habanalabs/common/mmu/mmu_v1.c:425: warning: expecting > prototype for hl_mmu_fini(). Prototype was for hl_mmu_v1_fini() instead. > > drivers/misc/habanalabs/common/mmu/mmu_v1.c:449: warning: expecting > prototype for hl_mmu_ctx_init(). Prototype was for hl_mmu_v1_ctx_init() > instead. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > drivers/misc/habanalabs/common/mmu/mmu_v1.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/misc/habanalabs/common/mmu/mmu_v1.c b/drivers/misc/habanalabs/common/mmu/mmu_v1.c > index e2d91a69acc2..ad4b49281cd7 100644 > --- a/drivers/misc/habanalabs/common/mmu/mmu_v1.c > +++ b/drivers/misc/habanalabs/common/mmu/mmu_v1.c > @@ -412,7 +412,7 @@ static int hl_mmu_v1_init(struct hl_device *hdev) > } > > /** > - * hl_mmu_fini() - release the MMU module. > + * hl_mmu_v1_fini() - release the MMU module. > * @hdev: habanalabs device structure. > * > * This function does the following: > @@ -438,7 +438,7 @@ static void hl_mmu_v1_fini(struct hl_device *hdev) > } > > /** > - * hl_mmu_ctx_init() - initialize a context for using the MMU module. > + * hl_mmu_v1_ctx_init() - initialize a context for using the MMU module. > * @ctx: pointer to the context structure to initialize. > * > * Initialize a mutex to protect the concurrent mapping flow, a hash to hold all > -- > 2.20.1.7.g153144c > Both patches are Reviewed-by: Oded Gabbay Applied to -next. Thanks, Oded