* [PATCH] mailbox: sti: fix struct description warnings
@ 2020-08-31 16:52 Alain Volmat
2020-09-08 9:16 ` Lee Jones
0 siblings, 1 reply; 3+ messages in thread
From: Alain Volmat @ 2020-08-31 16:52 UTC (permalink / raw)
To: Jassi Brar, Lee Jones, linux-arm-kernel, linux-kernel
Cc: Patrice Chotard, avolmat
Fix formating of struct description to avoid warning highlighted
by W=1 compilation.
Fixes: 9ef4546cbd7e ("mailbox: Add support for ST's Mailbox IP")
Signed-off-by: Alain Volmat <avolmat@me.com>
---
drivers/mailbox/mailbox-sti.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mailbox/mailbox-sti.c b/drivers/mailbox/mailbox-sti.c
index 2baf69a0b81c..0f2bc09c364d 100644
--- a/drivers/mailbox/mailbox-sti.c
+++ b/drivers/mailbox/mailbox-sti.c
@@ -36,7 +36,7 @@
#define MBOX_BASE(mdev, inst) ((mdev)->base + ((inst) * 4))
/**
- * STi Mailbox device data
+ * struct sti_mbox_device - STi Mailbox device data
*
* An IP Mailbox is currently composed of 4 instances
* Each instance is currently composed of 32 channels
@@ -60,7 +60,7 @@ struct sti_mbox_device {
};
/**
- * STi Mailbox platform specific configuration
+ * struct sti_mbox_pdata - STi Mailbox platform specific configuration
*
* @num_inst: Maximum number of instances in one HW Mailbox
* @num_chan: Maximum number of channel per instance
@@ -71,7 +71,7 @@ struct sti_mbox_pdata {
};
/**
- * STi Mailbox allocated channel information
+ * struct sti_channel - STi Mailbox allocated channel information
*
* @mdev: Pointer to parent Mailbox device
* @instance: Instance number channel resides in
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] mailbox: sti: fix struct description warnings
2020-08-31 16:52 [PATCH] mailbox: sti: fix struct description warnings Alain Volmat
@ 2020-09-08 9:16 ` Lee Jones
0 siblings, 0 replies; 3+ messages in thread
From: Lee Jones @ 2020-09-08 9:16 UTC (permalink / raw)
To: Alain Volmat; +Cc: Jassi Brar, linux-kernel, linux-arm-kernel, Patrice Chotard
On Mon, 31 Aug 2020, Alain Volmat wrote:
> Fix formating of struct description to avoid warning highlighted
> by W=1 compilation.
>
> Fixes: 9ef4546cbd7e ("mailbox: Add support for ST's Mailbox IP")
Please remove this tag.
This patch is not a Stable candidate.
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---
> drivers/mailbox/mailbox-sti.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/mailbox/mailbox-sti.c b/drivers/mailbox/mailbox-sti.c
> index 2baf69a0b81c..0f2bc09c364d 100644
> --- a/drivers/mailbox/mailbox-sti.c
> +++ b/drivers/mailbox/mailbox-sti.c
> @@ -36,7 +36,7 @@
> #define MBOX_BASE(mdev, inst) ((mdev)->base + ((inst) * 4))
>
> /**
> - * STi Mailbox device data
> + * struct sti_mbox_device - STi Mailbox device data
> *
> * An IP Mailbox is currently composed of 4 instances
> * Each instance is currently composed of 32 channels
> @@ -60,7 +60,7 @@ struct sti_mbox_device {
> };
>
> /**
> - * STi Mailbox platform specific configuration
> + * struct sti_mbox_pdata - STi Mailbox platform specific configuration
> *
> * @num_inst: Maximum number of instances in one HW Mailbox
> * @num_chan: Maximum number of channel per instance
> @@ -71,7 +71,7 @@ struct sti_mbox_pdata {
> };
>
> /**
> - * STi Mailbox allocated channel information
> + * struct sti_channel - STi Mailbox allocated channel information
> *
> * @mdev: Pointer to parent Mailbox device
> * @instance: Instance number channel resides in
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] mailbox: sti: fix struct description warnings
@ 2020-09-11 5:17 Alain Volmat
0 siblings, 0 replies; 3+ messages in thread
From: Alain Volmat @ 2020-09-11 5:17 UTC (permalink / raw)
To: Jassi Brar, Lee Jones, linux-arm-kernel, linux-kernel
Cc: Patrice Chotard, avolmat
Fix formating of struct description to avoid warning highlighted
by W=1 compilation.
warning: cannot understand function prototype: 'struct sti_mbox_device '
warning: cannot understand function prototype: 'struct sti_mbox_pdata '
warning: cannot understand function prototype: 'struct sti_channel '
Signed-off-by: Alain Volmat <avolmat@me.com>
Reviewed-by: Lee Jones <lee.jones@linaro.org>
---
drivers/mailbox/mailbox-sti.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mailbox/mailbox-sti.c b/drivers/mailbox/mailbox-sti.c
index 2baf69a0b81c..0f2bc09c364d 100644
--- a/drivers/mailbox/mailbox-sti.c
+++ b/drivers/mailbox/mailbox-sti.c
@@ -36,7 +36,7 @@
#define MBOX_BASE(mdev, inst) ((mdev)->base + ((inst) * 4))
/**
- * STi Mailbox device data
+ * struct sti_mbox_device - STi Mailbox device data
*
* An IP Mailbox is currently composed of 4 instances
* Each instance is currently composed of 32 channels
@@ -60,7 +60,7 @@ struct sti_mbox_device {
};
/**
- * STi Mailbox platform specific configuration
+ * struct sti_mbox_pdata - STi Mailbox platform specific configuration
*
* @num_inst: Maximum number of instances in one HW Mailbox
* @num_chan: Maximum number of channel per instance
@@ -71,7 +71,7 @@ struct sti_mbox_pdata {
};
/**
- * STi Mailbox allocated channel information
+ * struct sti_channel - STi Mailbox allocated channel information
*
* @mdev: Pointer to parent Mailbox device
* @instance: Instance number channel resides in
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-09-11 5:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-31 16:52 [PATCH] mailbox: sti: fix struct description warnings Alain Volmat
2020-09-08 9:16 ` Lee Jones
-- strict thread matches above, loose matches on Subject: below --
2020-09-11 5:17 Alain Volmat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).