On Tue, Aug 29, 2023 at 10:30:19PM +0800, kernel test robot wrote: > Hi Uladzislau, > > kernel test robot noticed the following build warnings: > > [auto build test WARNING on akpm-mm/mm-everything] > [also build test WARNING on linus/master v6.5] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: https://github.com/intel-lab-lkp/linux/commits/Uladzislau-Rezki-Sony/mm-vmalloc-Add-va_alloc-helper/20230829-161248 > base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything > patch link: https://lore.kernel.org/r/20230829081142.3619-5-urezki%40gmail.com > patch subject: [PATCH v2 4/9] mm: vmalloc: Remove global vmap_area_root rb-tree > config: csky-randconfig-r024-20230829 (https://download.01.org/0day-ci/archive/20230829/202308292228.RRrGUYyB-lkp@xxxxxxxxx/config) > compiler: csky-linux-gcc (GCC) 13.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230829/202308292228.RRrGUYyB-lkp@xxxxxxxxx/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot <lkp@xxxxxxxxx> > | Closes: https://lore.kernel.org/oe-kbuild-all/202308292228.RRrGUYyB-lkp@xxxxxxxxx/ > > All warnings (new ones prefixed by >>): > > mm/vmalloc.c: In function 'vmap_init_free_space': > >> mm/vmalloc.c:4506:45: warning: ordered comparison of pointer with integer zero [-Wextra] > 4506 | if (busy->addr - vmap_start > 0) { > | ^ > Right. I will fix it. We should cast the busy->addr to unsigned long. -- Uladzislau Rezki