Skip to contentSkip to conversation

fs/btrfs/backref.c:1637:2: error: implicit declaration of function 'vfree

PATCH New Fengguang Wu 1 participant 1 message Sep 16, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 62/66 fs/btrfs/backref.c:1637:2: error: implicit declaration of function 'vfree

Hi Josef,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git master
head:   df147c57b7b79624c977ffc4c763018a5426e6d8
commit: b17d706f8458bd6a0f42d5de2f3b7dca26ea8029 [62/66] Btrfs: use vfree instead of kfree
config: s390-allmodconfig

All related error/warning messages:

fs/btrfs/backref.c: In function 'init_data_container':
fs/btrfs/backref.c:1586:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration] fs/btrfs/backref.c:1586:7: warning: assignment makes pointer from integer without a cast [enabled by default] fs/btrfs/backref.c: In function 'free_ipath':
fs/btrfs/backref.c:1637:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

vim +1637 fs/btrfs/backref.c
1632
1633 void free_ipath(struct inode_fs_paths *ipath)
1634 {
1635 if (!ipath)
1636 return;

Quoted 1 line

1637 vfree(ipath->fspath);

1638 kfree(ipath);
1639 }

---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu, Yuanhan Liu Intel Corporation