From: Joseph Kogut <joseph.kogut@gmail.com>
To: gregkh@linuxfoundation.org
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Joseph Kogut <joseph.kogut@gmail.com>
Subject: [PATCH] staging: i2o: iop.c: Fix pointer declarations
Date: Sat, 20 Jun 2015 12:06:16 -0700 [thread overview]
Message-ID: <1434827176-31583-1-git-send-email-joseph.kogut@gmail.com> (raw)
Kernel coding style dictates that pointer declarations
have the asterisk next to the data name.
Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
---
drivers/staging/i2o/iop.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/i2o/iop.c b/drivers/staging/i2o/iop.c
index 23bdbe4..262d5b5 100644
--- a/drivers/staging/i2o/iop.c
+++ b/drivers/staging/i2o/iop.c
@@ -89,7 +89,7 @@ struct i2o_message *i2o_msg_get_wait(struct i2o_controller *c, int wait)
*
* Returns context id > 0 on success or 0 on failure.
*/
-u32 i2o_cntxt_list_add(struct i2o_controller * c, void *ptr)
+u32 i2o_cntxt_list_add(struct i2o_controller *c, void *ptr)
{
struct i2o_context_list_element *entry;
unsigned long flags;
@@ -135,7 +135,7 @@ u32 i2o_cntxt_list_add(struct i2o_controller * c, void *ptr)
*
* Returns context id on success or 0 on failure.
*/
-u32 i2o_cntxt_list_remove(struct i2o_controller * c, void *ptr)
+u32 i2o_cntxt_list_remove(struct i2o_controller *c, void *ptr)
{
struct i2o_context_list_element *entry;
u32 context = 0;
@@ -202,7 +202,7 @@ void *i2o_cntxt_list_get(struct i2o_controller *c, u32 context)
* Returns context id which matches to the pointer on success or 0 on
* failure.
*/
-u32 i2o_cntxt_list_get_ptr(struct i2o_controller * c, void *ptr)
+u32 i2o_cntxt_list_get_ptr(struct i2o_controller *c, void *ptr)
{
struct i2o_context_list_element *entry;
u32 context = 0;
--
2.4.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2015-06-20 19:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-20 19:06 Joseph Kogut [this message]
2015-06-22 11:01 ` Sudip Mukherjee
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=1434827176-31583-1-git-send-email-joseph.kogut@gmail.com \
--to=joseph.kogut@gmail.com \
--cc=devel@driverdev.osuosl.org \
--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
all inboxes | Powered by JetHome®