[vfs:for-next 81/82] include/linux/bpf.h:515:9: warning: return makes pointer from integer without a cast

[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 for-next
head:   597a46cbf8ff53438bba66dd39f2756a83a70dd1
commit: 33921befe2950d56b5a5c34748cb80142d3b918b [81/82] fix "netfilter: xt_bpf: Fix XT_BPF_MODE_FD_PINNED mode of 'xt_bpf_info_v1'"
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        git checkout 33921befe2950d56b5a5c34748cb80142d3b918b
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from kernel//events/core.c:45:0:
   include/linux/bpf.h: In function 'bpf_prog_get_type_path':
>> include/linux/bpf.h:515:9: warning: return makes pointer from integer without a cast [-Wint-conversion]
     return -EOPNOTSUPP;
            ^

vim +515 include/linux/bpf.h

   511	
   512	static inline struct bpf_prog *bpf_prog_get_type_path(const char *name,
   513					enum bpf_prog_type type)
   514	{
 > 515		return -EOPNOTSUPP;
   516	}
   517	#endif /* CONFIG_BPF_SYSCALL */
   518	

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