linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] btrfs: btrfs_assert fix coding style
@ 2016-03-16  0:55 Anand Jain
  2016-03-16  3:57 ` Anand Jain
  0 siblings, 1 reply; 2+ messages in thread
From: Anand Jain @ 2016-03-16  0:55 UTC (permalink / raw)
  To: linux-btrfs; +Cc: dsterba, clm

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 fs/btrfs/ctree.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index c9fb7b9ca8a4..5b5002a242e4 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -4283,8 +4283,8 @@ static inline void assfail(char *expr, char *file, int line)
 #define ASSERT(expr)	((void)0)
 #endif
 
-#define btrfs_assert()
-__printf(5, 6)
+#define btrfs_assert() __printf(5, 6)
+
 __cold
 void __btrfs_std_error(struct btrfs_fs_info *fs_info, const char *function,
 		     unsigned int line, int errno, const char *fmt, ...);
-- 
2.7.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] btrfs: btrfs_assert fix coding style
  2016-03-16  0:55 [PATCH] btrfs: btrfs_assert fix coding style Anand Jain
@ 2016-03-16  3:57 ` Anand Jain
  0 siblings, 0 replies; 2+ messages in thread
From: Anand Jain @ 2016-03-16  3:57 UTC (permalink / raw)
  To: linux-btrfs; +Cc: dsterba, clm


  Ignore. NACK.

Thanks, Anand


On 03/16/2016 08:55 AM, Anand Jain wrote:
> Signed-off-by: Anand Jain <anand.jain@oracle.com>
> ---
>   fs/btrfs/ctree.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
> index c9fb7b9ca8a4..5b5002a242e4 100644
> --- a/fs/btrfs/ctree.h
> +++ b/fs/btrfs/ctree.h
> @@ -4283,8 +4283,8 @@ static inline void assfail(char *expr, char *file, int line)
>   #define ASSERT(expr)	((void)0)
>   #endif
>
> -#define btrfs_assert()
> -__printf(5, 6)
> +#define btrfs_assert() __printf(5, 6)
> +
>   __cold
>   void __btrfs_std_error(struct btrfs_fs_info *fs_info, const char *function,
>   		     unsigned int line, int errno, const char *fmt, ...);
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-16  3:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-16  0:55 [PATCH] btrfs: btrfs_assert fix coding style Anand Jain
2016-03-16  3:57 ` Anand Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).