diff options
| author | Coly Li <colyli@suse.de> | 2018-08-11 01:19:45 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2018-08-11 17:46:41 -0400 |
| commit | 1fae7cf05293d3a2c9e59c1bc59372322386467c (patch) | |
| tree | c6ac9b2e0c717f8a7f2f2e75cfcd941726f14d47 /include/uapi/linux | |
| parent | 6f10f7d1b02b1bbc305f88d7696445dd38b13881 (diff) | |
bcache: style fix to add a blank line after declarations
Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Shenghui Wang <shhuiw@foxmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/bcache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/bcache.h b/include/uapi/linux/bcache.h index 6bdcb48ee8cf..5d4f58e059fd 100644 --- a/include/uapi/linux/bcache.h +++ b/include/uapi/linux/bcache.h | |||
| @@ -117,12 +117,14 @@ static inline void bkey_copy_key(struct bkey *dest, const struct bkey *src) | |||
| 117 | static inline struct bkey *bkey_next(const struct bkey *k) | 117 | static inline struct bkey *bkey_next(const struct bkey *k) |
| 118 | { | 118 | { |
| 119 | __u64 *d = (void *) k; | 119 | __u64 *d = (void *) k; |
| 120 | |||
| 120 | return (struct bkey *) (d + bkey_u64s(k)); | 121 | return (struct bkey *) (d + bkey_u64s(k)); |
| 121 | } | 122 | } |
| 122 | 123 | ||
| 123 | static inline struct bkey *bkey_idx(const struct bkey *k, unsigned int nr_keys) | 124 | static inline struct bkey *bkey_idx(const struct bkey *k, unsigned int nr_keys) |
| 124 | { | 125 | { |
| 125 | __u64 *d = (void *) k; | 126 | __u64 *d = (void *) k; |
| 127 | |||
| 126 | return (struct bkey *) (d + nr_keys); | 128 | return (struct bkey *) (d + nr_keys); |
| 127 | } | 129 | } |
| 128 | /* Enough for a key with 6 pointers */ | 130 | /* Enough for a key with 6 pointers */ |
