Tree/Branch: v3.12.29
Git describe: v3.12.29
Commit: b45ddfa256 Linux 3.12.29
Build Time: 44 min 16 sec
Passed: 0 / 8 ( 0.00 %)
Failed: 8 / 8 (100.00 %)
Errors: 34
Warnings: 129
Section Mismatches: 1
Failed defconfigs:
arm64-allnoconfig
arm64-allmodconfig
arm-multi_v7_defconfig
x86_64-defconfig
arm-allmodconfig
arm-allnoconfig
x86_64-allnoconfig
arm64-defconfig
Errors:
arm64-allnoconfig
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
arm64-allmodconfig
/home/broonie/build/linux-stable/drivers/hwmon/sht21.c:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:8: error: 'struct smsc47m192_data' has no member named 'temp_'
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected ';' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/thmc50.c:416:39: error: expected '{' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:137:28: error: 'struct sensor_device_attribute' has no member named 'dev_a'
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:137:2: error: expected '}' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:17: error: 'p' undeclared (first use in this function)
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected ')' at end of input
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/media/usb/b2c2/flexcop-usb.c:393:3: error: implicit declaration of function 'pci_free_consistent' [-Werror=implicit-function-declaration]
/home/broonie/build/linux-stable/drivers/media/usb/b2c2/flexcop-usb.c:410:2: error: implicit declaration of function 'pci_alloc_consistent' [-Werror=implicit-function-declaration]
/home/broonie/build/linux-stable/drivers/parport/parport_pc.c:67:25: fatal error: asm/parport.h: No such file or directory
/home/broonie/build/linux-stable/drivers/staging/lustre/lustre/llite/lloop.c:527:78: error: duplicate case value
/home/broonie/build/linux-stable/drivers/staging/lustre/lustre/llite/lloop.c:527:18: error: previously used here
arm-multi_v7_defconfig
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
x86_64-defconfig
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
arm-allmodconfig
/home/broonie/build/linux-stable/drivers/hwspinlock/omap_hwspinlock.c:158:2: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/sht21.c:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:8: error: 'struct smsc47m192_data' has no member named 'temp_'
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected ';' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/thmc50.c:416:39: error: expected '{' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/twl4030-madc-hwmon.c:123:1: error: expected identifier or '(' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:137:28: error: 'struct sensor_device_attribute' has no member named 'dev_a'
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:137:2: error: expected '}' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:17: error: 'p' undeclared (first use in this function)
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected ')' at end of input
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/infiniband/core/mad_priv.h:36:0: error: unterminated #ifndef
/home/broonie/build/linux-stable/drivers/infiniband/core/mad_rmpp.h:36:1: error: expected ':', ',', ';', '}' or '__attribute__' before 'enum'
/home/broonie/build/linux-stable/drivers/infiniband/core/mad_priv.h:36:0: error: unterminated #ifndef
/home/broonie/build/linux-stable/drivers/infiniband/core/agent.c:48:1: error: expected ':', ',', ';', '}' or '__attribute__' before 'struct'
/home/broonie/build/linux-stable/drivers/infiniband/core/agent.c:128:3: error: missing terminating " character
/home/broonie/build/linux-stable/drivers/infiniband/core/mad_priv.h:36:0: error: unterminated #ifndef
/home/broonie/build/linux-stable/drivers/infiniband/core/mad_rmpp.h:36:1: error: expected ':', ',', ';', '}' or '__attribute__' before 'enum'
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1148:29: error: 'stru' undeclared (first use in this function)
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1148:7: error: expected ')' at end of input
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1147:13: error: too few arguments to function 'kzalloc'
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1148:7: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:323:17: error: 'cpu_to_be6' undeclared (first use in this function)
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:323:2: error: expected ';' at end of input
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:323:2: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:314:3: error: label 'bail1' used but not defined
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:309:3: error: label 'bail0' used but not defined
/home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:259:3: error: expected ';' at end of input
/home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:259:3: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:259:3: error: expected declaration or statement at end of input
arm-allnoconfig
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
x86_64-allnoconfig
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
arm64-defconfig
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
1 warnings 0 mismatches : arm64-allnoconfig
70 warnings 0 mismatches : arm64-allmodconfig
1 warnings 0 mismatches : arm-multi_v7_defconfig
2 warnings 0 mismatches : x86_64-defconfig
88 warnings 1 mismatches : arm-allmodconfig
1 warnings 0 mismatches : arm-allnoconfig
3 warnings 0 mismatches : x86_64-allnoconfig
3 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 34
8 /home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
6 /home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
6 /home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
4 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected declaration or statement at end of input
3 /home/broonie/build/linux-stable/drivers/infiniband/core/mad_priv.h:36:0: error: unterminated #ifndef
2 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected ')' at end of input
2 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:17: error: 'p' undeclared (first use in this function)
2 /home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:259:3: error: expected declaration or statement at end of input
2 /home/broonie/build/linux-stable/drivers/infiniband/core/mad_rmpp.h:36:1: error: expected ':', ',', ';', '}' or '__attribute__' before 'enum'
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:137:2: error: expected '}' at end of input
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:137:28: error: 'struct sensor_device_attribute' has no member named 'dev_a'
2 /home/broonie/build/linux-stable/drivers/hwmon/thmc50.c:416:39: error: expected '{' at end of input
2 /home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:8: error: 'struct smsc47m192_data' has no member named 'temp_'
2 /home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected ';' at end of input
2 /home/broonie/build/linux-stable/drivers/hwmon/sht21.c:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
1 /home/broonie/build/linux-stable/drivers/staging/lustre/lustre/llite/lloop.c:527:78: error: duplicate case value
1 /home/broonie/build/linux-stable/drivers/staging/lustre/lustre/llite/lloop.c:527:18: error: previously used here
1 /home/broonie/build/linux-stable/drivers/parport/parport_pc.c:67:25: fatal error: asm/parport.h: No such file or directory
1 /home/broonie/build/linux-stable/drivers/media/usb/b2c2/flexcop-usb.c:410:2: error: implicit declaration of function 'pci_alloc_consistent' [-Werror=implicit-function-declaration]
1 /home/broonie/build/linux-stable/drivers/media/usb/b2c2/flexcop-usb.c:393:3: error: implicit declaration of function 'pci_free_consistent' [-Werror=implicit-function-declaration]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:259:3: error: expected ';' at end of input
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:323:2: error: expected declaration or statement at end of input
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:323:2: error: expected ';' at end of input
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:323:17: error: 'cpu_to_be6' undeclared (first use in this function)
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:314:3: error: label 'bail1' used but not defined
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:309:3: error: label 'bail0' used but not defined
1 /home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1148:7: error: expected declaration or statement at end of input
1 /home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1148:7: error: expected ')' at end of input
1 /home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1148:29: error: 'stru' undeclared (first use in this function)
1 /home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1147:13: error: too few arguments to function 'kzalloc'
1 /home/broonie/build/linux-stable/drivers/infiniband/core/agent.c:48:1: error: expected ':', ',', ';', '}' or '__attribute__' before 'struct'
1 /home/broonie/build/linux-stable/drivers/infiniband/core/agent.c:128:3: error: missing terminating " character
1 /home/broonie/build/linux-stable/drivers/hwspinlock/omap_hwspinlock.c:158:2: error: expected declaration or statement at end of input
1 /home/broonie/build/linux-stable/drivers/hwmon/twl4030-madc-hwmon.c:123:1: error: expected identifier or '(' at end of input
Warnings Summary: 129
8 /home/broonie/build/linux-stable/drivers/input/input-mt.c:274:12: warning: 'adjust_dual' defined but not used [-Wunused-function]
2 /home/broonie/build/linux-stable/net/core/secure_seq.c:30:4: warning: value computed is not used [-Wunused-value]
2 /home/broonie/build/linux-stable/drivers/net/ethernet/smsc/smc91x.c:1899:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
2 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: warning: no return statement in function returning non-void [-Wreturn-type]
2 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:583:6: warning: unused variable 'i' [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:583:15: warning: unused variable 'v' [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:583:12: warning: unused variable 'u' [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:581:12: warning: 'analog_init_port' defined but not used [-Wunused-function]
2 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:520:12: warning: 'analog_init_masks' defined but not used [-Wunused-function]
2 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:428:12: warning: 'analog_init_device' defined but not used [-Wunused-function]
2 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:307:13: warning: 'analog_poll' defined but not used [-Wunused-function]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:129:26: warning: 'wm831x_attributes' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:126:39: warning: 'sensor_dev_attr_temp2_label' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:124:39: warning: 'sensor_dev_attr_temp2_input' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:118:39: warning: 'sensor_dev_attr_temp1_label' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:116:39: warning: 'sensor_dev_attr_temp1_input' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:114:39: warning: 'sensor_dev_attr_in8_input' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:114:262: warning: 'sensor_dev_attr_in8_label' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:113:39: warning: 'sensor_dev_attr_in7_input' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:113:257: warning: 'sensor_dev_attr_in7_label' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:112:39: warning: 'sensor_dev_attr_in6_input' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:112:257: warning: 'sensor_dev_attr_in6_label' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:111:39: warning: 'sensor_dev_attr_in5_input' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:111:256: warning: 'sensor_dev_attr_in5_label' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:110:259: warning: 'sensor_dev_attr_in4_label' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/thmc50.c:103:26: warning: 'thmc50_driver' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: warning: no return statement in function returning non-void [-Wreturn-type]
2 /home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:614:9: warning: unused variable 'config' [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:128:26: warning: 'smsc47m192_driver' defined but not used [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/sht21.c:92:12: warning: 'sht21_update_measurements' defined but not used [-Wunused-function]
2 /home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:99:6: warning: unused variable 'ret' [-Wunused-variable]
2 /home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:96:12: warning: 'pmbus_identify' defined but not used [-Wunused-function]
2 /home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:33:13: warning: 'pmbus_find_sensor_groups' defined but not used [-Wunused-function]
2 /home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: warning: no return statement in function returning non-void [-Wreturn-type]
1 /home/broonie/build/linux-stable/sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/sound/soc/fsl/imx-audmux.c:161:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable/net/sunrpc/xprtrdma/verbs.c:1774:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/net/netfilter/xt_connlimit.c:234:4: warning: value computed is not used [-Wunused-value]
1 /home/broonie/build/linux-stable/net/netfilter/nf_conntrack_core.c:674:3: warning: value computed is not used [-Wunused-value]
1 /home/broonie/build/linux-stable/drivers/video/xen-fbfront.c:589:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/video/omap2/displays-new/panel-sony-acx565akm.c:608:25: warning: unused variable 'ddata' [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/video/aty/radeon_pm.c:1718:13: warning: 'radeon_reinitialize_M10' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/usb/storage/realtek_cr.c:699:13: warning: 'fw5895_init' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/usb/storage/realtek_cr.c:629:12: warning: 'config_autodelink_before_power_down' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/tty/serial/efm32-uart.c:834:123: warning: 'efm32_uart_exit' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/staging/wlan-ng/prism2fw.c:795:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/vt6655/iwctl.c:758:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/vt6655/device_main.c:3257:1: warning: the frame size of 1864 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/sm7xxfb/sm7xxfb.c:117:122: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/staging/rts5139/rts51x.c:204:13: warning: 'rts51x_try_to_enter_ss' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/staging/dgnc/dgnc_tty.c:613:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/dgap/dgap_tty.c:664:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/dgap/dgap_fep5.c:173:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/dgap/dgap_fep5.c:112:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/dgap/dgap_driver.c:982:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/staging/bcm/CmHost.c:1440:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable/drivers/staging/bcm/CmHost.c:1426:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable/drivers/staging/bcm/CmHost.c:1387:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 /home/broonie/build/linux-stable/drivers/spi/spi-pl022.c:1423:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 /home/broonie/build/linux-stable/drivers/spi/spi-gpio.c:252:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/spi/spi-atmel.c:1460:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/spi/spi-atmel.c:1335:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
1 /home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:8517:5: warning: case value '257' not in enumerated type 'ahc_chip' [-Wswitch]
1 /home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:8510:5: warning: case value '513' not in enumerated type 'ahc_chip' [-Wswitch]
1 /home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:7901:5: warning: case value '257' not in enumerated type 'ahc_chip' [-Wswitch]
1 /home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:7898:5: warning: case value '513' not in enumerated type 'ahc_chip' [-Wswitch]
1 /home/broonie/build/linux-stable/drivers/regulator/tps62360-regulator.c:363:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default]
1 /home/broonie/build/linux-stable/drivers/power/pm2301_charger.c:725:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/power/ab8500_charger.c:1559:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/power/ab8500_charger.c:1390:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/pinctrl/pinctrl-bcm2835.c:1060:2: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/pinctrl/pinctrl-bcm2835.c:1043:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
1 /home/broonie/build/linux-stable/drivers/net/xen-netfront.c:1858:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 /home/broonie/build/linux-stable/drivers/net/xen-netback/interface.c:241:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
1 /home/broonie/build/linux-stable/drivers/net/wireless/ti/wlcore/spi.c:317:1: warning: the frame size of 9728 bytes is larger than 2048 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/net/wireless/cw1200/sta.c:142:4: warning: value computed is not used [-Wunused-value]
1 /home/broonie/build/linux-stable/drivers/net/wireless/cw1200/scan.c:330:4: warning: value computed is not used [-Wunused-value]
1 /home/broonie/build/linux-stable/drivers/net/ethernet/dec/tulip/winbond-840.c:911:2: warning: #warning Processor architecture undefined [-Wcpp]
1 /home/broonie/build/linux-stable/drivers/net/ethernet/amd/nmclan_cs.c:625:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at /home/broonie/build/linux-stable/include/pcmcia/ds.h:213) [-Wdeprecated-declarations]
1 /home/broonie/build/linux-stable/drivers/mtd/nand/gpmi-nand/gpmi-nand.c:120:13: warning: 'set_geometry_by_ecc_info' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/mtd/chips/cfi_cmdset_0020.c:654:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/misc/lkdtm.c:293:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/mfd/tps65217.c:173:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/mfd/arizona-core.c:509:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/media/usb/b2c2/flexcop-usb.c:410:21: warning: assignment makes pointer from integer without a cast [enabled by default]
1 /home/broonie/build/linux-stable/drivers/media/radio/radio-shark2.c:240:13: warning: 'shark_resume_leds' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/media/radio/radio-shark.c:274:13: warning: 'shark_resume_leds' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/isdn/hardware/mISDN/w6692.c:1181:75: warning: unsupported argument to '__builtin_return_address'
1 /home/broonie/build/linux-stable/drivers/isdn/hardware/mISDN/mISDNipac.c:759:75: warning: unsupported argument to '__builtin_return_address'
1 /home/broonie/build/linux-stable/drivers/input/misc/xen-kbdfront.c:258:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:259:3: warning: control reaches end of non-void function [-Wreturn-type]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:148:13: warning: 'node_desc_override' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:105:13: warning: 'smp_snoop' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/cxgb4/mem.c:79:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:323:2: warning: control reaches end of non-void function [-Wreturn-type]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:291:16: warning: unused variable 'peer_pa' [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:290:29: warning: unused variable 'reply' [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:257:13: warning: 'c2_free_cq_buf' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:981:38: warning: 'class_attr_abi_version' defined but not used [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:951:25: warning: 'umad_client' defined but not used [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:145:25: warning: 'ib_umad_dev_ktype' defined but not used [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:135:13: warning: 'ib_umad_remove_one' used but never defined
1 /home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1135:12: warning: unused variable 'i' [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1096:13: warning: 'ib_umad_kill_port' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1006:12: warning: 'ib_umad_init_port' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/infiniband/core/agent.c:128:24: warning: missing terminating " character
1 /home/broonie/build/linux-stable/drivers/iio/adc/exynos_adc.c:112:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/hwspinlock/omap_hwspinlock.c:81:12: warning: 'omap_hwspinlock_probe' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/hwspinlock/omap_hwspinlock.c:145:12: warning: 'omap_hwspinlock_remove' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/hwmon/twl4030-madc-hwmon.c:99:12: warning: 'twl4030_madc_hwmon_probe' defined but not used [-Wunused-function]
1 /home/broonie/build/linux-stable/drivers/hwmon/thmc50.c:94:28: warning: 'thmc50_update_device' used but never defined [enabled by default]
1 /home/broonie/build/linux-stable/drivers/hwmon/thmc50.c:94:28: warning: 'thmc50_update_device' used but never defined
1 /home/broonie/build/linux-stable/drivers/gpu/drm/radeon/ni_dpm.c:3448:31: warning: unused variable 'eg_pi' [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/gpu/drm/radeon/cypress_dpm.c:302:31: warning: unused variable 'eg_pi' [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/gpio/gpio-mcp23s08.c:643:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/dma/pl330.c:2317:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 /home/broonie/build/linux-stable/drivers/dma/amba-pl08x.c:1693:2: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/dma/amba-pl08x.c:1693:2: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/dma/amba-pl08x.c:1041:4: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' [-Wformat=]
1 /home/broonie/build/linux-stable/drivers/char/hw_random/via-rng.c:224:26: warning: 'via_rng_cpu_id' defined but not used [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2921:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2898:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2827:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 /home/broonie/build/linux-stable/drivers/base/topology.c:86:106: warning: unused variable 'cpu' [-Wunused-variable]
1 /home/broonie/build/linux-stable/drivers/base/topology.c:83:118: warning: unused variable 'cpu' [-Wunused-variable]
1 /home/broonie/build/linux-stable/arch/arm/mach-cns3xxx/pcie.c:350:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatch Summary: 1
1 WARNING: drivers/cpuidle/built-in.o(.data+0x938): Section mismatch in reference from the variable dbx500_cpuidle_plat_driver to the function .init.text:dbx500_cpuidle_probe()
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : FAIL, 1 errors, 1 warnings, 0 section mismatches
Errors:
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
Warnings:
/home/broonie/build/linux-stable/drivers/input/input-mt.c:274:12: warning: 'adjust_dual' defined but not used [-Wunused-function]
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 22 errors, 70 warnings, 0 section mismatches
Errors:
/home/broonie/build/linux-stable/drivers/hwmon/sht21.c:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:8: error: 'struct smsc47m192_data' has no member named 'temp_'
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected ';' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/thmc50.c:416:39: error: expected '{' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:137:28: error: 'struct sensor_device_attribute' has no member named 'dev_a'
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:137:2: error: expected '}' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:17: error: 'p' undeclared (first use in this function)
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected ')' at end of input
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/media/usb/b2c2/flexcop-usb.c:393:3: error: implicit declaration of function 'pci_free_consistent' [-Werror=implicit-function-declaration]
/home/broonie/build/linux-stable/drivers/media/usb/b2c2/flexcop-usb.c:410:2: error: implicit declaration of function 'pci_alloc_consistent' [-Werror=implicit-function-declaration]
/home/broonie/build/linux-stable/drivers/parport/parport_pc.c:67:25: fatal error: asm/parport.h: No such file or directory
/home/broonie/build/linux-stable/drivers/staging/lustre/lustre/llite/lloop.c:527:78: error: duplicate case value
/home/broonie/build/linux-stable/drivers/staging/lustre/lustre/llite/lloop.c:527:18: error: previously used here
Warnings:
/home/broonie/build/linux-stable/sound/soc/fsl/imx-audmux.c:70:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/sound/soc/fsl/imx-audmux.c:161:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable/drivers/dma/amba-pl08x.c:1041:4: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'size_t' [-Wformat=]
/home/broonie/build/linux-stable/drivers/dma/amba-pl08x.c:1693:2: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' [-Wformat=]
/home/broonie/build/linux-stable/drivers/dma/amba-pl08x.c:1693:2: warning: format '%d' expects argument of type 'int', but argument 6 has type 'size_t' [-Wformat=]
/home/broonie/build/linux-stable/drivers/dma/pl330.c:2317:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/gpio/gpio-mcp23s08.c:643:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/net/core/secure_seq.c:30:4: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/drivers/iio/adc/exynos_adc.c:112:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/hwmon/sht21.c:92:12: warning: 'sht21_update_measurements' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:614:9: warning: unused variable 'config' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: warning: no return statement in function returning non-void [-Wreturn-type]
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:128:26: warning: 'smsc47m192_driver' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/thmc50.c:94:28: warning: 'thmc50_update_device' used but never defined [enabled by default]
/home/broonie/build/linux-stable/drivers/hwmon/thmc50.c:103:26: warning: 'thmc50_driver' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:110:259: warning: 'sensor_dev_attr_in4_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:111:39: warning: 'sensor_dev_attr_in5_input' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:111:256: warning: 'sensor_dev_attr_in5_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:112:39: warning: 'sensor_dev_attr_in6_input' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:112:257: warning: 'sensor_dev_attr_in6_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:113:39: warning: 'sensor_dev_attr_in7_input' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:113:257: warning: 'sensor_dev_attr_in7_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:114:39: warning: 'sensor_dev_attr_in8_input' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:114:262: warning: 'sensor_dev_attr_in8_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:116:39: warning: 'sensor_dev_attr_temp1_input' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:118:39: warning: 'sensor_dev_attr_temp1_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:124:39: warning: 'sensor_dev_attr_temp2_input' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:126:39: warning: 'sensor_dev_attr_temp2_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:129:26: warning: 'wm831x_attributes' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:99:6: warning: unused variable 'ret' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: warning: no return statement in function returning non-void [-Wreturn-type]
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:33:13: warning: 'pmbus_find_sensor_groups' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:96:12: warning: 'pmbus_identify' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/input/input-mt.c:274:12: warning: 'adjust_dual' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:171:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:583:15: warning: unused variable 'v' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:583:12: warning: unused variable 'u' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:583:6: warning: unused variable 'i' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: warning: no return statement in function returning non-void [-Wreturn-type]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:307:13: warning: 'analog_poll' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:428:12: warning: 'analog_init_device' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:520:12: warning: 'analog_init_masks' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:581:12: warning: 'analog_init_port' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/input/misc/xen-kbdfront.c:258:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
/home/broonie/build/linux-stable/drivers/media/radio/radio-shark.c:274:13: warning: 'shark_resume_leds' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/media/radio/radio-shark2.c:240:13: warning: 'shark_resume_leds' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/media/usb/b2c2/flexcop-usb.c:410:21: warning: assignment makes pointer from integer without a cast [enabled by default]
/home/broonie/build/linux-stable/net/netfilter/nf_conntrack_core.c:674:3: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/drivers/mfd/arizona-core.c:509:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/mfd/tps65217.c:173:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/net/netfilter/xt_connlimit.c:234:4: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/drivers/net/ethernet/smsc/smc91x.c:1899:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/net/xen-netback/interface.c:241:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable/drivers/net/xen-netfront.c:1858:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable/drivers/net/wireless/cw1200/sta.c:142:4: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/drivers/net/wireless/cw1200/scan.c:330:4: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/drivers/power/reset/xgene-reboot.c:80:17: warning: assignment from incompatible pointer type [enabled by default]
/home/broonie/build/linux-stable/drivers/net/wireless/ti/wlcore/spi.c:317:1: warning: the frame size of 9728 bytes is larger than 2048 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/regulator/tps62360-regulator.c:363:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/spi/spi-atmel.c:1335:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/spi/spi-atmel.c:1460:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/spi/spi-gpio.c:252:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/spi/spi-pl022.c:1423:2: warning: large integer implicitly truncated to unsigned type [-Woverflow]
/home/broonie/build/linux-stable/drivers/staging/bcm/CmHost.c:1387:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable/drivers/staging/bcm/CmHost.c:1426:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable/drivers/staging/bcm/CmHost.c:1440:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/broonie/build/linux-stable/drivers/video/xen-fbfront.c:589:8: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=]
/home/broonie/build/linux-stable/drivers/usb/storage/realtek_cr.c:629:12: warning: 'config_autodelink_before_power_down' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/usb/storage/realtek_cr.c:699:13: warning: 'fw5895_init' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/staging/rts5139/rts51x.c:204:13: warning: 'rts51x_try_to_enter_ss' defined but not used [-Wunused-function]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : FAIL, 1 errors, 1 warnings, 0 section mismatches
Errors:
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
Warnings:
/home/broonie/build/linux-stable/drivers/input/input-mt.c:274:12: warning: 'adjust_dual' defined but not used [-Wunused-function]
-------------------------------------------------------------------------------
x86_64-defconfig : FAIL, 1 errors, 2 warnings, 0 section mismatches
Errors:
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
Warnings:
/home/broonie/build/linux-stable/drivers/char/hw_random/via-rng.c:224:26: warning: 'via_rng_cpu_id' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/input/input-mt.c:274:12: warning: 'adjust_dual' defined but not used [-Wunused-function]
-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 38 errors, 88 warnings, 1 section mismatches
Errors:
/home/broonie/build/linux-stable/drivers/hwspinlock/omap_hwspinlock.c:158:2: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/sht21.c:132:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:8: error: 'struct smsc47m192_data' has no member named 'temp_'
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected ';' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/thmc50.c:416:39: error: expected '{' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/twl4030-madc-hwmon.c:123:1: error: expected identifier or '(' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:137:28: error: 'struct sensor_device_attribute' has no member named 'dev_a'
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:137:2: error: expected '}' at end of input
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:17: error: 'p' undeclared (first use in this function)
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected ')' at end of input
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/infiniband/core/mad_priv.h:36:0: error: unterminated #ifndef
/home/broonie/build/linux-stable/drivers/infiniband/core/mad_rmpp.h:36:1: error: expected ':', ',', ';', '}' or '__attribute__' before 'enum'
/home/broonie/build/linux-stable/drivers/infiniband/core/mad_priv.h:36:0: error: unterminated #ifndef
/home/broonie/build/linux-stable/drivers/infiniband/core/agent.c:48:1: error: expected ':', ',', ';', '}' or '__attribute__' before 'struct'
/home/broonie/build/linux-stable/drivers/infiniband/core/agent.c:128:3: error: missing terminating " character
/home/broonie/build/linux-stable/drivers/infiniband/core/mad_priv.h:36:0: error: unterminated #ifndef
/home/broonie/build/linux-stable/drivers/infiniband/core/mad_rmpp.h:36:1: error: expected ':', ',', ';', '}' or '__attribute__' before 'enum'
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1148:29: error: 'stru' undeclared (first use in this function)
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1148:7: error: expected ')' at end of input
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1147:13: error: too few arguments to function 'kzalloc'
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1148:7: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:323:17: error: 'cpu_to_be6' undeclared (first use in this function)
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:323:2: error: expected ';' at end of input
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:323:2: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:314:3: error: label 'bail1' used but not defined
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:309:3: error: label 'bail0' used but not defined
/home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:259:3: error: expected ';' at end of input
/home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:259:3: error: expected declaration or statement at end of input
/home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:259:3: error: expected declaration or statement at end of input
Warnings:
/home/broonie/build/linux-stable/arch/arm/mach-cns3xxx/pcie.c:350:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2898:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2921:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/block/mtip32xx/mtip32xx.c:2827:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/gpu/drm/radeon/cypress_dpm.c:302:31: warning: unused variable 'eg_pi' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/gpu/drm/radeon/ni_dpm.c:3448:31: warning: unused variable 'eg_pi' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwspinlock/omap_hwspinlock.c:81:12: warning: 'omap_hwspinlock_probe' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/hwspinlock/omap_hwspinlock.c:145:12: warning: 'omap_hwspinlock_remove' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/hwmon/sht21.c:92:12: warning: 'sht21_update_measurements' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:614:9: warning: unused variable 'config' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:648:4: warning: no return statement in function returning non-void [-Wreturn-type]
/home/broonie/build/linux-stable/drivers/hwmon/smsc47m192.c:128:26: warning: 'smsc47m192_driver' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/thmc50.c:94:28: warning: 'thmc50_update_device' used but never defined
/home/broonie/build/linux-stable/drivers/hwmon/thmc50.c:103:26: warning: 'thmc50_driver' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/twl4030-madc-hwmon.c:99:12: warning: 'twl4030_madc_hwmon_probe' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:110:259: warning: 'sensor_dev_attr_in4_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:111:39: warning: 'sensor_dev_attr_in5_input' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:111:256: warning: 'sensor_dev_attr_in5_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:112:39: warning: 'sensor_dev_attr_in6_input' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:112:257: warning: 'sensor_dev_attr_in6_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:113:39: warning: 'sensor_dev_attr_in7_input' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:113:257: warning: 'sensor_dev_attr_in7_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:114:39: warning: 'sensor_dev_attr_in8_input' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:114:262: warning: 'sensor_dev_attr_in8_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:116:39: warning: 'sensor_dev_attr_temp1_input' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:118:39: warning: 'sensor_dev_attr_temp1_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:124:39: warning: 'sensor_dev_attr_temp2_input' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:126:39: warning: 'sensor_dev_attr_temp2_label' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/wm831x-hwmon.c:129:26: warning: 'wm831x_attributes' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:99:6: warning: unused variable 'ret' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:115:4: warning: no return statement in function returning non-void [-Wreturn-type]
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:33:13: warning: 'pmbus_find_sensor_groups' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/hwmon/pmbus/pmbus.c:96:12: warning: 'pmbus_identify' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/input/input-mt.c:274:12: warning: 'adjust_dual' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:583:15: warning: unused variable 'v' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:583:12: warning: unused variable 'u' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:583:6: warning: unused variable 'i' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:597:3: warning: no return statement in function returning non-void [-Wreturn-type]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:307:13: warning: 'analog_poll' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:428:12: warning: 'analog_init_device' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:520:12: warning: 'analog_init_masks' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/input/joystick/analog.c:581:12: warning: 'analog_init_port' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/infiniband/core/agent.c:128:24: warning: missing terminating " character
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1135:12: warning: unused variable 'i' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:135:13: warning: 'ib_umad_remove_one' used but never defined
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:145:25: warning: 'ib_umad_dev_ktype' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:951:25: warning: 'umad_client' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:981:38: warning: 'class_attr_abi_version' defined but not used [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1006:12: warning: 'ib_umad_init_port' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/infiniband/core/user_mad.c:1096:13: warning: 'ib_umad_kill_port' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:291:16: warning: unused variable 'peer_pa' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:290:29: warning: unused variable 'reply' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:257:13: warning: 'c2_free_cq_buf' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/infiniband/hw/amso1100/c2_cq.c:323:2: warning: control reaches end of non-void function [-Wreturn-type]
/home/broonie/build/linux-stable/drivers/infiniband/hw/cxgb4/mem.c:79:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:105:13: warning: 'smp_snoop' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:148:13: warning: 'node_desc_override' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/infiniband/hw/mthca/mthca_mad.c:259:3: warning: control reaches end of non-void function [-Wreturn-type]
/home/broonie/build/linux-stable/drivers/isdn/hardware/mISDN/w6692.c:1181:75: warning: unsupported argument to '__builtin_return_address'
/home/broonie/build/linux-stable/drivers/isdn/hardware/mISDN/mISDNipac.c:759:75: warning: unsupported argument to '__builtin_return_address'
/home/broonie/build/linux-stable/net/sunrpc/xprtrdma/verbs.c:1774:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/misc/lkdtm.c:293:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/mtd/chips/cfi_cmdset_0020.c:654:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/mtd/nand/gpmi-nand/gpmi-nand.c:120:13: warning: 'set_geometry_by_ecc_info' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/pinctrl/pinctrl-bcm2835.c:1060:2: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/pinctrl/pinctrl-bcm2835.c:1043:3: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/power/ab8500_charger.c:1390:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/power/ab8500_charger.c:1559:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/power/pm2301_charger.c:725:4: warning: ignoring return value of 'regulator_enable', declared with attribute warn_unused_result [-Wunused-result]
/home/broonie/build/linux-stable/drivers/net/ethernet/amd/nmclan_cs.c:625:3: warning: 'pcmcia_request_exclusive_irq' is deprecated (declared at /home/broonie/build/linux-stable/include/pcmcia/ds.h:213) [-Wdeprecated-declarations]
/home/broonie/build/linux-stable/drivers/net/ethernet/dec/tulip/winbond-840.c:911:2: warning: #warning Processor architecture undefined [-Wcpp]
/home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:7901:5: warning: case value '257' not in enumerated type 'ahc_chip' [-Wswitch]
/home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:7898:5: warning: case value '513' not in enumerated type 'ahc_chip' [-Wswitch]
/home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:8517:5: warning: case value '257' not in enumerated type 'ahc_chip' [-Wswitch]
/home/broonie/build/linux-stable/drivers/scsi/aic7xxx_old.c:8510:5: warning: case value '513' not in enumerated type 'ahc_chip' [-Wswitch]
/home/broonie/build/linux-stable/drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
/home/broonie/build/linux-stable/drivers/tty/serial/efm32-uart.c:834:123: warning: 'efm32_uart_exit' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/staging/dgap/dgap_driver.c:982:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/dgap/dgap_fep5.c:173:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/dgap/dgap_fep5.c:112:1: warning: the frame size of 1040 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/dgap/dgap_tty.c:664:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/dgnc/dgnc_tty.c:613:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/video/aty/radeon_pm.c:1718:13: warning: 'radeon_reinitialize_M10' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/video/omap2/displays-new/panel-sony-acx565akm.c:608:25: warning: unused variable 'ddata' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/staging/sm7xxfb/sm7xxfb.c:117:122: warning: 'sm7xx_vga_setup' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/staging/vt6655/device_main.c:3257:1: warning: the frame size of 1864 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/vt6655/iwctl.c:758:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/home/broonie/build/linux-stable/drivers/staging/wlan-ng/prism2fw.c:795:1: warning: the frame size of 1072 bytes is larger than 1024 bytes [-Wframe-larger-than=]
Section Mismatches:
WARNING: drivers/cpuidle/built-in.o(.data+0x938): Section mismatch in reference from the variable dbx500_cpuidle_plat_driver to the function .init.text:dbx500_cpuidle_probe()
-------------------------------------------------------------------------------
arm-allnoconfig : FAIL, 1 errors, 1 warnings, 0 section mismatches
Errors:
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
Warnings:
/home/broonie/build/linux-stable/drivers/input/input-mt.c:274:12: warning: 'adjust_dual' defined but not used [-Wunused-function]
-------------------------------------------------------------------------------
x86_64-allnoconfig : FAIL, 1 errors, 3 warnings, 0 section mismatches
Errors:
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
Warnings:
/home/broonie/build/linux-stable/drivers/base/topology.c:83:118: warning: unused variable 'cpu' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/base/topology.c:86:106: warning: unused variable 'cpu' [-Wunused-variable]
/home/broonie/build/linux-stable/drivers/input/input-mt.c:274:12: warning: 'adjust_dual' defined but not used [-Wunused-function]
-------------------------------------------------------------------------------
arm64-defconfig : FAIL, 1 errors, 3 warnings, 0 section mismatches
Errors:
/home/broonie/build/linux-stable/drivers/input/input-mt.c:303:1: error: expected identifier or '(' at end of input
Warnings:
/home/broonie/build/linux-stable/net/core/secure_seq.c:30:4: warning: value computed is not used [-Wunused-value]
/home/broonie/build/linux-stable/drivers/input/input-mt.c:274:12: warning: 'adjust_dual' defined but not used [-Wunused-function]
/home/broonie/build/linux-stable/drivers/net/ethernet/smsc/smc91x.c:1899:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
The gpio-gate clock uses the gpiod_ APIs but does not directly include the
header for them causing build failures in some configurations including ARM
allnoconfig. Include the header directly.
Signed-off-by: Mark Brown <broonie(a)kernel.org>
---
drivers/clk/clk-gpio-gate.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clk-gpio-gate.c b/drivers/clk/clk-gpio-gate.c
index 9dde88533684..08e43224fd52 100644
--- a/drivers/clk/clk-gpio-gate.c
+++ b/drivers/clk/clk-gpio-gate.c
@@ -13,6 +13,7 @@
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/gpio.h>
+#include <linux/gpio/consumer.h>
#include <linux/of_gpio.h>
#include <linux/err.h>
#include <linux/device.h>
--
2.1.1
Tree/Branch: next-20140930
Git describe: next-20140930
Commit: cb4b16caa8 Add linux-next specific files for 20140930
Build Time: 65 min 31 sec
Passed: 7 / 8 ( 87.50 %)
Failed: 1 / 8 ( 12.50 %)
Errors: 6
Warnings: 31
Section Mismatches: 0
Failed defconfigs:
arm64-allnoconfig
Errors:
arm64-allnoconfig
../drivers/clk/clk-gpio-gate.c:36:2: error: implicit declaration of function 'gpiod_set_value' [-Werror=implicit-function-declaration]
../drivers/clk/clk-gpio-gate.c:52:2: error: implicit declaration of function 'gpiod_get_value' [-Werror=implicit-function-declaration]
../drivers/clk/clk-gpio-gate.c:79:2: error: implicit declaration of function 'gpiod_is_active_low' [-Werror=implicit-function-declaration]
../drivers/clk/clk-gpio-gate.c:85:3: error: implicit declaration of function 'desc_to_gpio' [-Werror=implicit-function-declaration]
../drivers/clk/clk-gpio-gate.c:125:2: error: implicit declaration of function 'gpiod_put' [-Werror=implicit-function-declaration]
../drivers/clk/clk-gpio-gate.c:169:2: error: implicit declaration of function 'gpio_to_desc' [-Werror=implicit-function-declaration]
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
3 warnings 0 mismatches : arm64-allnoconfig
12 warnings 0 mismatches : arm64-allmodconfig
4 warnings 0 mismatches : arm-multi_v7_defconfig
21 warnings 0 mismatches : arm-allmodconfig
2 warnings 0 mismatches : arm-allnoconfig
1 warnings 0 mismatches : x86_64-allnoconfig
2 warnings 0 mismatches : arm64-defconfig
-------------------------------------------------------------------------------
Errors summary: 6
1 ../drivers/clk/clk-gpio-gate.c:85:3: error: implicit declaration of function 'desc_to_gpio' [-Werror=implicit-function-declaration]
1 ../drivers/clk/clk-gpio-gate.c:79:2: error: implicit declaration of function 'gpiod_is_active_low' [-Werror=implicit-function-declaration]
1 ../drivers/clk/clk-gpio-gate.c:52:2: error: implicit declaration of function 'gpiod_get_value' [-Werror=implicit-function-declaration]
1 ../drivers/clk/clk-gpio-gate.c:36:2: error: implicit declaration of function 'gpiod_set_value' [-Werror=implicit-function-declaration]
1 ../drivers/clk/clk-gpio-gate.c:169:2: error: implicit declaration of function 'gpio_to_desc' [-Werror=implicit-function-declaration]
1 ../drivers/clk/clk-gpio-gate.c:125:2: error: implicit declaration of function 'gpiod_put' [-Werror=implicit-function-declaration]
Warnings Summary: 31
6 ../drivers/of/of_reserved_mem.c:259:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
6 ../drivers/of/of_reserved_mem.c:253:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
3 warning: (VIDEO_TIMBERDALE) selects TIMB_DMA which has unmet direct dependencies (DMADEVICES && MFD_TIMBERDALE)
2 ../include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
2 ../drivers/pinctrl/nomadik/pinctrl-abx500.c:1208:11: warning: unused variable 'err' [-Wunused-variable]
1 arch/arm/configs/multi_v7_defconfig:443:warning: override: reassigning to symbol CPU_FREQ
1 ../net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../lib/lz4/lz4hc_compress.c:514:1: warning: the frame size of 1480 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../include/uapi/linux/swab.h:13:15: warning: integer overflow in expression [-Woverflow]
1 ../include/linux/kernel.h:706:17: warning: comparison of distinct pointer types lacks a cast
1 ../fs/btrfs/extent_io.c:2166:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/usb/renesas_usbhs/common.c:469:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/usb/gadget/udc/udc-xilinx.c:2135:191: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/staging/vt6655/device_main.c:2993:1: warning: the frame size of 1304 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/staging/rtl8192ee/pci.c:879:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'sk_buff_data_t' [-Wformat=]
1 ../drivers/staging/rtl8192ee/pci.c:879:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'sk_buff_data_t' [-Wformat=]
1 ../drivers/staging/media/omap24xx/omap24xxcam-dma.c:478:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
1 ../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
1 ../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/clk/clk-gpio-gate.c:169:8: warning: assignment makes pointer from integer without a cast [enabled by default]
1 ../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined [enabled by default]
1 ../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined [enabled by default]
1 ../arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c:193:7: warning: 'pci_dword' is used uninitialized in this function [-Wuninitialized]
1 ../arch/arm/mach-cns3xxx/pcie.c:313:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : FAIL, 6 errors, 3 warnings, 0 section mismatches
Errors:
../drivers/clk/clk-gpio-gate.c:36:2: error: implicit declaration of function 'gpiod_set_value' [-Werror=implicit-function-declaration]
../drivers/clk/clk-gpio-gate.c:52:2: error: implicit declaration of function 'gpiod_get_value' [-Werror=implicit-function-declaration]
../drivers/clk/clk-gpio-gate.c:79:2: error: implicit declaration of function 'gpiod_is_active_low' [-Werror=implicit-function-declaration]
../drivers/clk/clk-gpio-gate.c:85:3: error: implicit declaration of function 'desc_to_gpio' [-Werror=implicit-function-declaration]
../drivers/clk/clk-gpio-gate.c:125:2: error: implicit declaration of function 'gpiod_put' [-Werror=implicit-function-declaration]
../drivers/clk/clk-gpio-gate.c:169:2: error: implicit declaration of function 'gpio_to_desc' [-Werror=implicit-function-declaration]
Warnings:
../drivers/clk/clk-gpio-gate.c:169:8: warning: assignment makes pointer from integer without a cast [enabled by default]
../drivers/of/of_reserved_mem.c:253:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
../drivers/of/of_reserved_mem.c:259:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
-------------------------------------------------------------------------------
arm64-allmodconfig : PASS, 0 errors, 12 warnings, 0 section mismatches
Warnings:
warning: (VIDEO_TIMBERDALE) selects TIMB_DMA which has unmet direct dependencies (DMADEVICES && MFD_TIMBERDALE)
warning: (VIDEO_TIMBERDALE) selects TIMB_DMA which has unmet direct dependencies (DMADEVICES && MFD_TIMBERDALE)
warning: (VIDEO_TIMBERDALE) selects TIMB_DMA which has unmet direct dependencies (DMADEVICES && MFD_TIMBERDALE)
../drivers/block/drbd/drbd_bitmap.c:482:0: warning: "BITS_PER_PAGE" redefined [enabled by default]
../drivers/block/drbd/drbd_bitmap.c:483:0: warning: "BITS_PER_PAGE_MASK" redefined [enabled by default]
../drivers/of/of_reserved_mem.c:253:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
../drivers/of/of_reserved_mem.c:259:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
../drivers/staging/bcm/CmHost.c:1503:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1546:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/bcm/CmHost.c:1564:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/usb/gadget/udc/udc-xilinx.c:2135:191: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/usb/renesas_usbhs/common.c:469:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : PASS, 0 errors, 4 warnings, 0 section mismatches
Warnings:
arch/arm/configs/multi_v7_defconfig:443:warning: override: reassigning to symbol CPU_FREQ
../drivers/of/of_reserved_mem.c:253:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
../drivers/of/of_reserved_mem.c:259:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
../drivers/pinctrl/nomadik/pinctrl-abx500.c:1208:11: warning: unused variable 'err' [-Wunused-variable]
-------------------------------------------------------------------------------
arm-allmodconfig : PASS, 0 errors, 21 warnings, 0 section mismatches
Warnings:
../arch/arm/mach-cns3xxx/pcie.c:313:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../fs/btrfs/extent_io.c:2166:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../lib/lz4/lz4hc_compress.c:514:1: warning: the frame size of 1480 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../net/rds/iw_rdma.c:200:1: warning: the frame size of 1056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../include/linux/kernel.h:706:17: warning: comparison of distinct pointer types lacks a cast
../include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
../include/linux/dynamic_debug.h:78:3: warning: unsupported argument to '__builtin_return_address'
../drivers/mtd/chips/cfi_cmdset_0020.c:651:1: warning: the frame size of 1208 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../drivers/of/of_reserved_mem.c:253:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
../drivers/of/of_reserved_mem.c:259:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
../drivers/pinctrl/nomadik/pinctrl-abx500.c:1208:11: warning: unused variable 'err' [-Wunused-variable]
../drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:303:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:307:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/net/ethernet/mellanox/mlx5/core/debugfs.c:467:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../include/uapi/linux/swab.h:13:15: warning: integer overflow in expression [-Woverflow]
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
../drivers/staging/media/omap24xx/omap24xxcam-dma.c:478:4: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
../drivers/staging/rtl8192ee/pci.c:879:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'sk_buff_data_t' [-Wformat=]
../drivers/staging/rtl8192ee/pci.c:879:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'sk_buff_data_t' [-Wformat=]
../drivers/staging/vt6655/device_main.c:2993:1: warning: the frame size of 1304 bytes is larger than 1024 bytes [-Wframe-larger-than=]
-------------------------------------------------------------------------------
arm-allnoconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../drivers/of/of_reserved_mem.c:253:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
../drivers/of/of_reserved_mem.c:259:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
-------------------------------------------------------------------------------
x86_64-allnoconfig : PASS, 0 errors, 1 warnings, 0 section mismatches
Warnings:
../arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c:193:7: warning: 'pci_dword' is used uninitialized in this function [-Wuninitialized]
-------------------------------------------------------------------------------
arm64-defconfig : PASS, 0 errors, 2 warnings, 0 section mismatches
Warnings:
../drivers/of/of_reserved_mem.c:253:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
../drivers/of/of_reserved_mem.c:259:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
x86_64-defconfig
Hi Both
Looks like a big.LITTLE cpufreq fix didn't get marked for stable and so
is missing from LSK 3.10 and 3.14. It's commit 8f3ba3d3257be8 (cpufreq:
arm_big_little: set 'physical_cluster' for each CPU)
Just spend a couple of days debugging a problem that turned out to be
this. Can we get it added to the LSKs or should it go to stable trees
first?
--
Tixy
'cpu_data' is updated for policy->cpu first and then for all CPUs in
policy->cpus. policy->cpus is guaranteed to contain policy->cpu as well and so
the first write to 'cpu_data' for policy->cpu is redundant. Remove it.
Signed-off-by: Viresh Kumar <viresh.kumar(a)linaro.org>
---
Hi Yuantian,
I was looking into this driver due to issues reported by Hongtao (cc'd) and
found that we can live without some code. These aren't fixing any bugs and are
just cleanups.
I didn't had a compiler for this and so this isn't even compiled. It would be
great if you can please review/test these patches.
drivers/cpufreq/ppc-corenet-cpufreq.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/cpufreq/ppc-corenet-cpufreq.c b/drivers/cpufreq/ppc-corenet-cpufreq.c
index 3607070..bee5df7 100644
--- a/drivers/cpufreq/ppc-corenet-cpufreq.c
+++ b/drivers/cpufreq/ppc-corenet-cpufreq.c
@@ -199,7 +199,6 @@ static int corenet_cpufreq_cpu_init(struct cpufreq_policy *policy)
}
data->table = table;
- per_cpu(cpu_data, cpu) = data;
/* update ->cpus if we have cluster, no harm if not */
cpumask_copy(policy->cpus, per_cpu(cpu_mask, cpu));
--
2.0.3.693.g996b0fd
This commit was earlier commited in kernel as:
19c7630 cpufreq: serialize calls to __cpufreq_governor()
and was later reverted by Srivatsa:
56d07db cpufreq: Remove temporary fix for race between CPU hotplug and sysfs-writes
When this commit was first introduced it was written for races during hotplug
and because we got some other solution to take care of the races with hotplug we
reverted it.
But (as I also said in the revert patch: https://lkml.org/lkml/2013/9/10/61)
there are more cases where this is required.
Recently Robert shown an instance where changing governors with multiple threads
leads to following warnings:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 2458 at drivers/cpufreq/cpufreq_governor.c:261 cpufreq_governor_dbs+0x6d2/0x740()
CPU: 1 PID: 2458 Comm: tee Tainted: G OE 3.16.0-rc6+ #1
Hardware name: FUJITSU ESPRIMO P700/D3061-A1, BIOS V4.6.4.0 R1.12.0 for D3061-A1x 07/04/2011
0000000000000009 ffff8800ae403b78 ffffffff8173b0bf 0000000000000000
ffff8800ae403bb0 ffffffff8106c82d 0000000000000000 ffff88022fa27000
0000000000000005 0000000000000002 ffffffff81cd5d00 ffff8800ae403bc0
Call Trace:
[<ffffffff8173b0bf>] dump_stack+0x45/0x56
[<ffffffff8106c82d>] warn_slowpath_common+0x7d/0xa0
[<ffffffff8106c90a>] warn_slowpath_null+0x1a/0x20
[<ffffffff815e4a12>] cpufreq_governor_dbs+0x6d2/0x740
[<ffffffff810941fc>] ? notifier_call_chain+0x4c/0x70
[<ffffffff815e2757>] od_cpufreq_governor_dbs+0x17/0x20
[<ffffffff815dea50>] __cpufreq_governor+0xb0/0x2a0
[<ffffffff815ded8c>] cpufreq_set_policy+0x14c/0x2f0
[<ffffffff815df796>] store_scaling_governor+0x96/0xf0
[<ffffffff815df100>] ? cpufreq_update_policy+0x1d0/0x1d0
[<ffffffff815de3c9>] store+0x79/0xc0
[<ffffffff81245bed>] sysfs_kf_write+0x3d/0x50
[<ffffffff81245120>] kernfs_fop_write+0xe0/0x160
[<ffffffff811d00d7>] vfs_write+0xb7/0x1f0
[<ffffffff811d0c76>] SyS_write+0x46/0xb0
[<ffffffff817439ff>] tracesys+0xe1/0xe6
---[ end trace a2dad7e42b22c796 ]---
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [<ffffffff815e4395>] cpufreq_governor_dbs+0x55/0x740
PGD 36a05067 PUD b47df067 PMD 0
Oops: 0000 [#1] SMP
Robert also provided a small script to reproduce it:
crash_governor.sh:
for I in `seq 1000`
do
echo ondemand | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo userspace | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
done
runme.sh:
for I in `seq 8`
do
./crash_governor.sh &
done
Just run runme.sh to crash your system :)
Introduce an additional variable which would guarantee serialization of
__cpufreq_governor() routine.
Reported-and-tested-by: Robert Schöne <robert.schoene(a)tu-dresden.de>
Signed-off-by: Viresh Kumar <viresh.kumar(a)linaro.org>
---
Hi Rafael,
These fixes the issues reported by Robert. There is slight change after Robert
tested my initial patch, 'bool' is replaced by 'int' for 'governor_state'.
Regardingn stable trees, I am not too sure. The first patch of this series was
earlier applied on 3.12 and then was reverted quickly in the same release.
So, the best we can do is 3.12+.
drivers/cpufreq/cpufreq.c | 7 ++++++-
include/linux/cpufreq.h | 1 +
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index d9fdedd..a7ceae3 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -2012,13 +2012,15 @@ static int __cpufreq_governor(struct cpufreq_policy *policy,
policy->cpu, event);
mutex_lock(&cpufreq_governor_lock);
- if ((policy->governor_enabled && event == CPUFREQ_GOV_START)
+ if (policy->governor_busy
+ || (policy->governor_enabled && event == CPUFREQ_GOV_START)
|| (!policy->governor_enabled
&& (event == CPUFREQ_GOV_LIMITS || event == CPUFREQ_GOV_STOP))) {
mutex_unlock(&cpufreq_governor_lock);
return -EBUSY;
}
+ policy->governor_busy = true;
if (event == CPUFREQ_GOV_STOP)
policy->governor_enabled = false;
else if (event == CPUFREQ_GOV_START)
@@ -2047,6 +2049,9 @@ static int __cpufreq_governor(struct cpufreq_policy *policy,
((event == CPUFREQ_GOV_POLICY_EXIT) && !ret))
module_put(policy->governor->owner);
+ mutex_lock(&cpufreq_governor_lock);
+ policy->governor_busy = false;
+ mutex_unlock(&cpufreq_governor_lock);
return ret;
}
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h
index 7d1955a..c7aa96b 100644
--- a/include/linux/cpufreq.h
+++ b/include/linux/cpufreq.h
@@ -82,6 +82,7 @@ struct cpufreq_policy {
struct cpufreq_governor *governor; /* see below */
void *governor_data;
bool governor_enabled; /* governor start/stop flag */
+ bool governor_busy;
struct work_struct update; /* if update_policy() needs to be
* called, but you're in IRQ context */
--
2.0.3.693.g996b0fd