From mboxrd@z Thu Jan 1 00:00:00 1970 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=-8.3 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable 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 45935C433F1 for ; Thu, 16 Jul 2020 01:29:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1BB5520791 for ; Thu, 16 Jul 2020 01:29:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="GfE0Pc4u" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728081AbgGPB3i (ORCPT ); Wed, 15 Jul 2020 21:29:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728033AbgGPB3h (ORCPT ); Wed, 15 Jul 2020 21:29:37 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 594D6C061755; Wed, 15 Jul 2020 18:29:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Cc:To:Subject:From:Sender:Reply-To:Content-ID: Content-Description:In-Reply-To:References; bh=6EPZ1WKSkMCE5Q21bi/BB6wT5Llo8+Db+tPJuBpS7wA=; b=GfE0Pc4uGw8Ajgi2153O6NsrkZ vOORzMTt9FewIM3S2JucR+aJcVwapoADmEwNO6WO5qXO9AG+QKJoRtjJVjX/d6b3WAz+x67GTUPMu d8CLnO1BK3jpaMvMpbk7pOl0X8OnL9gdty391HH4EOGUyN8Wi9NcazDK0qRYwZMuOr4BB9G5gdJP2 XdlBlmCMaFjDmowNgB7SEiHbEWsNjf1wCPZUUbt710LjAXM+qFmUQXqA/7P/1AS+9HG3aWLU9DK6F ysM1K+5OkzJTpWwx9qQkgukKU1aPf9ijjlocULVjRLqsgYyB392Oum0Vj1g3v6Tk/101stUHXa605 9eacfdyw==; Received: from [2601:1c0:6280:3f0::19c2] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jvsiN-0000Rm-3l; Thu, 16 Jul 2020 01:29:35 +0000 From: Randy Dunlap Subject: [PATCH] mhi: fix doubled words and struct image_info kernel-doc To: LKML Cc: Manivannan Sadhasivam , Hemant Kumar , linux-arm-msm Message-ID: Date: Wed, 15 Jul 2020 18:29:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap Drop doubled word "table" in kernel-doc. Fix syntax for the kernel-doc notation for struct image_info. Note that the bhi_vec field is private and not part of the kernel-doc. Drop doubled word "device" in a comment. Signed-off-by: Randy Dunlap Cc: Manivannan Sadhasivam Cc: Hemant Kumar Cc: linux-arm-msm@vger.kernel.org --- include/linux/mhi.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) --- linux-next-20200714.orig/include/linux/mhi.h +++ linux-next-20200714/include/linux/mhi.h @@ -85,13 +85,15 @@ enum mhi_ch_type { }; /** - * struct image_info - Firmware and RDDM table table - * @mhi_buf - Buffer for firmware and RDDM table - * @entries - # of entries in table + * struct image_info - Firmware and RDDM table + * @mhi_buf: Buffer for firmware and RDDM table + * @entries: # of entries in table */ struct image_info { struct mhi_buf *mhi_buf; + /* private: from internal.h */ struct bhi_vec_entry *bhi_vec; + /* public: */ u32 entries; }; @@ -593,7 +595,7 @@ int mhi_async_power_up(struct mhi_contro /** * mhi_sync_power_up - Start MHI power up sequence and wait till the device - * device enters valid EE state + * enters valid EE state * @mhi_cntrl: MHI controller */ int mhi_sync_power_up(struct mhi_controller *mhi_cntrl);