Hi everyone, This series contains a few patches to fix the comment, remove unneeded return value, use some helpers and so on. More details can be found in the respective changelogs. Thanks! Miaohe Lin (15): mm/swap: use helper is_swap_pte() in swap_vma_readahead mm/swap: use helper macro __ATTR_RW mm/swap: fold __swap_info_get() into its sole caller mm/swap: remove unneeded return value of free_swap_slot mm/swap: print bad swap offset entry in get_swap_device mm/swap: remove buggy cache->nr check in refill_swap_slots_cache mm/swap: remove unneeded p != NULL check in __swap_duplicate mm/swap: make page_swapcount and __lru_add_drain_all mm/swap: avoid calling swp_swap_info when try to check SWP_STABLE_WRITES mm/swap: break the loop if matching device is found mm/swap: add helper swap_offset_available() mm/swap: fix the obsolete comment for SWP_TYPE_SHIFT mm/swap: clean up the comment of find_next_to_unuse mm/swap: fix the comment of get_kernel_pages mm/swap: fix comment about swap extent include/linux/swap.h | 11 +---- include/linux/swap_slots.h | 2 +- include/linux/swapops.h | 4 +- mm/memory.c | 2 +- mm/swap.c | 6 +-- mm/swap_slots.c | 6 +-- mm/swap_state.c | 8 +--- mm/swapfile.c | 86 ++++++++++++++++---------------------- 8 files changed, 50 insertions(+), 75 deletions(-) -- 2.23.0