lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <477E379F.4000103@student.ltu.se>
Date:	Fri, 04 Jan 2008 14:41:51 +0100
From:	Richard Knutsson <ricknu-0@...dent.ltu.se>
To:	Mathieu Segaud <mathieu.segaud@...ala.cx>
CC:	akpm@...ux-foundation.org, linux-ext4@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [Coding Style]: fs/ext{3,4}/ext{3,4}_jbd{,2}.c

Mathieu Segaud wrote:
> Misc style fixes from checkpatch.pl
>
> Signed-off-by: Mathieu Segaud <mathieu.segaud@...ala.cx>
> ---
>  fs/ext3/ext3_jbd.c  |   12 ++++++------
>  fs/ext4/ext4_jbd2.c |   12 ++++++------
>  2 files changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/fs/ext3/ext3_jbd.c b/fs/ext3/ext3_jbd.c
> index e1f91fd..6c96260 100644
> --- a/fs/ext3/ext3_jbd.c
> +++ b/fs/ext3/ext3_jbd.c
> @@ -9,7 +9,7 @@ int __ext3_journal_get_undo_access(const char *where, handle_t *handle,
>  {
>  	int err = journal_get_undo_access(handle, bh);
>  	if (err)
> -		ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
> +		ext3_journal_abort_handle(where, __FUNCTION__, bh, handle, err);
>  	return err;
>  }
>  
> @@ -18,7 +18,7 @@ int __ext3_journal_get_write_access(const char *where, handle_t *handle,
>  {
>  	int err = journal_get_write_access(handle, bh);
>  	if (err)
> -		ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
> +		ext3_journal_abort_handle(where, __FUNCTION__, bh, handle, err);
>  	return err;
>  }
>  
> @@ -27,7 +27,7 @@ int __ext3_journal_forget(const char *where, handle_t *handle,
>  {
>  	int err = journal_forget(handle, bh);
>  	if (err)
> -		ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
> +		ext3_journal_abort_handle(where, __FUNCTION__, bh, handle, err);
>  	return err;
>  }
>  
> @@ -36,7 +36,7 @@ int __ext3_journal_revoke(const char *where, handle_t *handle,
>  {
>  	int err = journal_revoke(handle, blocknr, bh);
>  	if (err)
> -		ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
> +		ext3_journal_abort_handle(where, __FUNCTION__, bh, handle, err);
>  	return err;
>  }
>  
> @@ -45,7 +45,7 @@ int __ext3_journal_get_create_access(const char *where,
>  {
>  	int err = journal_get_create_access(handle, bh);
>  	if (err)
> -		ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
> +		ext3_journal_abort_handle(where, __FUNCTION__, bh, handle, err);
>  	return err;
>  }
>  
> @@ -54,6 +54,6 @@ int __ext3_journal_dirty_metadata(const char *where,
>  {
>  	int err = journal_dirty_metadata(handle, bh);
>  	if (err)
> -		ext3_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
> +		ext3_journal_abort_handle(where, __FUNCTION__, bh, handle, err);
>  	return err;
>  }
> diff --git a/fs/ext4/ext4_jbd2.c b/fs/ext4/ext4_jbd2.c
> index d6afe4e..2256c43 100644
> --- a/fs/ext4/ext4_jbd2.c
> +++ b/fs/ext4/ext4_jbd2.c
> @@ -9,7 +9,7 @@ int __ext4_journal_get_undo_access(const char *where, handle_t *handle,
>  {
>  	int err = jbd2_journal_get_undo_access(handle, bh);
>  	if (err)
> -		ext4_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
> +		ext4_journal_abort_handle(where, __FUNCTION__, bh, handle, err);
>  	return err;
>  }
>  
> @@ -18,7 +18,7 @@ int __ext4_journal_get_write_access(const char *where, handle_t *handle,
>  {
>  	int err = jbd2_journal_get_write_access(handle, bh);
>  	if (err)
> -		ext4_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
> +		ext4_journal_abort_handle(where, __FUNCTION__, bh, handle, err);
>  	return err;
>  }
>  
> @@ -27,7 +27,7 @@ int __ext4_journal_forget(const char *where, handle_t *handle,
>  {
>  	int err = jbd2_journal_forget(handle, bh);
>  	if (err)
> -		ext4_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
> +		ext4_journal_abort_handle(where, __FUNCTION__, bh, handle, err);
>  	return err;
>  }
>  
> @@ -36,7 +36,7 @@ int __ext4_journal_revoke(const char *where, handle_t *handle,
>  {
>  	int err = jbd2_journal_revoke(handle, blocknr, bh);
>  	if (err)
> -		ext4_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
> +		ext4_journal_abort_handle(where, __FUNCTION__, bh, handle, err);
>  	return err;
>  }
>  
> @@ -45,7 +45,7 @@ int __ext4_journal_get_create_access(const char *where,
>  {
>  	int err = jbd2_journal_get_create_access(handle, bh);
>  	if (err)
> -		ext4_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
> +		ext4_journal_abort_handle(where, __FUNCTION__, bh, handle, err);
>  	return err;
>  }
>  
> @@ -54,6 +54,6 @@ int __ext4_journal_dirty_metadata(const char *where,
>  {
>  	int err = jbd2_journal_dirty_metadata(handle, bh);
>  	if (err)
> -		ext4_journal_abort_handle(where, __FUNCTION__, bh, handle,err);
> +		ext4_journal_abort_handle(where, __FUNCTION__, bh, handle, err);
>  	return err;
>  }
>   
Hi Mathieu

What about changing the __FUNCTION__ to __func__, while you are at it?

Richard Knutsson
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ