From: Greg KH <gregkh@linuxfoundation.org>
To: aybuke ozdemir <aybuke.147@gmail.com>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATCH v2 2/2] Staging: i2o: Corrected code indentation
Date: Thu, 26 Feb 2015 10:38:27 -0800 [thread overview]
Message-ID: <20150226183827.GA32036@kroah.com> (raw)
In-Reply-To: <1424905939-11537-2-git-send-email-aybuke.147@gmail.com>
On Thu, Feb 26, 2015 at 01:12:19AM +0200, aybuke ozdemir wrote:
> WARNING: suspect code indent for conditional statements(8,12)
> spaces are converting to tabs suspect code indent is deleted.
> That was found by running checkpatch.pl
>
> Signed-off-by: aybuke ozdemir <aybuke.147@gmail.com>
> ---
> drivers/staging/i2o/device.c | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/staging/i2o/device.c b/drivers/staging/i2o/device.c
> index e47496c..cd6da9c 100644
> --- a/drivers/staging/i2o/device.c
> +++ b/drivers/staging/i2o/device.c
> @@ -260,10 +260,10 @@ static int i2o_device_add(struct i2o_controller *c, i2o_lct_entry *entry)
>
> /* create user entries referring to this device */
> list_for_each_entry(tmp, &c->devices, list)
> - if ((tmp->lct_data.user_tid == i2o_dev->lct_data.tid)
> - && (tmp != i2o_dev)) {
> - rc = sysfs_create_link(&tmp->device.kobj,
> - &i2o_dev->device.kobj, "user");
> + if ((tmp->lct_data.user_tid == i2o_dev->lct_data.tid)
> + && (tmp != i2o_dev)) {
> + rc = sysfs_create_link(&tmp->device.kobj,
> + &i2o_dev->device.kobj, "user");
> if (rc)
> goto rmlink1;
Something is still wrong with the indentation here, sorry. Look at the
{ placement.
thanks,
greg k-h
prev parent reply other threads:[~2015-02-26 18:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-25 23:12 [PATCH v2 1/2] Staging: i2o: Remove unnecessary 'out of memory' message aybuke ozdemir
2015-02-25 23:12 ` [PATCH v2 2/2] Staging: i2o: Corrected code indentation aybuke ozdemir
2015-02-26 18:38 ` Greg KH [this message]
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=20150226183827.GA32036@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=aybuke.147@gmail.com \
--cc=outreachy-kernel@googlegroups.com \
/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.