Messages in this thread Patch in this message | | | From | Vitor Massaru Iha <> | Subject | [PATCH 2/2] xarray: Add missing blank line after declaration | Date | Tue, 17 Mar 2020 22:43:03 -0300 |
| |
Fix checkpatch warning: "WARNING: Missing a blank line after declarations" in include/linux/xarray.h:1504
Signed-off-by: Vitor Massaru Iha <vitor@massaru.org> --- include/linux/xarray.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/linux/xarray.h b/include/linux/xarray.h index a7dec1ec0967..61f83aca2326 100644 --- a/include/linux/xarray.h +++ b/include/linux/xarray.h @@ -1624,6 +1624,7 @@ static inline unsigned int xas_find_chunk(struct xa_state *xas, bool advance, if (XA_CHUNK_SIZE == BITS_PER_LONG) { if (offset < XA_CHUNK_SIZE) { unsigned long data = *addr & (~0UL << offset); + if (data) return __ffs(data); } -- 2.21.1
| |