• Stephen Rothwell's avatar
    V4L/DVB: using vmalloc requires include linux/vmalloc.h · 6fd2d0f9
    Stephen Rothwell authored
    After merging the scsi-post-merge tree, today's linux-next build (powerpc
    allyesconfig) failed like this:
    
    drivers/media/dvb/ngene/ngene-core.c: In function 'ngene_release_buffers':
    drivers/media/dvb/ngene/ngene-core.c:1443: error: implicit declaration of function 'vfree'
    drivers/media/dvb/ngene/ngene-core.c: In function 'ngene_get_buffers':
    drivers/media/dvb/ngene/ngene-core.c:1454: error: implicit declaration of function 'vmalloc'
    drivers/media/dvb/ngene/ngene-core.c:1454: warning: assignment makes pointer from integer without a cast
    drivers/media/dvb/ngene/ngene-core.c:1461: warning: assignment makes pointer from integer without a cast
    drivers/media/dvb/ngene/ngene-core.c:1467: warning: assignment makes pointer from integer without a cast
    drivers/media/dvb/ngene/ngene-core.c: In function 'ngene_probe':
    drivers/media/dvb/ngene/ngene-core.c:1836: warning: assignment makes pointer from integer without a cast
    
    Caused by commit b54c755d6263efe376f3dfc8c72c8e7b4fb4f4c1 ("V4L/DVB: ngene: Initial check-in").
    Signed-off-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    6fd2d0f9
ngene-core.c 52.6 KB