From: Tina Johnson <tinajohnson.1234@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, Tina Johnson <tinajohnson.1234@gmail.com>
Subject: [PATCH 2/2] Base: fix coding style issues
Date: Tue, 12 Aug 2014 02:54:09 +0530 [thread overview]
Message-ID: <1407792249-7333-3-git-send-email-tinajohnson.1234@gmail.com> (raw)
In-Reply-To: <1407792249-7333-1-git-send-email-tinajohnson.1234@gmail.com>
Fix checkpatch.pl issues with coding style. Added and removed spaces
accordingly.
Signed-off-by: Tina Johnson <tinajohnson.1234@gmail.com>
---
drivers/base/attribute_container.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/base/attribute_container.c b/drivers/base/attribute_container.c
index 5917cc3..3ead3af 100644
--- a/drivers/base/attribute_container.c
+++ b/drivers/base/attribute_container.c
@@ -74,7 +74,7 @@ int
attribute_container_register(struct attribute_container *cont)
{
INIT_LIST_HEAD(&cont->node);
- klist_init(&cont->containers,internal_container_klist_get,
+ klist_init(&cont->containers, internal_container_klist_get,
internal_container_klist_put);
mutex_lock(&attribute_container_mutex);
@@ -184,7 +184,7 @@ attribute_container_add_device(struct device *dev,
struct klist_node *n = klist_next(iter); \
n ? container_of(n, typeof(*pos), member) : \
({ klist_iter_exit(iter) ; NULL; }); \
- }) ) != NULL; )
+ })) != NULL;)
/**
--
1.7.10.4
prev parent reply other threads:[~2014-08-11 21:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-11 21:24 [PATCH 0/2] fix checkpatch.pl issues of Base: attribute_container.c Tina Johnson
2014-08-11 21:24 ` [PATCH 1/2] Base: fix whitespace errors Tina Johnson
2014-08-11 21:24 ` Tina Johnson [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=1407792249-7333-3-git-send-email-tinajohnson.1234@gmail.com \
--to=tinajohnson.1234@gmail.com \
--cc=gregkh@linuxfoundation.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox