Re: [PATCH v4 3/3] ARM: rockchip: fix the SMP code style

From: Doug Anderson
Date: Fri Jun 05 2015 - 16:58:21 EST


Caesar,

On Fri, Jun 5, 2015 at 10:05 AM, Caesar Wang <wxt@xxxxxxxxxxxxxx> wrote:
> Use the below scripts to check:
> scripts/checkpatch.pl -f --subject arch/arm/mach-rockchip/platsmp.c
> Although there is a check, it's no matter.
>
> CHECK: usleep_range is preferred over udelay; see
> Documentation/timers/timers-howto.txt
> +167udelay(10);
> total: 0 errors, 0 warnings, 1 checks, 362 lines checked
>
> Changes in v4:
> - Add reset_control_put(rstc) for the non-error case.
> - Fix commit information in PATCH [1/3]
>
> Changes in v3:
> - FIx the PATCH v2, it doesn't work on chromium 3.14.
>
> Changes in v2:
> - As Kever points out, Fix the subject typo WIF/WFI in PATCH [2/3].
> - As Heiko suggestion, re-adjust the cpu on/off flow in PATCH [1/3].
> - Use the checkpatch.pl -f --subjective to check in PATCH [3/3].

The change log should (ideally) be with each patch. If that's too
hard and you want to put it in one place, please put it in the cover
letter (the 0/3 email).

Also: the change log should be "below the cut". That is, it should be
below the "---" and above the diffstat.

Other than those problems:

Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>


-Doug
--
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/