• A
    net: xen-netback: include linux/vmalloc.h again · e7b599d7
    Arnd Bergmann 提交于
    commit e9ce7cb6 ("xen-netback: Factor queue-specific data into
    queue struct") added a use of vzalloc/vfree to interface.c, but
    removed the #include <linux/vmalloc.h> statement at the same time,
    which causes this build error:
    
    drivers/net/xen-netback/interface.c: In function 'xenvif_free':
    drivers/net/xen-netback/interface.c:754:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
      vfree(vif->queues);
      ^
    cc1: some warnings being treated as errors
    Signed-off-by: NArnd Bergmann <arnd@arndb.de>
    Cc: Wei Liu <wei.liu2@citrix.com>
    Cc: Andrew J. Bennieston <andrew.bennieston@citrix.com>
    Acked-by: NWei Liu <wei.liu2@citrix.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    e7b599d7
interface.c 19.9 KB