[mmotm:master 204/302] mm/memory_hotplug.c:637:17: error: lvalue required as left operand of assignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   6d5b029d523e959579667282e713106a29c193d2
commit: cfe730f86623d820289f9adb76fd5084d7767431 [204/302] mm/page_alloc.c: memory hotplug: free pages as higher order
config: x86_64-rhel-7.2-clear (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout cfe730f86623d820289f9adb76fd5084d7767431
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the mmotm/master HEAD 6d5b029d523e959579667282e713106a29c193d2 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   mm/memory_hotplug.c: In function 'generic_online_page':
>> mm/memory_hotplug.c:637:17: error: lvalue required as left operand of assignment
     totalram_pages += (1UL << order);
                    ^~

vim +637 mm/memory_hotplug.c

   633	
   634	static int generic_online_page(struct page *page, unsigned int order)
   635	{
   636		__free_pages_core(page, order);
 > 637		totalram_pages += (1UL << order);
   638	#ifdef CONFIG_HIGHMEM
   639		if (PageHighMem(page))
   640			totalhigh_pages += (1UL << order);
   641	#endif
   642		return 0;
   643	}
   644	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux