Re: [PATCH] staging: dgnc: Fix multi line comment alignment

From: Fernando Apesteguia
Date: Tue Sep 06 2016 - 09:19:13 EST


On Mon, Sep 05, 2016 at 11:45:30PM +0300, Andrey Utkin wrote:
> On Mon, Sep 05, 2016 at 08:28:32PM +0200, Fernando Apesteguia wrote:
> > Fix alignment in multi line comment block.
> >
> > Remove extra '*' to use the preferred comment style as in Documentation/CodingStyle
> >
> > Signed-off-by: Fernando Apesteguia <fernando.apesteguia@xxxxxxxxx>
> >
> > ---
> > drivers/staging/dgnc/dgnc_driver.c | 50 +++++++++++++++++++-------------------
> > 1 file changed, 25 insertions(+), 25 deletions(-)
> >
> > diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c
> > index cc6105a..01e948c 100644
> > --- a/drivers/staging/dgnc/dgnc_driver.c
> > +++ b/drivers/staging/dgnc/dgnc_driver.c
> > @@ -602,31 +602,31 @@ static void dgnc_do_remap(struct dgnc_board *brd)
> > brd->re_map_membase = ioremap(brd->membase, 0x1000);
> > }
> >
> > -/*****************************************************************************
> > -*
> > -* Function:
> > -*
> > -* dgnc_poll_handler
> > -*
> > -* Author:
> > -*
> > -* Scott H Kilau
> > -*
> > -* Parameters:
> > -*
> > -* dummy -- ignored
> > -*
> > -* Return Values:
> > -*
> > -* none
> > -*
> > -* Description:
> > -*
> > -* As each timer expires, it determines (a) whether the "transmit"
> > -* waiter needs to be woken up, and (b) whether the poller needs to
> > -* be rescheduled.
> > -*
> > -******************************************************************************/
> > +/*
> > + *
> > + * Function:
> > + *
> > + * dgnc_poll_handler
> > + *
> > + * Author:
> > + *
> > + * Scott H Kilau
> > + *
> > + * Parameters:
> > + *
> > + * dummy -- ignored
> > + *
> > + * Return Values:
> > + *
> > + * none
> > + *
> > + * Description:
> > + *
> > + * As each timer expires, it determines (a) whether the "transmit"
> > + * waiter needs to be woken up, and (b) whether the poller needs to
> > + * be rescheduled.
> > + *
> > + */
> >
> > static void dgnc_poll_handler(ulong dummy)
> > {
> > --
> > 2.7.4
>
> Changing first and last lines of that comment should be enough, but all
> lines got changed. I'd (re)submit it with just first and last lines
> changed.

Sorry, but I fail to see how I can align all the lines by changing just the first and last ones.