2014-10-02 23:44:56

by Anton Altaparmakov

[permalink] [raw]
Subject: [PATCH] NTFS: Remove bogus space.

fs/ntfs/debug.c:124: WARNING: space prohibited between function name and
open parenthesis '('

Signed-off-by: Andrea Gelmini <[email protected]>
Signed-off-by: Anton Altaparmakov <[email protected]>
---
Hi Andrew,

Can you please take this simple patch and push it to Linus at some point?

Thanks a lot in advance!

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/

diff --git a/fs/ntfs/debug.c b/fs/ntfs/debug.c
index dd6103c..825a54e 100644
--- a/fs/ntfs/debug.c
+++ b/fs/ntfs/debug.c
@@ -112,7 +112,7 @@ void __ntfs_error(const char *function, const struct super_block *sb,
/* If 1, output debug messages, and if 0, don't. */
int debug_msgs = 0;

-void __ntfs_debug (const char *file, int line, const char *function,
+void __ntfs_debug(const char *file, int line, const char *function,
const char *fmt, ...)
{
struct va_format vaf;


2014-10-02 23:48:37

by Anton Altaparmakov

[permalink] [raw]
Subject: Re: [PATCH] NTFS: Remove bogus space.

Hi Andrew,

Forgot to say that this patch is from Andrea Gilmini originally (I had to re-do it as it is an old patch and the line numbers had changed)...

Best regards,

Anton

On 3 Oct 2014, at 00:44, Anton Altaparmakov <[email protected]> wrote:

> fs/ntfs/debug.c:124: WARNING: space prohibited between function name and
> open parenthesis '('
>
> Signed-off-by: Andrea Gelmini <[email protected]>
> Signed-off-by: Anton Altaparmakov <[email protected]>
> ---
> Hi Andrew,
>
> Can you please take this simple patch and push it to Linus at some point?
>
> Thanks a lot in advance!
>
> Best regards,
>
> Anton
> --
> Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
> Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
> Linux NTFS maintainer, http://www.linux-ntfs.org/
>
> diff --git a/fs/ntfs/debug.c b/fs/ntfs/debug.c
> index dd6103c..825a54e 100644
> --- a/fs/ntfs/debug.c
> +++ b/fs/ntfs/debug.c
> @@ -112,7 +112,7 @@ void __ntfs_error(const char *function, const struct super_block *sb,
> /* If 1, output debug messages, and if 0, don't. */
> int debug_msgs = 0;
>
> -void __ntfs_debug (const char *file, int line, const char *function,
> +void __ntfs_debug(const char *file, int line, const char *function,
> const char *fmt, ...)
> {
> struct va_format vaf;
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
University of Cambridge Information Services, Roger Needham Building
7 JJ Thomson Avenue, Cambridge, CB3 0RB, UK