Re: [PATCH] mm/shmem.c: make shmem_mapping() inline

2020-11-13 Thread Hui Su
On Sat, Nov 14, 2020 at 12:54:47AM +0800, kernel test robot wrote: > Hi Hui, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on mmotm/master] > > url: >

Re: [PATCH] mm/shmem.c: make shmem_mapping() inline

2020-11-13 Thread kernel test robot
Hi Hui, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on mmotm/master] url: https://github.com/0day-ci/linux/commits/Hui-Su/mm-shmem-c-make-shmem_mapping-inline/20201113-215549 base: git://git.cmpxchg.org/linux-mmotm.git master config:

[PATCH] mm/shmem.c: make shmem_mapping() inline

2020-11-13 Thread Hui Su
inline the shmem_mapping(), and use shmem_mapping() instead of 'inode->i_mapping->a_ops == _aops' in shmem_evict_inode(). Signed-off-by: Hui Su --- include/linux/shmem_fs.h | 2 +- mm/shmem.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] mm/shmem.c: make shmem_mapping() inline

2020-11-13 Thread Pankaj Gupta
> inline the shmem_mapping(), and use shmem_mapping() > instead of 'inode->i_mapping->a_ops == _aops' > in shmem_evict_inode(). > > Signed-off-by: Hui Su > --- > include/linux/shmem_fs.h | 2 +- > mm/shmem.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff