Message ID | 20200831165201.23832-1-avolmat@me.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | mailbox: sti: fix struct description warnings | expand |
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
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
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(-)