[vfs:work.pages 61/67] kernel/power/swap.c:1583:2: error: expected ';' before 'if'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.pages
head:   adcc9126391f7e43d3fdc18c820f13c52125cf1f
commit: b505390420619acbd320e8792af4c22b0d96d897 [61/67] switch obvious cases to get_free_page()
config: x86_64-lkp (attached as .config)
reproduce:
        git checkout b505390420619acbd320e8792af4c22b0d96d897
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   kernel/power/swap.c: In function 'swsusp_header_init':
>> kernel/power/swap.c:1583:2: error: expected ';' before 'if'
     if (!swsusp_header)
     ^

vim +1583 kernel/power/swap.c

62c552cc Bojan Smojver 2012-06-16  1577  }
62c552cc Bojan Smojver 2012-06-16  1578  #endif
62c552cc Bojan Smojver 2012-06-16  1579  
1b29c164 Vivek Goyal   2007-05-02  1580  static int swsusp_header_init(void)
1b29c164 Vivek Goyal   2007-05-02  1581  {
b5053904 Al Viro       2015-12-14  1582  	swsusp_header =  get_free_page(GFP_KERNEL)
1b29c164 Vivek Goyal   2007-05-02 @1583  	if (!swsusp_header)
1b29c164 Vivek Goyal   2007-05-02  1584  		panic("Could not allocate memory for swsusp_header\n");
1b29c164 Vivek Goyal   2007-05-02  1585  	return 0;
1b29c164 Vivek Goyal   2007-05-02  1586  }

:::::: The code at line 1583 was first introduced by commit
:::::: 1b29c1643c0d82512477ccd97dc290198fe23e22 [PATCH] x86-64: do not use virt_to_page on kernel data address

:::::: TO: Vivek Goyal <vgoyal@xxxxxxxxxx>
:::::: CC: Andi Kleen <andi@xxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux