Re: [PATCH] bcache: trival - remove unnecessary backslash in macro BTREE_FLAG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018/8/2 6:37 PM, Shenghui Wang wrote:
> Remove the single line backslash and the tailing backslash in
> macro BTREE_FLAG in btree.h
> 
> Signed-off-by: Shenghui Wang <shhuiw@xxxxxxxxxxx>
> ---
>  drivers/md/bcache/btree.h | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/md/bcache/btree.h b/drivers/md/bcache/btree.h
> index d211e2c25b6b..28fa2029726d 100644
> --- a/drivers/md/bcache/btree.h
> +++ b/drivers/md/bcache/btree.h
> @@ -150,9 +150,8 @@ struct btree {
>  #define BTREE_FLAG(flag)						\
>  static inline bool btree_node_ ## flag(struct btree *b)			\
>  {	return test_bit(BTREE_NODE_ ## flag, &b->flags); }		\
> -									\

I still want to keep this blank line.

>  static inline void set_btree_node_ ## flag(struct btree *b)		\
> -{	set_bit(BTREE_NODE_ ## flag, &b->flags); }			\
> +{	set_bit(BTREE_NODE_ ## flag, &b->flags); }
>  

Yes, it make sense to remove this backslash.

>  enum btree_flags {
>  	BTREE_NODE_io_error,
> 

I am glad to have a patch with the second change. Thanks.

Coly Li
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux