Prev: x86: Add memory modify constraints to xchg() and cmpxchg()
Next: random: reorder struct entropy_store to remove padding on 64bits
From: Randy Dunlap on 28 Jul 2010 12:00 On Tue, 27 Jul 2010 14:56:50 -0700 akpm(a)linux-foundation.org wrote: > The mm-of-the-moment snapshot 2010-07-27-14-56 has been uploaded to > > http://userweb.kernel.org/~akpm/mmotm/ > > and will soon be available at > > git://zen-kernel.org/kernel/mmotm.git (from linux-next.patch ?) In file included from drivers/staging/iio/accel/lis3l02dq_core.c:31: drivers/staging/iio/accel/../ring_sw.h:223: warning: 'struct iio_ring_access_funcs' declared inside parameter list drivers/staging/iio/accel/../ring_sw.h:223: warning: its scope is only this definition or declaration, which is probably not what you want In file included from drivers/staging/iio/accel/lis3l02dq_core.c:35: drivers/staging/iio/accel/lis3l02dq.h:161: error: field 'help' has incomplete type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_read_reg_8': drivers/staging/iio/accel/lis3l02dq_core.c:54: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:54: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_write_reg_8': drivers/staging/iio/accel/lis3l02dq_core.c:92: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:92: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_write_reg_s16': drivers/staging/iio/accel/lis3l02dq_core.c:128: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:128: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_read_reg_s16': drivers/staging/iio/accel/lis3l02dq_core.c:172: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:172: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_thresh_handler_th': drivers/staging/iio/accel/lis3l02dq_core.c:615: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:615: warning: initialization from incompatible pointer type drivers/staging/iio/accel/lis3l02dq_core.c:618: error: dereferencing pointer to incomplete type drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_stop_device': drivers/staging/iio/accel/lis3l02dq_core.c:865: warning: type defaults to 'int' in declaration of '__mptr' drivers/staging/iio/accel/lis3l02dq_core.c:865: warning: initialization from incompatible pointer type drivers/staging/iio/imu/adis16350_core.c: In function 'adis16350_probe': drivers/staging/iio/imu/adis16350_core.c:614: error: implicit declaration of function 'adis16350_configure_ring' drivers/staging/iio/imu/adis16350_core.c:657: error: implicit declaration of function 'adis16350_unconfigure_ring' config attached. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code ***
From: Jonathan Cameron on 28 Jul 2010 14:30
Thanks, Sorry, my bad, will send fix out shortly. Jonathan > On Tue, 27 Jul 2010 14:56:50 -0700 akpm(a)linux-foundation.org wrote: > >> The mm-of-the-moment snapshot 2010-07-27-14-56 has been uploaded to >> >> http://userweb.kernel.org/~akpm/mmotm/ >> >> and will soon be available at >> >> git://zen-kernel.org/kernel/mmotm.git > > > (from linux-next.patch ?) > > In file included from drivers/staging/iio/accel/lis3l02dq_core.c:31: > drivers/staging/iio/accel/../ring_sw.h:223: warning: 'struct iio_ring_access_funcs' declared inside parameter list > drivers/staging/iio/accel/../ring_sw.h:223: warning: its scope is only this definition or declaration, which is probably not what you want > In file included from drivers/staging/iio/accel/lis3l02dq_core.c:35: > drivers/staging/iio/accel/lis3l02dq.h:161: error: field 'help' has incomplete type > drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_read_reg_8': > drivers/staging/iio/accel/lis3l02dq_core.c:54: warning: type defaults to 'int' in declaration of '__mptr' > drivers/staging/iio/accel/lis3l02dq_core.c:54: warning: initialization from incompatible pointer type > drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_write_reg_8': > drivers/staging/iio/accel/lis3l02dq_core.c:92: warning: type defaults to 'int' in declaration of '__mptr' > drivers/staging/iio/accel/lis3l02dq_core.c:92: warning: initialization from incompatible pointer type > drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_write_reg_s16': > drivers/staging/iio/accel/lis3l02dq_core.c:128: warning: type defaults to 'int' in declaration of '__mptr' > drivers/staging/iio/accel/lis3l02dq_core.c:128: warning: initialization from incompatible pointer type > drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_spi_read_reg_s16': > drivers/staging/iio/accel/lis3l02dq_core.c:172: warning: type defaults to 'int' in declaration of '__mptr' > drivers/staging/iio/accel/lis3l02dq_core.c:172: warning: initialization from incompatible pointer type > drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_thresh_handler_th': > drivers/staging/iio/accel/lis3l02dq_core.c:615: warning: type defaults to 'int' in declaration of '__mptr' > drivers/staging/iio/accel/lis3l02dq_core.c:615: warning: initialization from incompatible pointer type > drivers/staging/iio/accel/lis3l02dq_core.c:618: error: dereferencing pointer to incomplete type > drivers/staging/iio/accel/lis3l02dq_core.c: In function 'lis3l02dq_stop_device': > drivers/staging/iio/accel/lis3l02dq_core.c:865: warning: type defaults to 'int' in declaration of '__mptr' > drivers/staging/iio/accel/lis3l02dq_core.c:865: warning: initialization from incompatible pointer type > drivers/staging/iio/imu/adis16350_core.c: In function 'adis16350_probe': > drivers/staging/iio/imu/adis16350_core.c:614: error: implicit declaration of function 'adis16350_configure_ring' > drivers/staging/iio/imu/adis16350_core.c:657: error: implicit declaration of function 'adis16350_unconfigure_ring' > > > config attached. > > --- > ~Randy > *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |