Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932433AbbFTTGb (ORCPT ); Sat, 20 Jun 2015 15:06:31 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:35076 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751528AbbFTTGX (ORCPT ); Sat, 20 Jun 2015 15:06:23 -0400 From: Joseph Kogut To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Joseph Kogut Subject: [PATCH] staging: i2o: iop.c: Fix pointer declarations Date: Sat, 20 Jun 2015 12:06:16 -0700 Message-Id: <1434827176-31583-1-git-send-email-joseph.kogut@gmail.com> X-Mailer: git-send-email 2.4.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1589 Lines: 45 Kernel coding style dictates that pointer declarations have the asterisk next to the data name. Signed-off-by: Joseph Kogut --- 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/