linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Anand Jain <anand.jain@oracle.com>
To: linux-btrfs@vger.kernel.org
Cc: dsterba@suse.cz, clm@fb.com
Subject: Re: [PATCH] btrfs: btrfs_assert fix coding style
Date: Wed, 16 Mar 2016 11:57:43 +0800	[thread overview]
Message-ID: <56E8D9B7.8030204@oracle.com> (raw)
In-Reply-To: <1458089715-597-1-git-send-email-anand.jain@oracle.com>


  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, ...);
>

      reply	other threads:[~2016-03-16  3:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-16  0:55 [PATCH] btrfs: btrfs_assert fix coding style Anand Jain
2016-03-16  3:57 ` Anand Jain [this message]

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=56E8D9B7.8030204@oracle.com \
    --to=anand.jain@oracle.com \
    --cc=clm@fb.com \
    --cc=dsterba@suse.cz \
    --cc=linux-btrfs@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;
as well as URLs for NNTP newsgroup(s).