public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Oczek <jeffoczek@gmail.com>
To: gregkh@linuxfoundation.org
Cc: joe@perches.com, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org, Jeff Oczek <jeffoczek@gmail.com>
Subject: [PATCH v2 1/2] staging: tidspbridge: Add parameter names to function ptrs in struct dbll_attrs
Date: Sat, 14 Jun 2014 09:21:16 -0400	[thread overview]
Message-ID: <1402752077-16297-1-git-send-email-jeffoczek@gmail.com> (raw)
In-Reply-To: <1402714093-15404-1-git-send-email-jeffoczek@gmail.com>

Add more descriptive names to function pointers in definition of struct dbll_attrs

Signed-off-by: Jeff Oczek <jeffoczek@gmail.com>
---
 drivers/staging/tidspbridge/include/dspbridge/dblldefs.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/tidspbridge/include/dspbridge/dblldefs.h b/drivers/staging/tidspbridge/include/dspbridge/dblldefs.h
index 30e0aa0..e988e1e 100644
--- a/drivers/staging/tidspbridge/include/dspbridge/dblldefs.h
+++ b/drivers/staging/tidspbridge/include/dspbridge/dblldefs.h
@@ -168,11 +168,11 @@ struct dbll_attrs {
 	 *  These file manipulation functions should be compatible with the
 	 *  "C" run time library functions of the same name.
 	 */
-	 s32(*fread) (void *, size_t, size_t, void *);
-	 s32(*fseek) (void *, long, int);
-	 s32(*ftell) (void *);
-	 s32(*fclose) (void *);
-	void *(*fopen) (const char *, const char *);
+	 s32 (*fread)(void *ptr, size_t size, size_t count, void *filp);
+	 s32 (*fseek)(void *filp, long offset, int origin);
+	 s32 (*ftell)(void *filp);
+	 s32 (*fclose)(void *filp);
+	 void *(*fopen)(const char *path, const char *mode);
 };
 
 /*
-- 
1.9.1


  parent reply	other threads:[~2014-06-14 13:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-14  2:48 [PATCH 1/2] staging: tidspbridge: Fix pointer spacing Jeff Oczek
2014-06-14  2:48 ` [PATCH 2/2] staging: tidspbridge: Fix function pointer spacing in struct definition Jeff Oczek
2014-06-14  3:31   ` Joe Perches
2014-06-14 13:09     ` Jeff Oczek
2014-06-14 13:21 ` Jeff Oczek [this message]
2014-06-14 13:21   ` [PATCH v2 2/2] staging: tidspbridge: Fix whitespace for pointers in function headers Jeff Oczek

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=1402752077-16297-1-git-send-email-jeffoczek@gmail.com \
    --to=jeffoczek@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=joe@perches.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox