[vfs:work.misc 22/24] drivers/char/nvram.c:216:66: error: 'PAGE_CACHE_SIZE' undeclared

[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.misc
head:   42f35c77b618b85dee2f975b4074b9a6ae434c68
commit: acde094daf36d216a24867a5f061191d572908d3 [22/24] don't open-code generic_file_llseek_size()
config: i386-allyesconfig (attached as .config)
reproduce:
        git checkout acde094daf36d216a24867a5f061191d572908d3
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the vfs/work.misc HEAD  builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/char/nvram.c: In function 'nvram_llseek':
>> drivers/char/nvram.c:216:66: error: 'PAGE_CACHE_SIZE' undeclared (first use in this function)
     return generic_file_llseek_size(file, offset, origin, MAX_LFS_FILESIZE,
                                                                     ^
   drivers/char/nvram.c:216:66: note: each undeclared identifier is reported only once for each function it appears in
   drivers/char/nvram.c:218:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +/PAGE_CACHE_SIZE +216 drivers/char/nvram.c

   210	/*
   211	 * The are the file operation function for user access to /dev/nvram
   212	 */
   213	
   214	static loff_t nvram_llseek(struct file *file, loff_t offset, int origin)
   215	{
 > 216		return generic_file_llseek_size(file, offset, origin, MAX_LFS_FILESIZE,
   217						NVRAM_BYTES);
   218	}
   219	

---
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