Re: [PATCH v4 1/2] watchdog_core: Add watchdog registration deferral mechanism

From: Jean-Baptiste Theou
Date: Mon Jun 08 2015 - 18:03:05 EST


Indeed, it make sense.
I will fix this on v5.

Thanks a lot for your valuable feedbacks on this patch.

JB

On Mon, 8 Jun 2015 12:35:11 -0700
Guenter Roeck <linux@xxxxxxxxxxxx> wrote:

> On 06/06/2015 03:25 PM, Jean-Baptiste Theou wrote:
> > Currently, watchdog subsystem require the misc subsystem to
> > register a watchdog. This may not be the case in case of an
> > early registration of a watchdog, which can be required when
> > the watchdog cannot be disabled.
> >
> > This patch introduces a deferral mechanism to remove this requirement.
> >
> > Signed-off-by: Jean-Baptiste Theou <jtheou@xxxxxxxxxxxxxxxxxx>
> > ---
> > Changes in v4:
> > - Adjust patch based on Guenter feedbacks on v3
> >
>
> You still have lines with > 80 columns, primarily because of very long
> variable names. I would suggest to pick shorter names - there is no
> technical reason for variables named watchdog_deferred_registration_XXX,
> and I don't see why we should have checkpatch warnings just because
> of long variable names.
>
> Also, multi-line alignment is still not correct.
> I would suggest to run the patch through checkpatch --strict.
>
> Thanks,
> Guenter
>


--
Jean-Baptiste Theou <jtheou@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/