All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Ioana Antoche <ioana.antoche@gmail.com>
Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] driver core: fix several coding style warnings
Date: Sun, 08 Mar 2015 14:46:49 -0700	[thread overview]
Message-ID: <1425851209.2745.1.camel@perches.com> (raw)
In-Reply-To: <1425850095-4596-1-git-send-email-ioana.antoche@gmail.com>

On Sun, 2015-03-08 at 23:28 +0200, Ioana Antoche wrote:
> Fix checkpatch.pl warnings such as:
> * missing blank line after declarations
> * line over 80 characters
[]
> diff --git a/drivers/base/bus.c b/drivers/base/bus.c
[]
> @@ -298,8 +299,7 @@ static struct device *next_device(struct klist_iter *i)
>   * count in the supplied callback.
>   */
>  int bus_for_each_dev(struct bus_type *bus, struct device *start,
> -		     void *data, int (*fn)(struct device *, void *))
> -{
> +		     void *data, int (*fn)(struct device *, void *)) {

That's a checkpatch defect.



  reply	other threads:[~2015-03-08 21:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-08 21:28 [PATCH v2] driver core: fix several coding style warnings Ioana Antoche
2015-03-08 21:46 ` Joe Perches [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-03-09 18:08 Ioana Antoche
2015-03-09 18:27 ` Joe Perches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1425851209.2745.1.camel@perches.com \
    --to=joe@perches.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=ioana.antoche@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.