Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1537799
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] gpio/gpiolib.c:Fixing style issues in gpiolib.c |
| Date | 2016-12-07 16:10 +0100 |
| Message-ID | <sLM15-1HQ-45@gated-at.bofh.it> (permalink) |
| References | <sKZWq-3YN-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Dec 5, 2016 at 12:45 PM, Mukesh Kaushik <mukesh.k4@samsung.com> wrote:
> Fixing the following checkpatch.pl error:
>
> ERROR: else should follow close brace '}'
> + }
> + else if (test_bit(FLAG_OPEN_SOURCE, &desc->flags)) {
>
> ERROR: space prohibited after that open parenthesis '('
> + if ( !desc->gdev->chip ) { \
>
> ERROR: space prohibited before that close parenthesis ')'
> + if ( !desc->gdev->chip ) { \
>
> and following warnings :
>
> WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
>
> WARNING: else is not generally useful after a break or return
> + break;
> + else
>
> Change-Id: I9164832686efb8db1f6d365f89f278e998104f81
Gerrit? We don't need this.
> Signed-off-by: Mukesh Kaushik <mukesh.k4@samsung.com>
This does not apply to my devel branch.
Please rebase on devel or v4.9 final whatever comes first
and resend.
Yours,
Linus Walleij
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] gpio/gpiolib.c:Fixing style issues in gpiolib.c Mukesh Kaushik <mukesh.k4@samsung.com> - 2016-12-05 12:50 +0100 Re: [PATCH] gpio/gpiolib.c:Fixing style issues in gpiolib.c Linus Walleij <linus.walleij@linaro.org> - 2016-12-07 16:10 +0100
csiph-web