Problem width linux driver for fxos8700/fxas2100x

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem width linux driver for fxos8700/fxas2100x

2,605 Views
r6mf49t2
Contributor I

Hey.
I connected FXAS21002C and FXOS8700CQ to my system via spi and i2c. Devices normally work if they are accessed directly. Now I wanted to add the drivers of these devices to the kernel, but when I compile, I get a bunch of errors. What can be wrong?

root@Cherkanov-M:~/linux-socfpga-rel_socfpga-4.19_18.11.03_pr# make -j 4 uImage
scripts/kconfig/conf --syncconfig Kconfig
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
GZIP kernel/config_data.gz
UPD kernel/config_data.h
CC kernel/configs.o
AR kernel/built-in.a
CC drivers/misc/fxos8700.o
CC drivers/misc/fxas2100x.o
drivers/misc/fxos8700.c: In function ‘fxos8700_acc_ioctl’:
drivers/misc/fxos8700.c:299:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(copy_from_user(&delay,argp,sizeof(int)));
^~
drivers/misc/fxos8700.c:300:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
{
^
drivers/misc/fxos8700.c: In function ‘fxos8700_mag_ioctl’:
drivers/misc/fxos8700.c:405:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(copy_from_user(&delay,argp,sizeof(int)));
^~
drivers/misc/fxos8700.c:406:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
{
^
In file included from ./include/linux/kernel.h:15:0,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from drivers/misc/fxos8700.c:22:
drivers/misc/fxos8700.c: At top level:
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxos8700.c:595:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(enable, 0666,fxos8700_enable_show, fxos8700_enable_store);
^~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxos8700.c:597:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(poll_delay,0666,fxos8700_poll_delay_show, fxos8700_poll_delay_store);
^~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxos8700.c:599:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(position, 0666,fxos8700_position_show, fxos8700_position_store);
^~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxos8700.c:601:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(data, 0666,fxos8700_data_show, NULL);
^~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxos8700.c:628:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(motion_detect, 0666,fxos8700_motion_detect_show, fxos8700_motion_detect_store);
^~~~~~~~~~~
drivers/misc/fxos8700.c:807:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fxos8700_probe’
static int __devinit fxos8700_probe(struct i2c_client *client,
^~~~~~~~~~~~~~
drivers/misc/fxos8700.c:896:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fxos8700_remove’
static int __devexit fxos8700_remove(struct i2c_client *client)
^~~~~~~~~~~~~~~
drivers/misc/fxos8700.c:946:11: error: ‘fxos8700_probe’ undeclared here (not in a function); did you mean ‘fxos8700_driver’?
.probe = fxos8700_probe,
^~~~~~~~~~~~~~
fxos8700_driver
drivers/misc/fxos8700.c:947:12: error: implicit declaration of function ‘__devexit_p’; did you mean ‘__exit_p’? [-Werror=implicit-function-declaration]
.remove = __devexit_p(fxos8700_remove),
^~~~~~~~~~~
__exit_p
drivers/misc/fxas2100x.c: In function ‘fxas2100x_ioctl’:
drivers/misc/fxas2100x.c:320:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(copy_from_user(&delay,argp,sizeof(int)));
^~
drivers/misc/fxas2100x.c:321:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
{
^
drivers/misc/fxos8700.c:947:24: error: ‘fxos8700_remove’ undeclared here (not in a function); did you mean ‘fxos8700_resume’?
.remove = __devexit_p(fxos8700_remove),
^~~~~~~~~~~~~~~
fxos8700_resume
In file included from ./include/linux/kernel.h:15:0,
from ./include/linux/list.h:9,
from ./include/linux/module.h:9,
from drivers/misc/fxas2100x.c:20:
drivers/misc/fxas2100x.c: At top level:
drivers/misc/fxos8700.c:764:20: warning: ‘fxos8700_irq_handler’ defined but not used [-Wunused-function]
static irqreturn_t fxos8700_irq_handler(int irq, void *dev)
^~~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxas2100x.c:460:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(enable, 0666, fxas2100x_enable_show, fxas2100x_enable_store);
^~~~~~~~~~~
drivers/misc/fxos8700.c:748:12: warning: ‘fxos8700_unregister_input_device’ defined but not used [-Wunused-function]
static int fxos8700_unregister_input_device(struct fxos8700_data *pdata)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxas2100x.c:462:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(poll_delay, 0666,fxas2100x_poll_delay_show, fxas2100x_poll_delay_store);
^~~~~~~~~~~
drivers/misc/fxos8700.c:696:12: warning: ‘fxos8700_register_input_device’ defined but not used [-Wunused-function]
static int fxos8700_register_input_device(struct fxos8700_data *pdata)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxas2100x.c:464:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(position, 0666,fxas2100x_position_show, fxas2100x_position_store);
^~~~~~~~~~~
drivers/misc/fxos8700.c:682:12: warning: ‘fxos8700_unregister_sysfs_device’ defined but not used [-Wunused-function]
static int fxos8700_unregister_sysfs_device(struct fxos8700_data *pdata)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:29:45: error: negative width in bit-field ‘<anonymous>’
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
^
./include/linux/kernel.h:1033:3: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
BUILD_BUG_ON_ZERO((perms) & 2) + \
^~~~~~~~~~~~~~~~~
./include/linux/sysfs.h:103:12: note: in expansion of macro ‘VERIFY_OCTAL_PERMISSIONS’
.mode = VERIFY_OCTAL_PERMISSIONS(_mode) }, \
^~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/device.h:591:45: note: in expansion of macro ‘__ATTR’
struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store)
^~~~~~
drivers/misc/fxas2100x.c:466:8: note: in expansion of macro ‘DEVICE_ATTR’
static DEVICE_ATTR(data, 0666,fxas2100x_data_show, NULL);
^~~~~~~~~~~
drivers/misc/fxos8700.c:656:12: warning: ‘fxos8700_register_sysfs_device’ defined but not used [-Wunused-function]
static int fxos8700_register_sysfs_device(struct fxos8700_data *pdata)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/misc/fxas2100x.c:503:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fxas2100x_probe’
static int __devinit fxas2100x_probe(struct i2c_client *client,
^~~~~~~~~~~~~~~
drivers/misc/fxos8700.c:462:26: warning: ‘fxos8700_mag_device’ defined but not used [-Wunused-variable]
static struct miscdevice fxos8700_mag_device = {
^~~~~~~~~~~~~~~~~~~
drivers/misc/fxas2100x.c:595:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fxas2100x_remove’
static int __devexit fxas2100x_remove(struct i2c_client *client)
^~~~~~~~~~~~~~~~
drivers/misc/fxos8700.c:456:26: warning: ‘fxos8700_acc_device’ defined but not used [-Wunused-variable]
static struct miscdevice fxos8700_acc_device = {
^~~~~~~~~~~~~~~~~~~
drivers/misc/fxos8700.c:187:12: warning: ‘fxos8700_device_init’ defined but not used [-Wunused-function]
static int fxos8700_device_init(struct i2c_client *client)
^~~~~~~~~~~~~~~~~~~~
drivers/misc/fxas2100x.c:647:12: error: ‘fxas2100x_probe’ undeclared here (not in a function); did you mean ‘fxas2100x_driver’?
.probe = fxas2100x_probe,
^~~~~~~~~~~~~~~
fxas2100x_driver
cc1: some warnings being treated as errors
drivers/misc/fxas2100x.c:648:13: error: implicit declaration of function ‘__devexit_p’; did you mean ‘__exit_p’? [-Werror=implicit-function-declaration]
.remove = __devexit_p(fxas2100x_remove),
^~~~~~~~~~~
__exit_p
scripts/Makefile.build:305: recipe for target 'drivers/misc/fxos8700.o' failed
make[2]: *** [drivers/misc/fxos8700.o] Error 1
make[2]: *** Waiting for unfinished jobs....
drivers/misc/fxas2100x.c:648:25: error: ‘fxas2100x_remove’ undeclared here (not in a function); did you mean ‘fxas2100x_resume’?
.remove = __devexit_p(fxas2100x_remove),
^~~~~~~~~~~~~~~~
fxas2100x_resume
drivers/misc/fxas2100x.c:481:20: warning: ‘fxas2100x_irq_handler’ defined but not used [-Wunused-function]
static irqreturn_t fxas2100x_irq_handler(int irq, void *dev)
^~~~~~~~~~~~~~~~~~~~~
drivers/misc/fxas2100x.c:370:26: warning: ‘fxas2100x_device’ defined but not used [-Wunused-variable]
static struct miscdevice fxas2100x_device = {
^~~~~~~~~~~~~~~~
drivers/misc/fxas2100x.c:137:12: warning: ‘fxas2100x_device_init’ defined but not used [-Wunused-function]
static int fxas2100x_device_init(struct i2c_client *client)
^~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:305: recipe for target 'drivers/misc/fxas2100x.o' failed
make[2]: *** [drivers/misc/fxas2100x.o] Error 1
scripts/Makefile.build:546: recipe for target 'drivers/misc' failed
make[1]: *** [drivers/misc] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:1052: recipe for target 'drivers' failed
make: *** [drivers] Error 2

Labels (3)
0 Kudos
1 Reply

2,107 Views
r6mf49t2
Contributor I

 fixed the driver, now they are compiled. If someone encounters the same problem:

0 Kudos
%3CLINGO-SUB%20id%3D%22lingo-sub-841675%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EProblem%20width%20linux%20driver%20for%20fxos8700%2Ffxas2100x%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-841675%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHey.%3CBR%20%2F%3EI%20connected%20FXAS21002C%20and%20FXOS8700CQ%20to%20my%20system%20via%20spi%20and%20i2c.%20Devices%20normally%20work%20if%20they%20are%20accessed%20directly.%20Now%20I%20wanted%20to%20add%20the%20drivers%20of%20these%20devices%20to%20the%20kernel%2C%20but%20when%20I%20compile%2C%20I%20get%20a%20bunch%20of%20errors.%20What%20can%20be%20wrong%3F%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CBLOCKQUOTE%20class%3D%22jive_macro_quote%20jive-quote%20jive_text_macro%22%3E%3CP%3Eroot%40Cherkanov-M%3A~%2Flinux-socfpga-rel_socfpga-4.19_18.11.03_pr%23%20make%20-j%204%20uImage%3CBR%20%2F%3Escripts%2Fkconfig%2Fconf%20--syncconfig%20Kconfig%3CBR%20%2F%3E%20CALL%20scripts%2Fchecksyscalls.sh%3CBR%20%2F%3E%20CHK%20include%2Fgenerated%2Fcompile.h%3CBR%20%2F%3E%20GZIP%20kernel%2Fconfig_data.gz%3CBR%20%2F%3E%20UPD%20kernel%2Fconfig_data.h%3CBR%20%2F%3E%20CC%20kernel%2Fconfigs.o%3CBR%20%2F%3E%20AR%20kernel%2Fbuilt-in.a%3CBR%20%2F%3E%20CC%20drivers%2Fmisc%2Ffxos8700.o%3CBR%20%2F%3E%20CC%20drivers%2Fmisc%2Ffxas2100x.o%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A%20In%20function%20%E2%80%98fxos8700_acc_ioctl%E2%80%99%3A%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A299%3A4%3A%20warning%3A%20this%20%E2%80%98if%E2%80%99%20clause%20does%20not%20guard...%20%5B-Wmisleading-indentation%5D%3CBR%20%2F%3E%20if(copy_from_user(%26amp%3Bdelay%2Cargp%2Csizeof(int)))%3B%3CBR%20%2F%3E%20%5E~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A300%3A4%3A%20note%3A%20...this%20statement%2C%20but%20the%20latter%20is%20misleadingly%20indented%20as%20if%20it%20were%20guarded%20by%20the%20%E2%80%98if%E2%80%99%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A%20In%20function%20%E2%80%98fxos8700_mag_ioctl%E2%80%99%3A%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A405%3A4%3A%20warning%3A%20this%20%E2%80%98if%E2%80%99%20clause%20does%20not%20guard...%20%5B-Wmisleading-indentation%5D%3CBR%20%2F%3E%20if(copy_from_user(%26amp%3Bdelay%2Cargp%2Csizeof(int)))%3B%3CBR%20%2F%3E%20%5E~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A406%3A4%3A%20note%3A%20...this%20statement%2C%20but%20the%20latter%20is%20misleadingly%20indented%20as%20if%20it%20were%20guarded%20by%20the%20%E2%80%98if%E2%80%99%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3EIn%20file%20included%20from%20.%2Finclude%2Flinux%2Fkernel.h%3A15%3A0%2C%3CBR%20%2F%3E%20from%20.%2Finclude%2Flinux%2Flist.h%3A9%2C%3CBR%20%2F%3E%20from%20.%2Finclude%2Flinux%2Fmodule.h%3A9%2C%3CBR%20%2F%3E%20from%20drivers%2Fmisc%2Ffxos8700.c%3A22%3A%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A%20At%20top%20level%3A%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20%E2%80%98%3CANONYMOUS%3E%E2%80%99%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98BUILD_BUG_ON_ZERO%E2%80%99%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%20%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98VERIFY_OCTAL_PERMISSIONS%E2%80%99%3CBR%20%2F%3E%20.mode%20%3D%20VERIFY_OCTAL_PERMISSIONS(_mode)%20%7D%2C%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fdevice.h%3A591%3A45%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98__ATTR%E2%80%99%3CBR%20%2F%3E%20struct%20device_attribute%20dev_attr_%23%23_name%20%3D%20__ATTR(_name%2C%20_mode%2C%20_show%2C%20_store)%3CBR%20%2F%3E%20%5E~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A595%3A8%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98DEVICE_ATTR%E2%80%99%3CBR%20%2F%3E%20static%20DEVICE_ATTR(enable%2C%200666%2Cfxos8700_enable_show%2C%20fxos8700_enable_store)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20%E2%80%98%3CANONYMOUS%3E%E2%80%99%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98BUILD_BUG_ON_ZERO%E2%80%99%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%20%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98VERIFY_OCTAL_PERMISSIONS%E2%80%99%3CBR%20%2F%3E%20.mode%20%3D%20VERIFY_OCTAL_PERMISSIONS(_mode)%20%7D%2C%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fdevice.h%3A591%3A45%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98__ATTR%E2%80%99%3CBR%20%2F%3E%20struct%20device_attribute%20dev_attr_%23%23_name%20%3D%20__ATTR(_name%2C%20_mode%2C%20_show%2C%20_store)%3CBR%20%2F%3E%20%5E~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A597%3A8%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98DEVICE_ATTR%E2%80%99%3CBR%20%2F%3E%20static%20DEVICE_ATTR(poll_delay%2C0666%2Cfxos8700_poll_delay_show%2C%20fxos8700_poll_delay_store)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20%E2%80%98%3CANONYMOUS%3E%E2%80%99%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98BUILD_BUG_ON_ZERO%E2%80%99%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%20%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98VERIFY_OCTAL_PERMISSIONS%E2%80%99%3CBR%20%2F%3E%20.mode%20%3D%20VERIFY_OCTAL_PERMISSIONS(_mode)%20%7D%2C%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fdevice.h%3A591%3A45%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98__ATTR%E2%80%99%3CBR%20%2F%3E%20struct%20device_attribute%20dev_attr_%23%23_name%20%3D%20__ATTR(_name%2C%20_mode%2C%20_show%2C%20_store)%3CBR%20%2F%3E%20%5E~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A599%3A8%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98DEVICE_ATTR%E2%80%99%3CBR%20%2F%3E%20static%20DEVICE_ATTR(position%2C%200666%2Cfxos8700_position_show%2C%20fxos8700_position_store)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20%E2%80%98%3CANONYMOUS%3E%E2%80%99%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98BUILD_BUG_ON_ZERO%E2%80%99%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%20%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98VERIFY_OCTAL_PERMISSIONS%E2%80%99%3CBR%20%2F%3E%20.mode%20%3D%20VERIFY_OCTAL_PERMISSIONS(_mode)%20%7D%2C%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fdevice.h%3A591%3A45%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98__ATTR%E2%80%99%3CBR%20%2F%3E%20struct%20device_attribute%20dev_attr_%23%23_name%20%3D%20__ATTR(_name%2C%20_mode%2C%20_show%2C%20_store)%3CBR%20%2F%3E%20%5E~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A601%3A8%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98DEVICE_ATTR%E2%80%99%3CBR%20%2F%3E%20static%20DEVICE_ATTR(data%2C%200666%2Cfxos8700_data_show%2C%20NULL)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20%E2%80%98%3CANONYMOUS%3E%E2%80%99%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98BUILD_BUG_ON_ZERO%E2%80%99%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%20%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98VERIFY_OCTAL_PERMISSIONS%E2%80%99%3CBR%20%2F%3E%20.mode%20%3D%20VERIFY_OCTAL_PERMISSIONS(_mode)%20%7D%2C%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fdevice.h%3A591%3A45%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98__ATTR%E2%80%99%3CBR%20%2F%3E%20struct%20device_attribute%20dev_attr_%23%23_name%20%3D%20__ATTR(_name%2C%20_mode%2C%20_show%2C%20_store)%3CBR%20%2F%3E%20%5E~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A628%3A8%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98DEVICE_ATTR%E2%80%99%3CBR%20%2F%3E%20static%20DEVICE_ATTR(motion_detect%2C%200666%2Cfxos8700_motion_detect_show%2C%20fxos8700_motion_detect_store)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A807%3A22%3A%20error%3A%20expected%20%E2%80%98%3D%E2%80%99%2C%20%E2%80%98%2C%E2%80%99%2C%20%E2%80%98%3B%E2%80%99%2C%20%E2%80%98asm%E2%80%99%20or%20%E2%80%98__attribute__%E2%80%99%20before%20%E2%80%98fxos8700_probe%E2%80%99%3CBR%20%2F%3E%20static%20int%20__devinit%20fxos8700_probe(struct%20i2c_client%20*client%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A896%3A22%3A%20error%3A%20expected%20%E2%80%98%3D%E2%80%99%2C%20%E2%80%98%2C%E2%80%99%2C%20%E2%80%98%3B%E2%80%99%2C%20%E2%80%98asm%E2%80%99%20or%20%E2%80%98__attribute__%E2%80%99%20before%20%E2%80%98fxos8700_remove%E2%80%99%3CBR%20%2F%3E%20static%20int%20__devexit%20fxos8700_remove(struct%20i2c_client%20*client)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A946%3A11%3A%20error%3A%20%E2%80%98fxos8700_probe%E2%80%99%20undeclared%20here%20(not%20in%20a%20function)%3B%20did%20you%20mean%20%E2%80%98fxos8700_driver%E2%80%99%3F%3CBR%20%2F%3E%20.probe%20%3D%20fxos8700_probe%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~%3CBR%20%2F%3E%20fxos8700_driver%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A947%3A12%3A%20error%3A%20implicit%20declaration%20of%20function%20%E2%80%98__devexit_p%E2%80%99%3B%20did%20you%20mean%20%E2%80%98__exit_p%E2%80%99%3F%20%5B-Werror%3Dimplicit-function-declaration%5D%3CBR%20%2F%3E%20.remove%20%3D%20__devexit_p(fxos8700_remove)%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3E%20__exit_p%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A%20In%20function%20%E2%80%98fxas2100x_ioctl%E2%80%99%3A%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A320%3A4%3A%20warning%3A%20this%20%E2%80%98if%E2%80%99%20clause%20does%20not%20guard...%20%5B-Wmisleading-indentation%5D%3CBR%20%2F%3E%20if(copy_from_user(%26amp%3Bdelay%2Cargp%2Csizeof(int)))%3B%3CBR%20%2F%3E%20%5E~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A321%3A4%3A%20note%3A%20...this%20statement%2C%20but%20the%20latter%20is%20misleadingly%20indented%20as%20if%20it%20were%20guarded%20by%20the%20%E2%80%98if%E2%80%99%3CBR%20%2F%3E%20%7B%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A947%3A24%3A%20error%3A%20%E2%80%98fxos8700_remove%E2%80%99%20undeclared%20here%20(not%20in%20a%20function)%3B%20did%20you%20mean%20%E2%80%98fxos8700_resume%E2%80%99%3F%3CBR%20%2F%3E%20.remove%20%3D%20__devexit_p(fxos8700_remove)%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~%3CBR%20%2F%3E%20fxos8700_resume%3CBR%20%2F%3EIn%20file%20included%20from%20.%2Finclude%2Flinux%2Fkernel.h%3A15%3A0%2C%3CBR%20%2F%3E%20from%20.%2Finclude%2Flinux%2Flist.h%3A9%2C%3CBR%20%2F%3E%20from%20.%2Finclude%2Flinux%2Fmodule.h%3A9%2C%3CBR%20%2F%3E%20from%20drivers%2Fmisc%2Ffxas2100x.c%3A20%3A%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A%20At%20top%20level%3A%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A764%3A20%3A%20warning%3A%20%E2%80%98fxos8700_irq_handler%E2%80%99%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20irqreturn_t%20fxos8700_irq_handler(int%20irq%2C%20void%20*dev)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20%E2%80%98%3CANONYMOUS%3E%E2%80%99%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98BUILD_BUG_ON_ZERO%E2%80%99%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%20%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98VERIFY_OCTAL_PERMISSIONS%E2%80%99%3CBR%20%2F%3E%20.mode%20%3D%20VERIFY_OCTAL_PERMISSIONS(_mode)%20%7D%2C%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fdevice.h%3A591%3A45%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98__ATTR%E2%80%99%3CBR%20%2F%3E%20struct%20device_attribute%20dev_attr_%23%23_name%20%3D%20__ATTR(_name%2C%20_mode%2C%20_show%2C%20_store)%3CBR%20%2F%3E%20%5E~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A460%3A8%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98DEVICE_ATTR%E2%80%99%3CBR%20%2F%3E%20static%20DEVICE_ATTR(enable%2C%200666%2C%20fxas2100x_enable_show%2C%20fxas2100x_enable_store)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A748%3A12%3A%20warning%3A%20%E2%80%98fxos8700_unregister_input_device%E2%80%99%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20int%20fxos8700_unregister_input_device(struct%20fxos8700_data%20*pdata)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20%E2%80%98%3CANONYMOUS%3E%E2%80%99%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98BUILD_BUG_ON_ZERO%E2%80%99%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%20%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98VERIFY_OCTAL_PERMISSIONS%E2%80%99%3CBR%20%2F%3E%20.mode%20%3D%20VERIFY_OCTAL_PERMISSIONS(_mode)%20%7D%2C%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fdevice.h%3A591%3A45%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98__ATTR%E2%80%99%3CBR%20%2F%3E%20struct%20device_attribute%20dev_attr_%23%23_name%20%3D%20__ATTR(_name%2C%20_mode%2C%20_show%2C%20_store)%3CBR%20%2F%3E%20%5E~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A462%3A8%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98DEVICE_ATTR%E2%80%99%3CBR%20%2F%3E%20static%20DEVICE_ATTR(poll_delay%2C%200666%2Cfxas2100x_poll_delay_show%2C%20fxas2100x_poll_delay_store)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A696%3A12%3A%20warning%3A%20%E2%80%98fxos8700_register_input_device%E2%80%99%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20int%20fxos8700_register_input_device(struct%20fxos8700_data%20*pdata)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20%E2%80%98%3CANONYMOUS%3E%E2%80%99%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98BUILD_BUG_ON_ZERO%E2%80%99%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%20%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98VERIFY_OCTAL_PERMISSIONS%E2%80%99%3CBR%20%2F%3E%20.mode%20%3D%20VERIFY_OCTAL_PERMISSIONS(_mode)%20%7D%2C%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fdevice.h%3A591%3A45%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98__ATTR%E2%80%99%3CBR%20%2F%3E%20struct%20device_attribute%20dev_attr_%23%23_name%20%3D%20__ATTR(_name%2C%20_mode%2C%20_show%2C%20_store)%3CBR%20%2F%3E%20%5E~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A464%3A8%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98DEVICE_ATTR%E2%80%99%3CBR%20%2F%3E%20static%20DEVICE_ATTR(position%2C%200666%2Cfxas2100x_position_show%2C%20fxas2100x_position_store)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A682%3A12%3A%20warning%3A%20%E2%80%98fxos8700_unregister_sysfs_device%E2%80%99%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20int%20fxos8700_unregister_sysfs_device(struct%20fxos8700_data%20*pdata)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fbuild_bug.h%3A29%3A45%3A%20error%3A%20negative%20width%20in%20bit-field%20%E2%80%98%3CANONYMOUS%3E%E2%80%99%3CBR%20%2F%3E%20%23define%20BUILD_BUG_ON_ZERO(e)%20(sizeof(struct%20%7B%20int%3A(-!!(e))%3B%20%7D))%3CBR%20%2F%3E%20%5E%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fkernel.h%3A1033%3A3%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98BUILD_BUG_ON_ZERO%E2%80%99%3CBR%20%2F%3E%20BUILD_BUG_ON_ZERO((perms)%20%26amp%3B%202)%20%2B%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fsysfs.h%3A103%3A12%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98VERIFY_OCTAL_PERMISSIONS%E2%80%99%3CBR%20%2F%3E%20.mode%20%3D%20VERIFY_OCTAL_PERMISSIONS(_mode)%20%7D%2C%20%5C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3E.%2Finclude%2Flinux%2Fdevice.h%3A591%3A45%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98__ATTR%E2%80%99%3CBR%20%2F%3E%20struct%20device_attribute%20dev_attr_%23%23_name%20%3D%20__ATTR(_name%2C%20_mode%2C%20_show%2C%20_store)%3CBR%20%2F%3E%20%5E~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A466%3A8%3A%20note%3A%20in%20expansion%20of%20macro%20%E2%80%98DEVICE_ATTR%E2%80%99%3CBR%20%2F%3E%20static%20DEVICE_ATTR(data%2C%200666%2Cfxas2100x_data_show%2C%20NULL)%3B%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A656%3A12%3A%20warning%3A%20%E2%80%98fxos8700_register_sysfs_device%E2%80%99%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20int%20fxos8700_register_sysfs_device(struct%20fxos8700_data%20*pdata)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A503%3A22%3A%20error%3A%20expected%20%E2%80%98%3D%E2%80%99%2C%20%E2%80%98%2C%E2%80%99%2C%20%E2%80%98%3B%E2%80%99%2C%20%E2%80%98asm%E2%80%99%20or%20%E2%80%98__attribute__%E2%80%99%20before%20%E2%80%98fxas2100x_probe%E2%80%99%3CBR%20%2F%3E%20static%20int%20__devinit%20fxas2100x_probe(struct%20i2c_client%20*client%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A462%3A26%3A%20warning%3A%20%E2%80%98fxos8700_mag_device%E2%80%99%20defined%20but%20not%20used%20%5B-Wunused-variable%5D%3CBR%20%2F%3E%20static%20struct%20miscdevice%20fxos8700_mag_device%20%3D%20%7B%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A595%3A22%3A%20error%3A%20expected%20%E2%80%98%3D%E2%80%99%2C%20%E2%80%98%2C%E2%80%99%2C%20%E2%80%98%3B%E2%80%99%2C%20%E2%80%98asm%E2%80%99%20or%20%E2%80%98__attribute__%E2%80%99%20before%20%E2%80%98fxas2100x_remove%E2%80%99%3CBR%20%2F%3E%20static%20int%20__devexit%20fxas2100x_remove(struct%20i2c_client%20*client)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A456%3A26%3A%20warning%3A%20%E2%80%98fxos8700_acc_device%E2%80%99%20defined%20but%20not%20used%20%5B-Wunused-variable%5D%3CBR%20%2F%3E%20static%20struct%20miscdevice%20fxos8700_acc_device%20%3D%20%7B%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxos8700.c%3A187%3A12%3A%20warning%3A%20%E2%80%98fxos8700_device_init%E2%80%99%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20int%20fxos8700_device_init(struct%20i2c_client%20*client)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A647%3A12%3A%20error%3A%20%E2%80%98fxas2100x_probe%E2%80%99%20undeclared%20here%20(not%20in%20a%20function)%3B%20did%20you%20mean%20%E2%80%98fxas2100x_driver%E2%80%99%3F%3CBR%20%2F%3E%20.probe%20%3D%20fxas2100x_probe%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~%3CBR%20%2F%3E%20fxas2100x_driver%3CBR%20%2F%3Ecc1%3A%20some%20warnings%20being%20treated%20as%20errors%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A648%3A13%3A%20error%3A%20implicit%20declaration%20of%20function%20%E2%80%98__devexit_p%E2%80%99%3B%20did%20you%20mean%20%E2%80%98__exit_p%E2%80%99%3F%20%5B-Werror%3Dimplicit-function-declaration%5D%3CBR%20%2F%3E%20.remove%20%3D%20__devexit_p(fxas2100x_remove)%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~%3CBR%20%2F%3E%20__exit_p%3CBR%20%2F%3Escripts%2FMakefile.build%3A305%3A%20recipe%20for%20target%20'drivers%2Fmisc%2Ffxos8700.o'%20failed%3CBR%20%2F%3Emake%5B2%5D%3A%20***%20%5Bdrivers%2Fmisc%2Ffxos8700.o%5D%20Error%201%3CBR%20%2F%3Emake%5B2%5D%3A%20***%20Waiting%20for%20unfinished%20jobs....%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A648%3A25%3A%20error%3A%20%E2%80%98fxas2100x_remove%E2%80%99%20undeclared%20here%20(not%20in%20a%20function)%3B%20did%20you%20mean%20%E2%80%98fxas2100x_resume%E2%80%99%3F%3CBR%20%2F%3E%20.remove%20%3D%20__devexit_p(fxas2100x_remove)%2C%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~%3CBR%20%2F%3E%20fxas2100x_resume%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A481%3A20%3A%20warning%3A%20%E2%80%98fxas2100x_irq_handler%E2%80%99%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20irqreturn_t%20fxas2100x_irq_handler(int%20irq%2C%20void%20*dev)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A370%3A26%3A%20warning%3A%20%E2%80%98fxas2100x_device%E2%80%99%20defined%20but%20not%20used%20%5B-Wunused-variable%5D%3CBR%20%2F%3E%20static%20struct%20miscdevice%20fxas2100x_device%20%3D%20%7B%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~%3CBR%20%2F%3Edrivers%2Fmisc%2Ffxas2100x.c%3A137%3A12%3A%20warning%3A%20%E2%80%98fxas2100x_device_init%E2%80%99%20defined%20but%20not%20used%20%5B-Wunused-function%5D%3CBR%20%2F%3E%20static%20int%20fxas2100x_device_init(struct%20i2c_client%20*client)%3CBR%20%2F%3E%20%5E~~~~~~~~~~~~~~~~~~~~%3CBR%20%2F%3Ecc1%3A%20some%20warnings%20being%20treated%20as%20errors%3CBR%20%2F%3Escripts%2FMakefile.build%3A305%3A%20recipe%20for%20target%20'drivers%2Fmisc%2Ffxas2100x.o'%20failed%3CBR%20%2F%3Emake%5B2%5D%3A%20***%20%5Bdrivers%2Fmisc%2Ffxas2100x.o%5D%20Error%201%3CBR%20%2F%3Escripts%2FMakefile.build%3A546%3A%20recipe%20for%20target%20'drivers%2Fmisc'%20failed%3CBR%20%2F%3Emake%5B1%5D%3A%20***%20%5Bdrivers%2Fmisc%5D%20Error%202%3CBR%20%2F%3Emake%5B1%5D%3A%20***%20Waiting%20for%20unfinished%20jobs....%3CBR%20%2F%3EMakefile%3A1052%3A%20recipe%20for%20target%20'drivers'%20failed%3CBR%20%2F%3Emake%3A%20***%20%5Bdrivers%5D%20Error%202%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FANONYMOUS%3E%3C%2FP%3E%3C%2FBLOCKQUOTE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-841675%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EAccelerometers%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGyroscope%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMagnetic%20Sensors%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-841676%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Problem%20width%20linux%20driver%20for%20fxos8700%2Ffxas2100x%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-841676%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%26nbsp%3Bfixed%20the%20driver%2C%20now%20they%20are%20compiled.%20If%20someone%20encounters%20the%20same%20problem%3A%3C%2FP%3E%3C%2FLINGO-BODY%3E