Skip to content
  • Mauro Carvalho Chehab's avatar
    [media] fs/compat_ioctl: it needs to see the DVBv3 compat stuff · e97a5d89
    Mauro Carvalho Chehab authored
    
    
    Only the ioctl core should see the DVBv3 compat stuff, as its
    contents are not available anymore to the drivers.
    
    As fs/compat_ioctl also handles DVBv3 ioctl's, it needs those
    definitions:
    
        fs/compat_ioctl.c:1345: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1345: error: array type has incomplete element type
        fs/compat_ioctl.c:1345: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1345: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1345: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1345: error: array type has incomplete element type
        fs/compat_ioctl.c:1345: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1345: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1345: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1345: error: array type has incomplete element type
        fs/compat_ioctl.c:1345: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1345: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1345: error: initializer element is not constant
        fs/compat_ioctl.c:1345: error: (near initialization for ‘ioctl_pointer[462]’)
        fs/compat_ioctl.c:1346: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1346: error: array type has incomplete element type
        fs/compat_ioctl.c:1346: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1346: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1346: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1346: error: array type has incomplete element type
        fs/compat_ioctl.c:1346: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1346: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1346: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1346: error: array type has incomplete element type
        fs/compat_ioctl.c:1346: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1346: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_parameters’
        fs/compat_ioctl.c:1346: error: initializer element is not constant
        fs/compat_ioctl.c:1346: error: (near initialization for ‘ioctl_pointer[463]’)
        fs/compat_ioctl.c:1347: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_event’
        fs/compat_ioctl.c:1347: error: array type has incomplete element type
        fs/compat_ioctl.c:1347: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_event’
        fs/compat_ioctl.c:1347: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_event’
        fs/compat_ioctl.c:1347: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_event’
        fs/compat_ioctl.c:1347: error: array type has incomplete element type
        fs/compat_ioctl.c:1347: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_event’
        fs/compat_ioctl.c:1347: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_event’
        fs/compat_ioctl.c:1347: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_event’
        fs/compat_ioctl.c:1347: error: array type has incomplete element type
        fs/compat_ioctl.c:1347: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_event’
        fs/compat_ioctl.c:1347: error: invalid application of ‘sizeof’ to incomplete type ‘struct dvb_frontend_event’
        fs/compat_ioctl.c:1347: error: initializer element is not constant
        fs/compat_ioctl.c:1347: error: (near initialization for ‘ioctl_pointer[464]’)
    
    Reported-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
    e97a5d89