* [PATCH] mhi: fix doubled words and struct image_info kernel-doc
@ 2020-07-16 1:29 Randy Dunlap
2020-07-16 3:01 ` Manivannan Sadhasivam
2020-07-16 3:11 ` Manivannan Sadhasivam
0 siblings, 2 replies; 3+ messages in thread
From: Randy Dunlap @ 2020-07-16 1:29 UTC (permalink / raw)
To: LKML; +Cc: Manivannan Sadhasivam, Hemant Kumar, linux-arm-msm
From: Randy Dunlap <rdunlap@infradead.org>
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 <rdunlap@infradead.org>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Hemant Kumar <hemantk@codeaurora.org>
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);
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] mhi: fix doubled words and struct image_info kernel-doc
2020-07-16 1:29 [PATCH] mhi: fix doubled words and struct image_info kernel-doc Randy Dunlap
@ 2020-07-16 3:01 ` Manivannan Sadhasivam
2020-07-16 3:11 ` Manivannan Sadhasivam
1 sibling, 0 replies; 3+ messages in thread
From: Manivannan Sadhasivam @ 2020-07-16 3:01 UTC (permalink / raw)
To: Randy Dunlap; +Cc: LKML, Hemant Kumar, linux-arm-msm
On Wed, Jul 15, 2020 at 06:29:32PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> 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 <rdunlap@infradead.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thanks,
Mani
> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> Cc: Hemant Kumar <hemantk@codeaurora.org>
> 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);
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] mhi: fix doubled words and struct image_info kernel-doc
2020-07-16 1:29 [PATCH] mhi: fix doubled words and struct image_info kernel-doc Randy Dunlap
2020-07-16 3:01 ` Manivannan Sadhasivam
@ 2020-07-16 3:11 ` Manivannan Sadhasivam
1 sibling, 0 replies; 3+ messages in thread
From: Manivannan Sadhasivam @ 2020-07-16 3:11 UTC (permalink / raw)
To: Randy Dunlap; +Cc: LKML, Hemant Kumar, linux-arm-msm
On Wed, Jul 15, 2020 at 06:29:32PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> 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 <rdunlap@infradead.org>
Applied to mhi-next!
Thanks,
Mani
> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> Cc: Hemant Kumar <hemantk@codeaurora.org>
> 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);
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-07-16 3:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 1:29 [PATCH] mhi: fix doubled words and struct image_info kernel-doc Randy Dunlap
2020-07-16 3:01 ` Manivannan Sadhasivam
2020-07-16 3:11 ` Manivannan Sadhasivam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®