Re: [PATCH 4/6] dmaengine: pl330: add new items for pl330 private data

2016-01-03 Thread kbuild test robot
Hi Wang,

[auto build test WARNING on v4.4-rc8]
[cannot apply to tty/tty-testing pm/linux-next next-20151231]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Wang-Hongcheng/8250-AMD-Carrizo-UART-PL300-DMA-enablement/20160104-133639
config: x86_64-randconfig-x013-01040119 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> drivers/acpi/acpi_apd.c:41:34: warning: 'amd_pl330' defined but not used 
>> [-Wunused-variable]
static struct dma_pl330_platdata amd_pl330 = {
 ^

vim +/amd_pl330 +41 drivers/acpi/acpi_apd.c

25  #include 
26  
27  #include "internal.h"
28  
29  ACPI_MODULE_NAME("acpi_apd");
30  struct apd_private_data;
31  
32  /**
33   * ACPI_APD_SYSFS : add device attributes in sysfs
34   * ACPI_APD_PM : attach power domain to device
35   */
36  #define ACPI_APD_SYSFS  BIT(0)
37  #define ACPI_APD_PM BIT(1)
38  
39  static u8 peri_id[2] = { 0, 1 };
40  
  > 41  static struct dma_pl330_platdata amd_pl330 = {
42  .nr_valid_peri = 2,
43  .peri_id = peri_id,
44  .mcbuf_sz = 0,
45  .flags = IRQF_SHARED,
46  };
47  /**
48   * struct apd_device_desc - a descriptor for apd device
49   * @flags: device flags like %ACPI_APD_SYSFS, %ACPI_APD_PM

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 6/6] Serial:8250: New Port Type PORT_AMD_8250

2016-01-03 Thread kbuild test robot
Hi Wang,

[auto build test WARNING on v4.4-rc8]
[cannot apply to tty/tty-testing pm/linux-next next-20151231]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Wang-Hongcheng/8250-AMD-Carrizo-UART-PL300-DMA-enablement/20160104-133639
config: x86_64-randconfig-x013-01040119 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/acpi/acpi_apd.c:42:34: warning: 'amd_pl330' defined but not used 
[-Wunused-variable]
static struct dma_pl330_platdata amd_pl330[] = {
 ^
>> drivers/acpi/acpi_apd.c:61:32: warning: 'amd_dw8250' defined but not used 
>> [-Wunused-variable]
static struct plat_dw8250_data amd_dw8250 = {
   ^

vim +/amd_dw8250 +61 drivers/acpi/acpi_apd.c

36   */
37  #define ACPI_APD_SYSFS  BIT(0)
38  #define ACPI_APD_PM BIT(1)
39  
40  static u8 peri_id[2] = { 0, 1 };
41  
  > 42  static struct dma_pl330_platdata amd_pl330[] = {
43  {
44  .nr_valid_peri = 2,
45  .peri_id = peri_id,
46  .mcbuf_sz = 0,
47  .flags = IRQF_SHARED,
48  .base_request_line = 1,
49  .num = 0,
50  },
51  {
52  .nr_valid_peri = 2,
53  .peri_id = peri_id,
54  .mcbuf_sz = 0,
55  .flags = IRQF_SHARED,
56  .base_request_line = 2,
57  .num = 0,
58  }
59  };
60  
  > 61  static struct plat_dw8250_data amd_dw8250 = {
62  .has_pl330_dma = 1,
63  };
64  

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v7 4/4] power: wm831x_power: Support USB charger current limit management

2016-01-03 Thread kbuild test robot
Hi Baolin,

[auto build test ERROR on v4.4-rc8]
[cannot apply to balbi-usb/next usb/usb-testing next-20151231]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Baolin-Wang/Introduce-usb-charger-framework-to-deal-with-the-usb-gadget-power-negotation/20160104-111018
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   ERROR: "usb_charger_init" undefined!
   ERROR: "usb_charger_plug_by_gadget" undefined!
   ERROR: "usb_charger_exit" undefined!
   ERROR: "usb_charger_set_cur_limit_by_type" undefined!
   ERROR: "usb_charger_detect_type" undefined!
   ERROR: "usb_charger_set_cur_limit_by_type" undefined!
   ERROR: "usb_charger_detect_type" undefined!
>> ERROR: "usb_charger_register_notify" undefined!
>> ERROR: "usb_charger_find_by_name" undefined!
>> ERROR: "usb_charger_unregister_notify" undefined!

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] [v3]Input: evdev - drop partial events after emptying the buffer

2016-01-04 Thread kbuild test robot
Hi Aniroop,

[auto build test ERROR on input/next]
[also build test ERROR on v4.4-rc8 next-20160104]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Aniroop-Mathur/Input-evdev-drop-partial-events-after-emptying-the-buffer/20160105-053003
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
config: avr32-atstk1006_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=avr32 

All errors (new ones prefixed by >>):

   drivers/input/evdev.c: In function '__evdev_queue_syn_dropped':
   drivers/input/evdev.c:195: error: request for member 'time' in something not 
a structure or union
>> drivers/input/evdev.c:196: error: incompatible types in assignment
--
   /kbuild/src/um/drivers/input/evdev.c: In function 
'__evdev_queue_syn_dropped':
   /kbuild/src/um/drivers/input/evdev.c:195: error: request for member 'time' 
in something not a structure or union
>> /kbuild/src/um/drivers/input/evdev.c:196: error: incompatible types in 
>> assignment

vim +196 drivers/input/evdev.c

   189   * ignore partial events and if last packet is fully stored, 
queue
   190   * SYN_REPORT so that clients would not ignore next full packet.
   191   */
   192  if (prev_ev->type != EV_SYN && prev_ev->code != SYN_REPORT) {
   193  client->drop_pevent = true;
   194  } else if (prev_ev->type == EV_SYN && prev_ev->code == 
SYN_REPORT) {
 > 195  prev_ev.time = ev.time;
 > 196  client->buffer[client->head++] = prev_ev;
   197  client->head &= mask;
   198  client->packet_head = client->head;
   199  

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] [v3]Input: evdev - drop partial events after emptying the buffer

2016-01-04 Thread kbuild test robot
Hi Aniroop,

[auto build test ERROR on input/next]
[also build test ERROR on v4.4-rc8 next-20160104]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Aniroop-Mathur/Input-evdev-drop-partial-events-after-emptying-the-buffer/20160105-053003
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
config: i386-randconfig-x005-01040616 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/input/evdev.c: In function '__evdev_queue_syn_dropped':
>> drivers/input/evdev.c:195:10: error: request for member 'time' in something 
>> not a structure or union
  prev_ev.time = ev.time;
 ^
>> drivers/input/evdev.c:196:34: error: incompatible types when assigning to 
>> type 'struct input_event' from type 'struct input_event *'
  client->buffer[client->head++] = prev_ev;
 ^

vim +/time +195 drivers/input/evdev.c

   189   * ignore partial events and if last packet is fully stored, 
queue
   190   * SYN_REPORT so that clients would not ignore next full packet.
   191   */
   192  if (prev_ev->type != EV_SYN && prev_ev->code != SYN_REPORT) {
   193  client->drop_pevent = true;
   194  } else if (prev_ev->type == EV_SYN && prev_ev->code == 
SYN_REPORT) {
 > 195  prev_ev.time = ev.time;
 > 196  client->buffer[client->head++] = prev_ev;
   197  client->head &= mask;
   198  client->packet_head = client->head;
   199  

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 09/10] [media] tvp5150: Initialize the chip on probe

2016-01-04 Thread kbuild test robot
Hi Javier,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.4-rc8 next-20151231]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Javier-Martinez-Canillas/tvp5150-add-MC-and-DT-support/20160104-203224
base:   git://linuxtv.org/media_tree.git master
config: x86_64-randconfig-x008-01040711 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/media/i2c/tvp5150.c: In function 'tvp5150_init':
>> drivers/media/i2c/tvp5150.c:1206:13: error: implicit declaration of function 
>> 'devm_gpiod_get_optional' [-Werror=implicit-function-declaration]
 pdn_gpio = devm_gpiod_get_optional(>dev, "powerdown", GPIOD_OUT_HIGH);
^
>> drivers/media/i2c/tvp5150.c:1206:59: error: 'GPIOD_OUT_HIGH' undeclared 
>> (first use in this function)
 pdn_gpio = devm_gpiod_get_optional(>dev, "powerdown", GPIOD_OUT_HIGH);
  ^
   drivers/media/i2c/tvp5150.c:1206:59: note: each undeclared identifier is 
reported only once for each function it appears in
>> drivers/media/i2c/tvp5150.c:1211:3: error: implicit declaration of function 
>> 'gpiod_set_value_cansleep' [-Werror=implicit-function-declaration]
  gpiod_set_value_cansleep(pdn_gpio, 0);
  ^
   cc1: some warnings being treated as errors

vim +/devm_gpiod_get_optional +1206 drivers/media/i2c/tvp5150.c

  1200  
  1201  static inline int tvp5150_init(struct i2c_client *c)
  1202  {
  1203  struct gpio_desc *pdn_gpio;
  1204  struct gpio_desc *reset_gpio;
  1205  
> 1206  pdn_gpio = devm_gpiod_get_optional(>dev, "powerdown", 
> GPIOD_OUT_HIGH);
  1207  if (IS_ERR(pdn_gpio))
  1208  return PTR_ERR(pdn_gpio);
  1209  
  1210  if (pdn_gpio) {
> 1211  gpiod_set_value_cansleep(pdn_gpio, 0);
  1212  /* Delay time between power supplies active and reset */
  1213  msleep(20);
  1214  }

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-01-04 Thread kbuild test robot
Hi Guenter,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   168309855a7d1e16db751e9c647119fe2d2dc878
commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error 
with binutils 2.24 and earlier
date:   6 days ago
config: mips-jmr3927_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e
# save the attached .config to linux build tree
make.cross ARCH=mips 

All errors (new ones prefixed by >>):

>> arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'
/*
^

vim +1 arch/mips/vdso/gettimeofday.c

a7f4df4e Alex Smith 2015-10-21 @1  /*
a7f4df4e Alex Smith 2015-10-21  2   * Copyright (C) 2015 Imagination 
Technologies
a7f4df4e Alex Smith 2015-10-21  3   * Author: Alex Smith 
a7f4df4e Alex Smith 2015-10-21  4   *
a7f4df4e Alex Smith 2015-10-21  5   * This program is free software; you can 
redistribute it and/or modify it
a7f4df4e Alex Smith 2015-10-21  6   * under the terms of the GNU General Public 
License as published by the
a7f4df4e Alex Smith 2015-10-21  7   * Free Software Foundation;  either version 
2 of the  License, or (at your
a7f4df4e Alex Smith 2015-10-21  8   * option) any later version.
a7f4df4e Alex Smith 2015-10-21  9   */

:: The code at line 1 was first introduced by commit
:: a7f4df4e21dd8a8dab96e88acd2c9c5017b83fc6 MIPS: VDSO: Add implementations 
of gettimeofday() and clock_gettime()

:: TO: Alex Smith 
:: CC: Ralf Baechle 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 01/10] i2c-mux: add common core data for every mux instance

2016-01-04 Thread kbuild test robot
Hi Peter,

[auto build test WARNING on wsa/i2c/for-next]
[also build test WARNING on v4.4-rc8 next-20160104]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Peter-Rosin/i2c-mux-cleanup-and-locking-update/20160104-231355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/for-next
config: i386-randconfig-i0-01042049 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All warnings (new ones prefixed by >>):

   drivers/iio/imu/inv_mpu6050/inv_mpu_core.c: In function 'inv_mpu_probe':
>> drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:845:40: warning: passing argument 
>> 1 of 'i2c_add_mux_adapter' from incompatible pointer type 
>> [-Wincompatible-pointer-types]
 st->mux_adapter = i2c_add_mux_adapter(client->adapter,
   ^
   In file included from drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:26:0:
   include/linux/i2c-mux.h:48:21: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
--
   drivers/of/unittest.c: In function 'unittest_i2c_mux_probe':
>> drivers/of/unittest.c:1730:38: warning: passing argument 1 of 
>> 'i2c_add_mux_adapter' from incompatible pointer type 
>> [-Wincompatible-pointer-types]
  stm->adap[i] = i2c_add_mux_adapter(adap, dev, client,
 ^
   In file included from drivers/of/unittest.c:24:0:
   include/linux/i2c-mux.h:48:21: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^

vim +/i2c_add_mux_adapter +845 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c

452204ae Sachin Kamat2013-07-30  829return result;
09a642b7 Ge Gao  2013-02-02  830}
09a642b7 Ge Gao  2013-02-02  831result = 
inv_mpu6050_probe_trigger(indio_dev);
09a642b7 Ge Gao  2013-02-02  832if (result) {
09a642b7 Ge Gao  2013-02-02  833
dev_err(>client->dev, "trigger probe fail %d\n", result);
09a642b7 Ge Gao  2013-02-02  834goto out_unreg_ring;
09a642b7 Ge Gao  2013-02-02  835}
09a642b7 Ge Gao  2013-02-02  836  
09a642b7 Ge Gao  2013-02-02  837INIT_KFIFO(st->timestamps);
09a642b7 Ge Gao  2013-02-02  838
spin_lock_init(>time_stamp_lock);
09a642b7 Ge Gao  2013-02-02  839result = 
iio_device_register(indio_dev);
09a642b7 Ge Gao  2013-02-02  840if (result) {
09a642b7 Ge Gao  2013-02-02  841
dev_err(>client->dev, "IIO register fail %d\n", result);
09a642b7 Ge Gao  2013-02-02  842goto out_remove_trigger;
09a642b7 Ge Gao  2013-02-02  843}
09a642b7 Ge Gao  2013-02-02  844  
3a2ecc3d Srinivas Pandruvada 2014-12-05 @845st->mux_adapter = 
i2c_add_mux_adapter(client->adapter,
3a2ecc3d Srinivas Pandruvada 2014-12-05  846
  >dev,
3a2ecc3d Srinivas Pandruvada 2014-12-05  847
  indio_dev,
3a2ecc3d Srinivas Pandruvada 2014-12-05  848
  0, 0, 0,
3a2ecc3d Srinivas Pandruvada 2014-12-05  849
  inv_mpu6050_select_bypass,
3a2ecc3d Srinivas Pandruvada 2014-12-05  850
  inv_mpu6050_deselect_bypass);
3a2ecc3d Srinivas Pandruvada 2014-12-05  851if (!st->mux_adapter) {
3a2ecc3d Srinivas Pandruvada 2014-12-05  852result = -ENODEV;
3a2ecc3d Srinivas Pandruvada 2014-12-05  853goto out_unreg_device;

:: The code at line 845 was first introduced by commit
:: 3a2ecc3d2dce6e051b6afc319bb380c829e4e4fd iio: imu: inv_mpu6050: Add i2c 
mux for by pass

:: TO: Srinivas Pandruvada 
:: CC: Jonathan Cameron 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 01/10] i2c-mux: add common core data for every mux instance

2016-01-04 Thread kbuild test robot
Hi Peter,

[auto build test WARNING on wsa/i2c/for-next]
[also build test WARNING on v4.4-rc8 next-20160104]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Peter-Rosin/i2c-mux-cleanup-and-locking-update/20160104-231355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/for-next
config: x86_64-randconfig-i0-201601 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/media/dvb-frontends/m88ds3103.c: In function 'm88ds3103_probe':
>> drivers/media/dvb-frontends/m88ds3103.c:1470:41: warning: passing argument 1 
>> of 'i2c_add_mux_adapter' from incompatible pointer type 
>> [-Wincompatible-pointer-types]
 dev->i2c_adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/m88ds3103_priv.h:24:0,
from drivers/media/dvb-frontends/m88ds3103.c:17:
   include/linux/i2c-mux.h:48:21: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
--
   drivers/media/dvb-frontends/rtl2830.c: In function 'rtl2830_probe':
>> drivers/media/dvb-frontends/rtl2830.c:868:37: warning: passing argument 1 of 
>> 'i2c_add_mux_adapter' from incompatible pointer type 
>> [-Wincompatible-pointer-types]
 dev->adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/rtl2830_priv.h:24:0,
from drivers/media/dvb-frontends/rtl2830.c:18:
   include/linux/i2c-mux.h:48:21: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^

vim +/i2c_add_mux_adapter +1470 drivers/media/dvb-frontends/m88ds3103.c

478932b16 Antti Palosaari 2015-04-16  1454  ret = regmap_write(dev->regmap, 
0x29, utmp);
395d00d1c Antti Palosaari 2013-02-25  1455  if (ret)
f01919e8f Antti Palosaari 2015-04-16  1456  goto err_kfree;
395d00d1c Antti Palosaari 2013-02-25  1457  
395d00d1c Antti Palosaari 2013-02-25  1458  /* sleep */
56ea37da3 Antti Palosaari 2015-10-03  1459  ret = 
m88ds3103_update_bits(dev, 0x08, 0x01, 0x00);
395d00d1c Antti Palosaari 2013-02-25  1460  if (ret)
f01919e8f Antti Palosaari 2015-04-16  1461  goto err_kfree;
56ea37da3 Antti Palosaari 2015-10-03  1462  ret = 
m88ds3103_update_bits(dev, 0x04, 0x01, 0x01);
395d00d1c Antti Palosaari 2013-02-25  1463  if (ret)
f01919e8f Antti Palosaari 2015-04-16  1464  goto err_kfree;
56ea37da3 Antti Palosaari 2015-10-03  1465  ret = 
m88ds3103_update_bits(dev, 0x23, 0x10, 0x10);
395d00d1c Antti Palosaari 2013-02-25  1466  if (ret)
f01919e8f Antti Palosaari 2015-04-16  1467  goto err_kfree;
395d00d1c Antti Palosaari 2013-02-25  1468  
44b9055b4 Antti Palosaari 2013-11-19  1469  /* create mux i2c adapter for 
tuner */
f01919e8f Antti Palosaari 2015-04-16 @1470  dev->i2c_adapter = 
i2c_add_mux_adapter(client->adapter, >dev,
f01919e8f Antti Palosaari 2015-04-16  1471  
   dev, 0, 0, 0, m88ds3103_select,
478932b16 Antti Palosaari 2015-04-16  1472  
   NULL);
4347df6a7 Dan Carpenter   2015-06-02  1473  if (dev->i2c_adapter == NULL) {
4347df6a7 Dan Carpenter   2015-06-02  1474  ret = -ENOMEM;
f01919e8f Antti Palosaari 2015-04-16  1475  goto err_kfree;
4347df6a7 Dan Carpenter   2015-06-02  1476  }
44b9055b4 Antti Palosaari 2013-11-19  1477  
395d00d1c Antti Palosaari 2013-02-25  1478  /* create dvb_frontend */

:: The code at line 1470 was first introduced by commit
:: f01919e8f54f645fb00fdb823fe266e21eebe3b1 [media] m88ds3103: add I2C 
client binding

:: TO: Antti Palosaari 
:: CC: Mauro Carvalho Chehab 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 02/10] i2c-mux: move select and deselect ops to i2c_mux_core

2016-01-04 Thread kbuild test robot
Hi Peter,

[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on v4.4-rc8 next-20160104]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Peter-Rosin/i2c-mux-cleanup-and-locking-update/20160104-231355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/for-next
config: x86_64-randconfig-i0-201601 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   drivers/media/dvb-frontends/m88ds3103.c: In function 'm88ds3103_probe':
   drivers/media/dvb-frontends/m88ds3103.c:1470:41: warning: passing argument 1 
of 'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
 dev->i2c_adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/m88ds3103_priv.h:24:0,
from drivers/media/dvb-frontends/m88ds3103.c:17:
   include/linux/i2c-mux.h:53:21: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
>> drivers/media/dvb-frontends/m88ds3103.c:1471:13: warning: passing argument 3 
>> of 'i2c_add_mux_adapter' makes integer from pointer without a cast 
>> [-Wint-conversion]
dev, 0, 0, 0, m88ds3103_select,
^
   In file included from drivers/media/dvb-frontends/m88ds3103_priv.h:24:0,
from drivers/media/dvb-frontends/m88ds3103.c:17:
   include/linux/i2c-mux.h:53:21: note: expected 'u32 {aka unsigned int}' but 
argument is of type 'struct m88ds3103_dev *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
>> drivers/media/dvb-frontends/m88ds3103.c:1470:21: error: too many arguments 
>> to function 'i2c_add_mux_adapter'
 dev->i2c_adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/m88ds3103_priv.h:24:0,
from drivers/media/dvb-frontends/m88ds3103.c:17:
   include/linux/i2c-mux.h:53:21: note: declared here
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
--
   drivers/media/dvb-frontends/rtl2830.c: In function 'rtl2830_probe':
   drivers/media/dvb-frontends/rtl2830.c:868:37: warning: passing argument 1 of 
'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
 dev->adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/rtl2830_priv.h:24:0,
from drivers/media/dvb-frontends/rtl2830.c:18:
   include/linux/i2c-mux.h:53:21: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
>> drivers/media/dvb-frontends/rtl2830.c:869:4: warning: passing argument 3 of 
>> 'i2c_add_mux_adapter' makes integer from pointer without a cast 
>> [-Wint-conversion]
   client, 0, 0, 0, rtl2830_select, NULL);
   ^
   In file included from drivers/media/dvb-frontends/rtl2830_priv.h:24:0,
from drivers/media/dvb-frontends/rtl2830.c:18:
   include/linux/i2c-mux.h:53:21: note: expected 'u32 {aka unsigned int}' but 
argument is of type 'struct i2c_client *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
>> drivers/media/dvb-frontends/rtl2830.c:868:17: error: too many arguments to 
>> function 'i2c_add_mux_adapter'
 dev->adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/rtl2830_priv.h:24:0,
from drivers/media/dvb-frontends/rtl2830.c:18:
   include/linux/i2c-mux.h:53:21: note: declared here
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^

vim +/i2c_add_mux_adapter +1470 drivers/media/dvb-frontends/m88ds3103.c

f01919e8f Antti Palosaari 2015-04-16  1464  goto err_kfree;
56ea37da3 Antti Palosaari 2015-10-03  1465  ret = 
m88ds3103_update_bits(dev, 0x23, 0x10, 0x10);
395d00d1c Antti Palosaari 2013-02-25  1466  if (ret)
f01919e8f Antti Palosaari 2015-04-16  1467  goto err_kfree;
395d00d1c Antti Palosaari 2013-02-25  1468  
44b9055b4 Antti Palosaari 2013-11-19  1469  /* create mux i2c adapter for 
tuner */
f01919e8f Antti Palosaari 2015-04-16 @1470  dev->i2c_adapter = 
i2c_add_mux_adapter(client->adapter, >dev,
f01919e8f Antti Palosaari 2015-04-16 @1471  
   dev, 0, 0, 0, m88ds3103_select,
478932b16 Antti Palosaari 2015-04-16  1472

Re: [PATCH 02/10] i2c-mux: move select and deselect ops to i2c_mux_core

2016-01-04 Thread kbuild test robot
Hi Peter,

[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on v4.4-rc8 next-20160104]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Peter-Rosin/i2c-mux-cleanup-and-locking-update/20160104-231355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/for-next
config: i386-randconfig-i0-01042049 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   drivers/iio/imu/inv_mpu6050/inv_mpu_core.c: In function 'inv_mpu_probe':
   drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:845:40: warning: passing argument 
1 of 'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
 st->mux_adapter = i2c_add_mux_adapter(client->adapter,
   ^
   In file included from drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:26:0:
   include/linux/i2c-mux.h:53:21: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
>> drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:847:12: warning: passing argument 
>> 3 of 'i2c_add_mux_adapter' makes integer from pointer without a cast 
>> [-Wint-conversion]
   indio_dev,
   ^
   In file included from drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:26:0:
   include/linux/i2c-mux.h:53:21: note: expected 'u32 {aka unsigned int}' but 
argument is of type 'struct iio_dev *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
>> drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:845:20: error: too many arguments 
>> to function 'i2c_add_mux_adapter'
 st->mux_adapter = i2c_add_mux_adapter(client->adapter,
   ^
   In file included from drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:26:0:
   include/linux/i2c-mux.h:53:21: note: declared here
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
--
   drivers/of/unittest.c: In function 'unittest_i2c_mux_probe':
   drivers/of/unittest.c:1730:38: warning: passing argument 1 of 
'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
  stm->adap[i] = i2c_add_mux_adapter(adap, dev, client,
 ^
   In file included from drivers/of/unittest.c:24:0:
   include/linux/i2c-mux.h:53:21: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
>> drivers/of/unittest.c:1730:49: warning: passing argument 3 of 
>> 'i2c_add_mux_adapter' makes integer from pointer without a cast 
>> [-Wint-conversion]
  stm->adap[i] = i2c_add_mux_adapter(adap, dev, client,
^
   In file included from drivers/of/unittest.c:24:0:
   include/linux/i2c-mux.h:53:21: note: expected 'u32 {aka unsigned int}' but 
argument is of type 'struct i2c_client *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
>> drivers/of/unittest.c:1730:18: error: too many arguments to function 
>> 'i2c_add_mux_adapter'
  stm->adap[i] = i2c_add_mux_adapter(adap, dev, client,
 ^
   In file included from drivers/of/unittest.c:24:0:
   include/linux/i2c-mux.h:53:21: note: declared here
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^

vim +/i2c_add_mux_adapter +845 drivers/iio/imu/inv_mpu6050/inv_mpu_core.c

09a642b7 Ge Gao  2013-02-02  839result = 
iio_device_register(indio_dev);
09a642b7 Ge Gao  2013-02-02  840if (result) {
09a642b7 Ge Gao  2013-02-02  841
dev_err(>client->dev, "IIO register fail %d\n", result);
09a642b7 Ge Gao  2013-02-02  842goto out_remove_trigger;
09a642b7 Ge Gao  2013-02-02  843}
09a642b7 Ge Gao  2013-02-02  844  
3a2ecc3d Srinivas Pandruvada 2014-12-05 @845st->mux_adapter = 
i2c_add_mux_adapter(client->adapter,
3a2ecc3d Srinivas Pandruvada 2014-12-05  846
  >dev,
3a2ecc3d Srinivas Pandruvada 2014-12-05 @847
  indio_dev,
3a2ecc3d Srinivas Pandruvada 2014-12-05  848
  0, 0, 0,
3a2ecc3d Srinivas Pandruvada 2014-12-05  849
  inv_mpu6050_select_bypass,
3a2ecc3d Srinivas Pandruvada 2014-12-05  850
  inv_mpu6050_deselect_bypass);

:: The code at line 845 was first introduced by commit
:: 3a2ecc3d2dce6e051b6afc319bb380c829e4e4fd iio: imu: inv_mpu6050: Add i2c 
mux for by pass


Re: [PATCH 02/10] i2c-mux: move select and deselect ops to i2c_mux_core

2016-01-04 Thread kbuild test robot
Hi Peter,

[auto build test WARNING on wsa/i2c/for-next]
[also build test WARNING on v4.4-rc8 next-20160104]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Peter-Rosin/i2c-mux-cleanup-and-locking-update/20160104-231355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/for-next
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': 
unknown attribute
>> drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:845:46: sparse: too many 
>> arguments for function i2c_add_mux_adapter
   drivers/iio/imu/inv_mpu6050/inv_mpu_core.c: In function 'inv_mpu_probe':
   drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:845:40: warning: passing argument 
1 of 'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
 st->mux_adapter = i2c_add_mux_adapter(client->adapter,
   ^
   In file included from drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:26:0:
   include/linux/i2c-mux.h:53:21: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
   drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:847:12: warning: passing argument 
3 of 'i2c_add_mux_adapter' makes integer from pointer without a cast 
[-Wint-conversion]
   indio_dev,
   ^
   In file included from drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:26:0:
   include/linux/i2c-mux.h:53:21: note: expected 'u32 {aka unsigned int}' but 
argument is of type 'struct iio_dev *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
   drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:845:20: error: too many arguments 
to function 'i2c_add_mux_adapter'
 st->mux_adapter = i2c_add_mux_adapter(client->adapter,
   ^
   In file included from drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:26:0:
   include/linux/i2c-mux.h:53:21: note: declared here
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
--
   include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': 
unknown attribute
>> drivers/media/dvb-frontends/si2168.c:712:43: sparse: too many arguments for 
>> function i2c_add_mux_adapter
   drivers/media/dvb-frontends/si2168.c: In function 'si2168_probe':
   drivers/media/dvb-frontends/si2168.c:712:37: warning: passing argument 1 of 
'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
 dev->adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/si2168_priv.h:23:0,
from drivers/media/dvb-frontends/si2168.c:17:
   include/linux/i2c-mux.h:53:21: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
   drivers/media/dvb-frontends/si2168.c:713:4: warning: passing argument 3 of 
'i2c_add_mux_adapter' makes integer from pointer without a cast 
[-Wint-conversion]
   client, 0, 0, 0, si2168_select, si2168_deselect);
   ^
   In file included from drivers/media/dvb-frontends/si2168_priv.h:23:0,
from drivers/media/dvb-frontends/si2168.c:17:
   include/linux/i2c-mux.h:53:21: note: expected 'u32 {aka unsigned int}' but 
argument is of type 'struct i2c_client *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
   drivers/media/dvb-frontends/si2168.c:712:17: error: too many arguments to 
function 'i2c_add_mux_adapter'
 dev->adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/si2168_priv.h:23:0,
from drivers/media/dvb-frontends/si2168.c:17:
   include/linux/i2c-mux.h:53:21: note: declared here
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
--
   include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': 
unknown attribute
>> drivers/media/dvb-frontends/m88ds3103.c:1470:47: sparse: too many arguments 
>> for function i2c_add_mux_adapter
   drivers/media/dvb-frontends/m88ds3103.c: In function 'm88ds3103_probe':
   drivers/media/dvb-frontends/m88ds3103.c:1470:41: warning: passing argument 1 
of 'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
 dev->i2c_adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/m88ds3103_priv.h:24:0,

Re: [PATCH v2 2/2] cpufreq: powernv: Redesign the presentation of throttle notification

2016-01-01 Thread kbuild test robot
Hi Shilpasri,

[auto build test WARNING on tip/perf/core]
[also build test WARNING on v4.4-rc7 next-20151231]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Shilpasri-G-Bhat/cpufreq-powernv-tracing-Add-powernv_throttle-tracepoint/20160102-062606
config: powerpc-defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc 

All warnings (new ones prefixed by >>):

   drivers/cpufreq/powernv-cpufreq.c: In function 'occ_reset_show':
>> drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 
>> 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );   \
 ^
   drivers/cpufreq/powernv-cpufreq.c:625:1: note: in expansion of macro 
'define_throttle_reason_attr'
define_throttle_reason_attr(occ_reset, OCC_RESET_THROTTLE);
^
   drivers/cpufreq/powernv-cpufreq.c: In function 'over_current_show':
>> drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 
>> 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );   \
 ^
   drivers/cpufreq/powernv-cpufreq.c:624:1: note: in expansion of macro 
'define_throttle_reason_attr'
define_throttle_reason_attr(over_current, OVERCURRENT);
^
   drivers/cpufreq/powernv-cpufreq.c: In function 'power_supply_failure_show':
>> drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 
>> 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );   \
 ^
   drivers/cpufreq/powernv-cpufreq.c:623:1: note: in expansion of macro 
'define_throttle_reason_attr'
define_throttle_reason_attr(power_supply_failure, POWER_SUPPLY_FAILURE);
^
   drivers/cpufreq/powernv-cpufreq.c: In function 'cpu_over_temperature_show':
>> drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 
>> 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );   \
 ^
   drivers/cpufreq/powernv-cpufreq.c:622:1: note: in expansion of macro 
'define_throttle_reason_attr'
define_throttle_reason_attr(cpu_over_temperature, CPU_OVERTEMP);
^
   drivers/cpufreq/powernv-cpufreq.c: In function 'power_cap_show':
>> drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 
>> 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );   \
 ^
   drivers/cpufreq/powernv-cpufreq.c:621:1: note: in expansion of macro 
'define_throttle_reason_attr'
define_throttle_reason_attr(power_cap, POWERCAP);
^
   drivers/cpufreq/powernv-cpufreq.c: In function 'throttle_reset_show':
>> drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 
>> 'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );   \
 ^
   drivers/cpufreq/powernv-cpufreq.c:620:1: note: in expansion of macro 
'define_throttle_reason_attr'
define_throttle_reason_attr(throttle_reset, NO_THROTTLE);
^
   drivers/cpufreq/powernv-cpufreq.c: In function 'throttle_stat_show':
   drivers/cpufreq/powernv-cpufreq.c:589:2: warning: ignoring return value of 
'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );
 ^
   drivers/cpufreq/powernv-cpufreq.c: In function 'throttle_freq_show':
   drivers/cpufreq/powernv-cpufreq.c:568:2: warning: ignoring return value of 
'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );
 ^

vim +/kstrtoint +609 drivers/cpufreq/powernv-cpufreq.c

   593  
   594  count += sprintf([count], "turbo %d\n", 
chips[i].throt_turbo);
   595  count += sprintf([count], "sub-turbo %d\n", 
chips[i].throt_nominal);
   596  
   597  return count;
   598  }
   599  
   600  static struct kobj_attribute attr_throttle_stat =
   601  __ATTR(throttle_stat, 0444, throttle_stat_show, NULL);
   602  
   603  #define define_throttle_reason_attr(attr_name, val) 
   \
   604  static ssize_t attr_name##_show(struct kobject *kobj,   
   \
   605 struct kobj_attribute *attr, char 
*buf) \
   606  {   
   \
   607  int i, id;  
   \
   608  
   \
 > 609  kstrtoint(kobj->name + 4, 0, );  
 >\
   610  

Re: [PATCH v2 2/2] cpufreq: powernv: Redesign the presentation of throttle notification

2016-01-01 Thread kbuild test robot
Hi Shilpasri,

[auto build test WARNING on tip/perf/core]
[also build test WARNING on v4.4-rc7 next-20151231]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Shilpasri-G-Bhat/cpufreq-powernv-tracing-Add-powernv_throttle-tracepoint/20160102-062606
config: powerpc-allmodconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc 

All warnings (new ones prefixed by >>):

   drivers/cpufreq/powernv-cpufreq.c: In function 'occ_reset_show':
   drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 
'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );   \
 ^
>> drivers/cpufreq/powernv-cpufreq.c:625:1: note: in expansion of macro 
>> 'define_throttle_reason_attr'
define_throttle_reason_attr(occ_reset, OCC_RESET_THROTTLE);
^
   drivers/cpufreq/powernv-cpufreq.c: In function 'over_current_show':
   drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 
'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );   \
 ^
   drivers/cpufreq/powernv-cpufreq.c:624:1: note: in expansion of macro 
'define_throttle_reason_attr'
define_throttle_reason_attr(over_current, OVERCURRENT);
^
   drivers/cpufreq/powernv-cpufreq.c: In function 'power_supply_failure_show':
   drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 
'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );   \
 ^
   drivers/cpufreq/powernv-cpufreq.c:623:1: note: in expansion of macro 
'define_throttle_reason_attr'
define_throttle_reason_attr(power_supply_failure, POWER_SUPPLY_FAILURE);
^
   drivers/cpufreq/powernv-cpufreq.c: In function 'cpu_over_temperature_show':
   drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 
'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );   \
 ^
   drivers/cpufreq/powernv-cpufreq.c:622:1: note: in expansion of macro 
'define_throttle_reason_attr'
define_throttle_reason_attr(cpu_over_temperature, CPU_OVERTEMP);
^
   drivers/cpufreq/powernv-cpufreq.c: In function 'power_cap_show':
   drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 
'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );   \
 ^
   drivers/cpufreq/powernv-cpufreq.c:621:1: note: in expansion of macro 
'define_throttle_reason_attr'
define_throttle_reason_attr(power_cap, POWERCAP);
^
   drivers/cpufreq/powernv-cpufreq.c: In function 'throttle_reset_show':
   drivers/cpufreq/powernv-cpufreq.c:609:2: warning: ignoring return value of 
'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );   \
 ^
   drivers/cpufreq/powernv-cpufreq.c:620:1: note: in expansion of macro 
'define_throttle_reason_attr'
define_throttle_reason_attr(throttle_reset, NO_THROTTLE);
^
   drivers/cpufreq/powernv-cpufreq.c: In function 'throttle_stat_show':
   drivers/cpufreq/powernv-cpufreq.c:589:2: warning: ignoring return value of 
'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );
 ^
   drivers/cpufreq/powernv-cpufreq.c: In function 'throttle_freq_show':
   drivers/cpufreq/powernv-cpufreq.c:568:2: warning: ignoring return value of 
'kstrtoint', declared with attribute warn_unused_result [-Wunused-result]
 kstrtoint(kobj->name + 4, 0, );
 ^

vim +/define_throttle_reason_attr +625 drivers/cpufreq/powernv-cpufreq.c

   603  #define define_throttle_reason_attr(attr_name, val) 
   \
   604  static ssize_t attr_name##_show(struct kobject *kobj,   
   \
   605 struct kobj_attribute *attr, char 
*buf) \
   606  {   
   \
   607  int i, id;  
   \
   608  
   \
 > 609  kstrtoint(kobj->name + 4, 0, );  
 >\
   610  for (i = 0; i < nr_chips; i++)  
   \
   611  if (chips[i].id == id)  
   \
   612  break;  
   \
   613  
   \
   614  return 

[PATCH] nbd: fix ifnullfree.cocci warnings

2016-01-02 Thread kbuild test robot
drivers/block/nbd.c:937:2-26: WARNING: NULL check before freeing functions like 
kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. 
Maybe consider reorganizing relevant code to avoid passing NULL values.
drivers/block/nbd.c:918:2-26: WARNING: NULL check before freeing functions like 
kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. 
Maybe consider reorganizing relevant code to avoid passing NULL values.

 NULL check before some freeing functions is not needed.

 Based on checkpatch warning
 "kfree(NULL) is safe this check is probably not required"
 and kfreeaddr.cocci by Julia Lawall.

Generated by: scripts/coccinelle/free/ifnullfree.cocci

CC: Markus Pargmann 
Signed-off-by: Fengguang Wu 
---

 nbd.c |6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)

--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -914,8 +914,7 @@ static int nbd_dev_dbg_init(struct nbd_d
 
 static void nbd_dev_dbg_close(struct nbd_device *nbd)
 {
-   if (nbd->dbg_dir)
-   debugfs_remove_recursive(nbd->dbg_dir);
+   debugfs_remove_recursive(nbd->dbg_dir);
 }
 
 static int nbd_dbg_init(void)
@@ -933,8 +932,7 @@ static int nbd_dbg_init(void)
 
 static void nbd_dbg_close(void)
 {
-   if (nbd_dbg_dir)
-   debugfs_remove_recursive(nbd_dbg_dir);
+   debugfs_remove_recursive(nbd_dbg_dir);
 }
 
 #else  /* IS_ENABLED(CONFIG_DEBUG_FS) */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 1/5] nbd: Fix debugfs error handling

2016-01-02 Thread kbuild test robot
Hi Markus,

[auto build test WARNING on block/for-next]
[also build test WARNING on v4.4-rc7 next-20151231]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Markus-Pargmann/nbd-Fix-debugfs-error-handling/20160102-182030
base:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git 
for-next


coccinelle warnings: (new ones prefixed by >>)

>> drivers/block/nbd.c:937:2-26: WARNING: NULL check before freeing functions 
>> like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not 
>> needed. Maybe consider reorganizing relevant code to avoid passing NULL 
>> values.
   drivers/block/nbd.c:918:2-26: WARNING: NULL check before freeing functions 
like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not 
needed. Maybe consider reorganizing relevant code to avoid passing NULL values.

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] i915: correctly handling failed allocation

2015-12-29 Thread kbuild test robot
Hi Insu,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.4-rc7 next-20151223]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Insu-Yun/i915-correctly-handling-failed-allocation/20151230-030043
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-x008-12291635 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_dsi_panel_vbt.c: In function 'vbt_panel_init':
>> drivers/gpu/drm/i915/intel_dsi_panel_vbt.c:669:7: error: 'vbt_pannel' 
>> undeclared (first use in this function)
 if (!vbt_pannel)
  ^
   drivers/gpu/drm/i915/intel_dsi_panel_vbt.c:669:7: note: each undeclared 
identifier is reported only once for each function it appears in

vim +/vbt_pannel +669 drivers/gpu/drm/i915/intel_dsi_panel_vbt.c

   663  intel_dsi->panel_on_delay = pps->panel_on_delay / 10;
   664  intel_dsi->panel_off_delay = pps->panel_off_delay / 10;
   665  intel_dsi->panel_pwr_cycle_delay = pps->panel_power_cycle_delay 
/ 10;
   666  
   667  /* This is cheating a bit with the cleanup. */
   668  vbt_panel = devm_kzalloc(dev->dev, sizeof(*vbt_panel), 
GFP_KERNEL);
 > 669  if (!vbt_pannel)
   670  return NULL;
   671  
   672  vbt_panel->intel_dsi = intel_dsi;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 1/3] rsi: Delete unnecessary variable initialisations in rsi_send_mgmt_pkt()

2016-01-02 Thread kbuild test robot
Hi Markus,

[auto build test WARNING on wireless-drivers-next/master]
[also build test WARNING on v4.4-rc7 next-20151231]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/SF-Markus-Elfring/net-rsi-Fine-tuning-for-two-function-implementations/20160102-224740
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git 
master
config: x86_64-randconfig-s2-01030012 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

   drivers/net/wireless/rsi/rsi_91x_pkt.c: In function 'rsi_send_mgmt_pkt':
>> drivers/net/wireless/rsi/rsi_91x_pkt.c:211:2: warning: 'status' may be used 
>> uninitialized in this function [-Wmaybe-uninitialized]
 rsi_indicate_tx_status(common->priv, skb, status);
 ^

vim +/status +211 drivers/net/wireless/rsi/rsi_91x_pkt.c

dad0d04f Fariya Fatima 2014-03-16  195  /* Indicate to firmware to give 
cfm */
dad0d04f Fariya Fatima 2014-03-16  196  if ((skb->data[16] == 
IEEE80211_STYPE_PROBE_REQ) && (!bss->assoc)) {
dad0d04f Fariya Fatima 2014-03-16  197  msg[1] |= 
cpu_to_le16(BIT(10));
dad0d04f Fariya Fatima 2014-03-16  198  msg[7] = 
cpu_to_le16(PROBEREQ_CONFIRM);
dad0d04f Fariya Fatima 2014-03-16  199  common->mgmt_q_block = 
true;
dad0d04f Fariya Fatima 2014-03-16  200  }
dad0d04f Fariya Fatima 2014-03-16  201  
dad0d04f Fariya Fatima 2014-03-16  202  msg[7] |= cpu_to_le16(vap_id << 
8);
dad0d04f Fariya Fatima 2014-03-16  203  
dad0d04f Fariya Fatima 2014-03-16  204  status = 
adapter->host_intf_write_pkt(common->priv,
dad0d04f Fariya Fatima 2014-03-16  205  
  (u8 *)msg,
dad0d04f Fariya Fatima 2014-03-16  206  
  skb->len);
dad0d04f Fariya Fatima 2014-03-16  207  if (status)
dad0d04f Fariya Fatima 2014-03-16  208  rsi_dbg(ERR_ZONE, "%s: 
Failed to write the packet\n", __func__);
dad0d04f Fariya Fatima 2014-03-16  209  
dad0d04f Fariya Fatima 2014-03-16  210  err:
dad0d04f Fariya Fatima 2014-03-16 @211  
rsi_indicate_tx_status(common->priv, skb, status);
dad0d04f Fariya Fatima 2014-03-16  212  return status;
dad0d04f Fariya Fatima 2014-03-16  213  }

:: The code at line 211 was first introduced by commit
:: dad0d04fa7ba41ce603a01e8e64967650303e9a2 rsi: Add RS9113 wireless driver

:: TO: Fariya Fatima 
:: CC: John W. Linville 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v2 3/8] i2c-mux: move the slave side adapter management to i2c_mux_core

2016-01-05 Thread kbuild test robot
Hi Peter,

[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on v4.4-rc8 next-20160105]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Peter-Rosin/i2c-mux-cleanup-and-locking-update/20160106-000205
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/for-next
config: i386-randconfig-s1-201601 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c: In function 
'inv_mpu_acpi_create_mux_client':
>> drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c:185:37: error: 'struct 
>> inv_mpu6050_state' has no member named 'mux_adapter'
  st->mux_client = i2c_new_device(st->mux_adapter, );
^

vim +185 drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c

a35c5d1a Srinivas Pandruvada 2015-01-30  179
*name = '\0';
a35c5d1a Srinivas Pandruvada 2015-01-30  180
strlcat(info.type, "-client",
a35c5d1a Srinivas Pandruvada 2015-01-30  181
sizeof(info.type));
a35c5d1a Srinivas Pandruvada 2015-01-30  182} else
a35c5d1a Srinivas Pandruvada 2015-01-30  183return 
0; /* no secondary addr, which is OK */
a35c5d1a Srinivas Pandruvada 2015-01-30  184}
a35c5d1a Srinivas Pandruvada 2015-01-30 @185st->mux_client = 
i2c_new_device(st->mux_adapter, );
a35c5d1a Srinivas Pandruvada 2015-01-30  186if (!st->mux_client)
a35c5d1a Srinivas Pandruvada 2015-01-30  187return -ENODEV;
a35c5d1a Srinivas Pandruvada 2015-01-30  188  

:: The code at line 185 was first introduced by commit
:: a35c5d1aa96aa6cc70e91786cbe9be4db23f8f4a iio: imu: inv_mpu6050: Create 
mux clients for ACPI

:: TO: Srinivas Pandruvada 
:: CC: Jonathan Cameron 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 3/4] mfd: arizona: Switch to using clock driver for 32k clock

2016-01-05 Thread kbuild test robot
Hi Charles,

[auto build test WARNING on clk/clk-next]
[also build test WARNING on v4.4-rc8 next-20160105]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Charles-Keepax/extcon-arizona-Remove-enable-disable-of-32k-clock/20160105-234658
base:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: x86_64-randconfig-x013-01041832 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

warning: (MFD_ARIZONA) selects COMMON_CLK_ARIZONA which has unmet direct 
dependencies (COMMON_CLK && MFD_ARIZONA)

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 3/4] mfd: arizona: Switch to using clock driver for 32k clock

2016-01-05 Thread kbuild test robot
Hi Charles,

[auto build test ERROR on clk/clk-next]
[also build test ERROR on v4.4-rc8 next-20160105]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Charles-Keepax/extcon-arizona-Remove-enable-disable-of-32k-clock/20160105-234658
base:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: i386-randconfig-s1-201601 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All error/warnings (new ones prefixed by >>):

>> drivers/clk/clk-arizona.c:31:16: error: field 'clk32k_hw' has incomplete type
 struct clk_hw clk32k_hw;
   ^
   In file included from include/asm-generic/bug.h:13:0,
from arch/x86/include/asm/bug.h:35,
from include/linux/bug.h:4,
from include/linux/mmdebug.h:4,
from include/linux/gfp.h:4,
from include/linux/slab.h:14,
from include/asm-generic/clkdev.h:16,
from arch/x86/include/generated/asm/clkdev.h:1,
from include/linux/clkdev.h:15,
from drivers/clk/clk-arizona.c:14:
   drivers/clk/clk-arizona.c: In function 'clk32k_to_arizona_clk':
   include/linux/kernel.h:813:48: warning: initialization from incompatible 
pointer type [-Wincompatible-pointer-types]
 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
   ^
>> drivers/clk/clk-arizona.c:37:9: note: in expansion of macro 'container_of'
 return container_of(hw, struct arizona_clk, clk32k_hw);
^
   drivers/clk/clk-arizona.c: At top level:
>> drivers/clk/clk-arizona.c:77:21: error: variable 'arizona_32k_ops' has 
>> initializer but incomplete type
static const struct clk_ops arizona_32k_ops = {
^
>> drivers/clk/clk-arizona.c:78:2: error: unknown field 'prepare' specified in 
>> initializer
 .prepare = arizona_32k_enable,
 ^
>> drivers/clk/clk-arizona.c:78:13: warning: excess elements in struct 
>> initializer
 .prepare = arizona_32k_enable,
^
   drivers/clk/clk-arizona.c:78:13: note: (near initialization for 
'arizona_32k_ops')
>> drivers/clk/clk-arizona.c:79:2: error: unknown field 'unprepare' specified 
>> in initializer
 .unprepare = arizona_32k_disable,
 ^
   drivers/clk/clk-arizona.c:79:15: warning: excess elements in struct 
initializer
 .unprepare = arizona_32k_disable,
  ^
   drivers/clk/clk-arizona.c:79:15: note: (near initialization for 
'arizona_32k_ops')
   drivers/clk/clk-arizona.c: In function 'arizona_clk_of_get_pdata':
>> drivers/clk/clk-arizona.c:98:35: error: implicit declaration of function 
>> '__clk_get_name' [-Werror=implicit-function-declaration]
   arizona->pdata.clk32k_parent = __clk_get_name(mclk);
  ^
>> drivers/clk/clk-arizona.c:98:33: warning: assignment makes pointer from 
>> integer without a cast [-Wint-conversion]
   arizona->pdata.clk32k_parent = __clk_get_name(mclk);
^
   drivers/clk/clk-arizona.c: In function 'arizona_clk_probe':
>> drivers/clk/clk-arizona.c:113:9: error: variable 'clk32k_init' has 
>> initializer but incomplete type
 struct clk_init_data clk32k_init = {
^
>> drivers/clk/clk-arizona.c:114:3: error: unknown field 'name' specified in 
>> initializer
  .name = "arizona-32k",
  ^
   drivers/clk/clk-arizona.c:114:11: warning: excess elements in struct 
initializer
  .name = "arizona-32k",
  ^
   drivers/clk/clk-arizona.c:114:11: note: (near initialization for 
'clk32k_init')
>> drivers/clk/clk-arizona.c:115:3: error: unknown field 'ops' specified in 
>> initializer
  .ops = _32k_ops,
  ^
   drivers/clk/clk-arizona.c:115:10: warning: excess elements in struct 
initializer
  .ops = _32k_ops,
 ^
   drivers/clk/clk-arizona.c:115:10: note: (near initialization for 
'clk32k_init')
>> drivers/clk/clk-arizona.c:113:23: error: storage size of 'clk32k_init' isn't 
>> known
 struct clk_init_data clk32k_init = {
  ^
>> drivers/clk/clk-arizona.c:154:24: error: 'CLK_IS_ROOT' undeclared (first use 
>> in this function)
  clk32k_init.flags |= CLK_IS_ROOT;
   ^
   drivers/clk/clk-arizona.c:154:24: note: each undeclared identifier is 
reported only once for each function it appears in
>> drivers/clk/clk-arizona.c:158:20: error: implicit declaration of function 
>> 'devm_clk_register' [-Werror=implicit-function-declaration]
 clkdata->clk32k = devm_clk_register(>dev, >clk32k_hw);
   ^
>> drivers/clk/clk-arizona.c:113:23: warning: unused variable 'clk32k_init' 
>> [-Wunused-variable]
 struct clk_init_data clk32k_init = {
  ^
   cc1: 

Re: [PATCH 1/2] drm: bridge: sil902x

2016-01-06 Thread kbuild test robot
Hi Boris,

[auto build test WARNING on drm/drm-next]
[also build test WARNING on v4.4-rc8 next-20160106]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Boris-Brezillon/drm-bridge-sil902x/20160106-192921
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: powerpc-allyesconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc 

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/bridge/sil902x.c:31:0:
   drivers/gpu/drm/bridge/sil902x.c: In function 'sil902x_bridge_mode_set':
>> drivers/gpu/drm/bridge/sil902x.c:300:13: warning: format '%zd' expects 
>> argument of type 'signed size_t', but argument 2 has type 'int' [-Wformat=]
  DRM_ERROR("failed to pack AVI infoframe: %zd\n", ret);
^
   include/drm/drmP.h:168:10: note: in definition of macro 'DRM_ERROR'
 drm_err(fmt, ##__VA_ARGS__)
 ^
   drivers/gpu/drm/bridge/sil902x.c: In function 'sil902x_probe':
   drivers/gpu/drm/bridge/sil902x.c:401:16: warning: format '%d' expects 
argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
  dev_err(dev, "Failed to retrieve/request reset gpio: %d\n",
   ^

vim +300 drivers/gpu/drm/bridge/sil902x.c

   284   SIL902X_TPI_AVI_PIXEL_REP_BUS_24BIT;
   285  buf[9] = SIL902X_TPI_AVI_INPUT_RANGE_AUTO |
   286   SIL902X_TPI_AVI_INPUT_COLORSPACE_RGB;
   287  
   288  ret = regmap_bulk_write(regmap, SIL902X_TPI_VIDEO_DATA, buf, 
10);
   289  if (ret)
   290  return;
   291  
   292  ret = drm_hdmi_avi_infoframe_from_display_mode(, adj);
   293  if (ret < 0) {
   294  DRM_ERROR("couldn't fill AVI infoframe\n");
   295  return;
   296  }
   297  
   298  ret = hdmi_avi_infoframe_pack(, buf, sizeof(buf));
   299  if (ret < 0) {
 > 300  DRM_ERROR("failed to pack AVI infoframe: %zd\n", ret);
   301  return;
   302  }
   303  
   304  /* Do not send the infoframe header, but keep the CRC field. */
   305  regmap_bulk_write(regmap, SIL902X_TPI_AVI_INFOFRAME,
   306buf + HDMI_INFOFRAME_HEADER_SIZE - 1,
   307HDMI_AVI_INFOFRAME_SIZE + 1);
   308  }

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 1/2] drm: bridge: sil902x

2016-01-06 Thread kbuild test robot
Hi Boris,

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.4-rc8 next-20160106]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Boris-Brezillon/drm-bridge-sil902x/20160106-192921
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   drivers/gpu/drm/bridge/sil902x.c: In function 'sil902x_probe':
>> drivers/gpu/drm/bridge/sil902x.c:401:16: warning: format '%d' expects 
>> argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
  dev_err(dev, "Failed to retrieve/request reset gpio: %d\n",
   ^
   In file included from drivers/gpu/drm/bridge/sil902x.c:26:0:
   drivers/gpu/drm/bridge/sil902x.c: At top level:
>> drivers/gpu/drm/bridge/sil902x.c:476:26: error: 'sil9022_id' undeclared here 
>> (not in a function)
MODULE_DEVICE_TABLE(i2c, sil9022_id);
 ^
   include/linux/module.h:223:21: note: in definition of macro 
'MODULE_DEVICE_TABLE'
extern const typeof(name) __mod_##type##__##name##_device_table  \
^
>> include/linux/module.h:223:27: error: '__mod_i2c__sil9022_id_device_table' 
>> aliased to undefined symbol 'sil9022_id'
extern const typeof(name) __mod_##type##__##name##_device_table  \
  ^
>> drivers/gpu/drm/bridge/sil902x.c:476:1: note: in expansion of macro 
>> 'MODULE_DEVICE_TABLE'
MODULE_DEVICE_TABLE(i2c, sil9022_id);
^

vim +/sil9022_id +476 drivers/gpu/drm/bridge/sil902x.c

   395  sil902x->regmap = devm_regmap_init_i2c(client, 
_regmap_config);
   396  if (IS_ERR(sil902x->regmap))
   397  return PTR_ERR(sil902x->regmap);
   398  
   399  sil902x->reset_gpio = devm_gpiod_get(dev, "reset", 
GPIOD_OUT_LOW);
   400  if (IS_ERR(sil902x->reset_gpio)) {
 > 401  dev_err(dev, "Failed to retrieve/request reset gpio: 
 > %d\n",
   402  PTR_ERR(sil902x->reset_gpio));
   403  return PTR_ERR(sil902x->reset_gpio);
   404  }
   405  
   406  sil902x_reset(sil902x);
   407  
   408  ret = regmap_write(sil902x->regmap, SIL902X_REG_TPI_RQB, 0x0);
   409  if (ret)
   410  return ret;
   411  
   412  ret = regmap_bulk_read(sil902x->regmap, SIL902X_REG_CHIPID(0),
   413 , 4);
   414  if (ret) {
   415  dev_err(dev, "regmap_read failed %d\n", ret);
   416  return ret;
   417  }
   418  
   419  if (chipid[0] != 0xb0) {
   420  dev_err(dev, "Invalid chipid: %02x (expecting 0xb0)\n",
   421  chipid[0]);
   422  return -EINVAL;
   423  }
   424  
   425  /* Clear all pending interrupts */
   426  regmap_read(sil902x->regmap, SI902X_INT_STATUS, );
   427  regmap_write(sil902x->regmap, SI902X_INT_STATUS, status);
   428  
   429  if (client->irq > 0) {
   430  regmap_write(sil902x->regmap, SI902X_INT_ENABLE,
   431   SI902X_HOTPLUG_EVENT);
   432  
   433  ret = devm_request_threaded_irq(dev, client->irq, NULL,
   434  sil902x_interrupt,
   435  IRQF_ONESHOT, 
dev_name(dev),
   436  sil902x);
   437  if (ret)
   438  return ret;
   439  }
   440  
   441  sil902x->bridge.funcs = _bridge_funcs;
   442  sil902x->bridge.of_node = dev->of_node;
   443  ret = drm_bridge_add(>bridge);
   444  if (ret) {
   445  dev_err(dev, "Failed to add drm_bridge\n");
   446  return ret;
   447  }
   448  
   449  i2c_set_clientdata(client, sil902x);
   450  
   451  return 0;
   452  }
   453  
   454  static int sil902x_remove(struct i2c_client *client)
   455  
   456  {
   457  struct sil902x *sil902x = i2c_get_clientdata(client);
   458  
   459  drm_bridge_remove(>bridge);
   460  
   461  return 0;
   462  }
   463  
   464  #ifdef CONFIG_OF
   465  static const struct of_device_id sil902x_dt_ids[] = {
   466  { .compatible = "sil,sil9022", },
   467  { }
   468  };
   469  MODULE_DEVICE_TABLE(of, sil902x_dt_ids);
   470  #endif
   471  
   472  static const struct i2c_device_id sil902x_i2c_ids[] = {
   473  { "sil9022", 0 },
   474  { },
   475  };
 > 476  MODULE_DEVICE_TABLE(i2c, sil9022_id);
   477  
   478  static struct i2c_driver sil902x_driver = {
   479 

Re: [PATCH 4/4] perf/x86/amd/power: Add AMD accumulated power reporting mechanism

2016-01-06 Thread kbuild test robot
Hi Huang,

[auto build test ERROR on bp/for-next]
[also build test ERROR on v4.4-rc8 next-20160106]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Huang-Rui/perf-x86-power-Introduce-AMD-accumlated-power-reporting-mechanism/20160107-103309
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp for-next
config: i386-randconfig-s1-201601 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/kobject.h:21:0,
from include/linux/module.h:17,
from arch/x86/kernel/cpu/perf_event_amd_power.c:13:
>> arch/x86/kernel/cpu/perf_event.h:663:31: error: 'events_sysfs_show' 
>> undeclared here (not in a function)
 .attr  = __ATTR(_name, 0444, events_sysfs_show, NULL), \
  ^
   include/linux/sysfs.h:103:10: note: in definition of macro '__ATTR'
 .show = _show,  \
 ^
>> arch/x86/kernel/cpu/perf_event_amd_power.c:244:1: note: in expansion of 
>> macro 'EVENT_ATTR_STR'
EVENT_ATTR_STR(power-pkg, power_pkg, "event=0x01");
^

vim +/events_sysfs_show +663 arch/x86/kernel/cpu/perf_event.h

3a54aaa0 Stephane Eranian 2013-01-24  657   .id = 
PERF_COUNT_HW_##_id,  \
3a54aaa0 Stephane Eranian 2013-01-24  658   .event_str  = NULL, 
\
3a54aaa0 Stephane Eranian 2013-01-24  659  };
3a54aaa0 Stephane Eranian 2013-01-24  660  
3a54aaa0 Stephane Eranian 2013-01-24  661  #define EVENT_ATTR_STR(_name, v, 
str)\
3a54aaa0 Stephane Eranian 2013-01-24  662  static struct perf_pmu_events_attr 
event_attr_##v = {\
3a54aaa0 Stephane Eranian 2013-01-24 @663   .attr   = __ATTR(_name, 
0444, events_sysfs_show, NULL), \
3a54aaa0 Stephane Eranian 2013-01-24  664   .id = 0,
\
3a54aaa0 Stephane Eranian 2013-01-24  665   .event_str  = str,  
\
3a54aaa0 Stephane Eranian 2013-01-24  666  };

:: The code at line 663 was first introduced by commit
:: 3a54aaa0a3ddb2cf2ec1b94a94024e9a8a8af962 perf/x86: Improve sysfs event 
mapping with event string

:: TO: Stephane Eranian 
:: CC: Arnaldo Carvalho de Melo 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH V3] net: emac: emac gigabit ethernet controller driver

2015-12-29 Thread kbuild test robot
Hi Gilad,

[auto build test WARNING on net/master]
[also build test WARNING on v4.4-rc7 next-20151223]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Gilad-Avidov/net-emac-emac-gigabit-ethernet-controller-driver/20151230-095104
config: x86_64-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/qualcomm/emac/emac-mac.c: In function 'emac_mac_up':
>> drivers/net/ethernet/qualcomm/emac/emac-mac.c:1090:9: warning: large integer 
>> implicitly truncated to unsigned type [-Woverflow]
 writel(~DIS_INT, adpt->base + EMAC_INT_STATUS);
^

vim +1090 drivers/net/ethernet/qualcomm/emac/emac-mac.c

  1074  }
  1075  }
  1076  
  1077  ret = request_irq(irq->irq, emac_isr, 0, EMAC_MAC_IRQ_RES, irq);
  1078  if (ret) {
  1079  netdev_err(adpt->netdev,
  1080 "error:%d on request_irq(%d:%s flags:0)\n", 
ret,
  1081 irq->irq, EMAC_MAC_IRQ_RES);
  1082  goto err_request_irq;
  1083  }
  1084  
  1085  emac_mac_rx_descs_refill(adpt, >rx_q);
  1086  
  1087  napi_enable(>rx_q.napi);
  1088  
  1089  /* enable mac irq */
> 1090  writel(~DIS_INT, adpt->base + EMAC_INT_STATUS);
  1091  writel(adpt->irq.mask, adpt->base + EMAC_INT_MASK);
  1092  
  1093  netif_start_queue(netdev);
  1094  clear_bit(EMAC_STATUS_DOWN, >status);
  1095  
  1096  /* check link status */
  1097  set_bit(EMAC_STATUS_TASK_LSC_REQ, >status);
  1098  adpt->link_chk_timeout = jiffies + EMAC_TRY_LINK_TIMEOUT;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] qxl: correctly handling failed allocation

2015-12-29 Thread kbuild test robot
Hi Insu,

[auto build test WARNING on drm/drm-next]
[also build test WARNING on v4.4-rc7 next-20151223]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Insu-Yun/qxl-correctly-handling-failed-allocation/20151230-031647
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: x86_64-randconfig-x017-12300038 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from include/linux/err.h:4:0,
from include/linux/fence.h:24,
from drivers/gpu/drm/qxl/qxl_drv.h:34,
from drivers/gpu/drm/qxl/qxl_kms.c:26:
   drivers/gpu/drm/qxl/qxl_kms.c: In function 'qxl_device_init':
   drivers/gpu/drm/qxl/qxl_kms.c:224:11: error: 'struct qxl_device' has no 
member named 'memslots'
 if (!qdev->memslots)
  ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
 if (__builtin_constant_p((cond)) ? !!(cond) :   \
   ^
>> drivers/gpu/drm/qxl/qxl_kms.c:224:2: note: in expansion of macro 'if'
 if (!qdev->memslots)
 ^
   drivers/gpu/drm/qxl/qxl_kms.c:224:11: error: 'struct qxl_device' has no 
member named 'memslots'
 if (!qdev->memslots)
  ^
   include/linux/compiler.h:147:40: note: in definition of macro '__trace_if'
 if (__builtin_constant_p((cond)) ? !!(cond) :   \
   ^
>> drivers/gpu/drm/qxl/qxl_kms.c:224:2: note: in expansion of macro 'if'
 if (!qdev->memslots)
 ^
   drivers/gpu/drm/qxl/qxl_kms.c:224:11: error: 'struct qxl_device' has no 
member named 'memslots'
 if (!qdev->memslots)
  ^
   include/linux/compiler.h:158:16: note: in definition of macro '__trace_if'
  __r = !!(cond); \
   ^
>> drivers/gpu/drm/qxl/qxl_kms.c:224:2: note: in expansion of macro 'if'
 if (!qdev->memslots)
 ^

vim +/if +224 drivers/gpu/drm/qxl/qxl_kms.c

20   * OTHER DEALINGS IN THE SOFTWARE.
21   *
22   * Authors: Dave Airlie
23   *  Alon Levy
24   */
25  
  > 26  #include "qxl_drv.h"
27  #include "qxl_object.h"
28  
29  #include 
30  #include 
31  
32  int qxl_log_level;
33  
34  static void qxl_dump_mode(struct qxl_device *qdev, void *p)
35  {
36  struct qxl_mode *m = p;
37  DRM_DEBUG_KMS("%d: %dx%d %d bits, stride %d, %dmm x %dmm, 
orientation %d\n",
38m->id, m->x_res, m->y_res, m->bits, m->stride, 
m->x_mili,
39m->y_mili, m->orientation);
40  }
41  
42  static bool qxl_check_device(struct qxl_device *qdev)
43  {
44  struct qxl_rom *rom = qdev->rom;
45  int mode_offset;
46  int i;
47  
48  if (rom->magic != 0x4f525851) {
49  DRM_ERROR("bad rom signature %x\n", rom->magic);
50  return false;
51  }
52  
53  DRM_INFO("Device Version %d.%d\n", rom->id, rom->update_id);
54  DRM_INFO("Compression level %d log level %d\n", 
rom->compression_level,
55   rom->log_level);
56  DRM_INFO("Currently using mode #%d, list at 0x%x\n",
57   rom->mode, rom->modes_offset);
58  DRM_INFO("%d io pages at offset 0x%x\n",
59   rom->num_io_pages, rom->pages_offset);
60  DRM_INFO("%d byte draw area at offset 0x%x\n",
61   rom->surface0_area_size, rom->draw_area_offset);
62  
63  qdev->vram_size = rom->surface0_area_size;
64  DRM_INFO("RAM header offset: 0x%x\n", rom->ram_header_offset);
65  
66  mode_offset = rom->modes_offset / 4;
67  qdev->mode_info.num_modes = ((u32 *)rom)[mode_offset];
68  DRM_INFO("rom modes offset 0x%x for %d modes\n", 
rom->modes_offset,
69   qdev->mode_info.num_modes);
70  qdev->mode_info.modes = (void *)((uint32_t *)rom + mode_offset 
+ 1);
71  for (i = 0; i < qdev->mode_info.num_modes; i++)
72  qxl_dump_mode(qdev, qdev->mode_info.modes + i);
73  return true;
74  }
75  
76  static void setup_hw_slot(struct qxl_device *qdev, int slot_index,
77struct qxl_memslot *slot)
78  {
79  qdev->ram_header->mem_slot.mem_start = slot->start_phys_addr;
80  qdev->ram_header->mem_slot.mem_end = slot->end_phys_addr;
81  qxl_io_memslot_add(qdev, slot_index);
82  }
83  
84  static uint8_t setup_slot(struct qxl_device *qdev, uint8_t 
slot_index_offset,
85  unsigned long start_phys_addr, unsigned long end_phys_addr)
86  {

Re: [PATCH] qxl: correctly handling failed allocation

2015-12-29 Thread kbuild test robot
Hi Insu,

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.4-rc7 next-20151223]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Insu-Yun/qxl-correctly-handling-failed-allocation/20151230-031647
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: x86_64-randconfig-x008-12291635 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/qxl/qxl_kms.c: In function 'qxl_device_init':
>> drivers/gpu/drm/qxl/qxl_kms.c:224:11: error: 'struct qxl_device' has no 
>> member named 'memslots'
 if (!qdev->memslots)
  ^

vim +224 drivers/gpu/drm/qxl/qxl_kms.c

   218  (~(uint64_t)0) >> (qdev->slot_id_bits + 
qdev->slot_gen_bits);
   219  
   220  qdev->mem_slots =
   221  kmalloc(qdev->n_mem_slots * sizeof(struct qxl_memslot),
   222  GFP_KERNEL);
   223  
 > 224  if (!qdev->memslots)
   225  return -ENOMEM;
   226  
   227  idr_init(>release_idr);

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 05/35] fs: have ll_rw_block users pass in op and flags separately

2016-01-05 Thread kbuild test robot
Hi Mike,

[auto build test WARNING on next-20160105]
[cannot apply to dm/for-next v4.4-rc8 v4.4-rc7 v4.4-rc6 v4.4-rc8]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/mchristi-redhat-com/separate-operations-from-flags-in-the-bio-request-structs/20160106-052858
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

>> fs/buffer.c:3091: warning: No description found for parameter 'op_flags'
   include/linux/jbd2.h:439: warning: No description found for parameter 
'i_transaction'
   include/linux/jbd2.h:439: warning: No description found for parameter 
'i_next_transaction'
   include/linux/jbd2.h:439: warning: No description found for parameter 
'i_list'
   include/linux/jbd2.h:439: warning: No description found for parameter 
'i_vfs_inode'
   include/linux/jbd2.h:439: warning: No description found for parameter 
'i_flags'
   include/linux/jbd2.h:495: warning: No description found for parameter 
'h_rsv_handle'
   include/linux/jbd2.h:495: warning: No description found for parameter 
'h_reserved'
   include/linux/jbd2.h:495: warning: No description found for parameter 
'h_type'
   include/linux/jbd2.h:495: warning: No description found for parameter 
'h_line_no'
   include/linux/jbd2.h:495: warning: No description found for parameter 
'h_start_jiffies'
   include/linux/jbd2.h:495: warning: No description found for parameter 
'h_requested_credits'
   include/linux/jbd2.h:495: warning: No description found for parameter 
'h_lockdep_map'
   include/linux/jbd2.h:1038: warning: No description found for parameter 
'j_chkpt_bhs[JBD2_NR_BATCH]'
   include/linux/jbd2.h:1038: warning: No description found for parameter 
'j_devname[BDEVNAME_SIZE+24]'
   include/linux/jbd2.h:1038: warning: No description found for parameter 
'j_average_commit_time'
   include/linux/jbd2.h:1038: warning: No description found for parameter 
'j_min_batch_time'
   include/linux/jbd2.h:1038: warning: No description found for parameter 
'j_max_batch_time'
   include/linux/jbd2.h:1038: warning: No description found for parameter 
'j_commit_callback'
   include/linux/jbd2.h:1038: warning: No description found for parameter 
'j_failed_commit'
   include/linux/jbd2.h:1038: warning: No description found for parameter 
'j_chksum_driver'
   include/linux/jbd2.h:1038: warning: No description found for parameter 
'j_csum_seed'
   include/linux/jbd2.h:1038: warning: Excess struct/union/enum/typedef member 
'j_history' description in 'journal_s'
   include/linux/jbd2.h:1038: warning: Excess struct/union/enum/typedef member 
'j_history_max' description in 'journal_s'
   include/linux/jbd2.h:1038: warning: Excess struct/union/enum/typedef member 
'j_history_cur' description in 'journal_s'
   fs/jbd2/transaction.c:429: warning: No description found for parameter 
'rsv_blocks'
   fs/jbd2/transaction.c:429: warning: No description found for parameter 
'gfp_mask'
   fs/jbd2/transaction.c:429: warning: No description found for parameter 'type'
   fs/jbd2/transaction.c:429: warning: No description found for parameter 
'line_no'
   fs/jbd2/transaction.c:505: warning: No description found for parameter 'type'
   fs/jbd2/transaction.c:505: warning: No description found for parameter 
'line_no'
   fs/jbd2/transaction.c:635: warning: No description found for parameter 
'gfp_mask'

vim +/op_flags +3091 fs/buffer.c

^1da177e Linus Torvalds2005-04-16  3075   *
^1da177e Linus Torvalds2005-04-16  3076   * This function drops any buffer 
that it cannot get a lock on (with the
9cb569d6 Christoph Hellwig 2010-08-11  3077   * BH_Lock state bit), any buffer 
that appears to be clean when doing a write
9cb569d6 Christoph Hellwig 2010-08-11  3078   * request, and any buffer that 
appears to be up-to-date when doing read
9cb569d6 Christoph Hellwig 2010-08-11  3079   * request.  Further it marks as 
clean buffers that are processed for
9cb569d6 Christoph Hellwig 2010-08-11  3080   * writing (the buffer cache won't 
assume that they are actually clean
9cb569d6 Christoph Hellwig 2010-08-11  3081   * until the buffer gets unlocked).
^1da177e Linus Torvalds2005-04-16  3082   *
^1da177e Linus Torvalds2005-04-16  3083   * ll_rw_block sets b_end_io to 
simple completion handler that marks
e227867f Masanari Iida 2014-02-18  3084   * the buffer up-to-date (if 
appropriate), unlocks the buffer and wakes
^1da177e Linus Torvalds2005-04-16  3085   * any waiters. 
^1da177e Linus Torvalds2005-04-16  3086   *
^1da177e Linus Torvalds2005-04-16  3087   * All of the buffers must be for 
the same device, and must also be a
^1da177e Linus Torvalds2005-04-16  3088   * multiple of the current 
approved size for the device.
^1da177e Linus Torvalds2005-04-16  3089   */
3390b48e Mike Christie 2016-01-05  3090  void ll_rw_block(int op, int 
op_flags,  int nr, struct buffer_head *bhs[])
^1da177e Linus Torvalds2005-04-16 @3091  {
^1da177e Linus 

Re: [PATCH 35/35] block, drivers, fs: rename REQ_FLUSH to REQ_PREFLUSH

2016-01-05 Thread kbuild test robot
Hi Mike,

[auto build test ERROR on next-20160105]
[cannot apply to dm/for-next v4.4-rc8 v4.4-rc7 v4.4-rc6 v4.4-rc8]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/mchristi-redhat-com/separate-operations-from-flags-in-the-bio-request-structs/20160106-052858
config: um-x86_64_defconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=um SUBARCH=x86_64

All errors (new ones prefixed by >>):

   arch/um/drivers/ubd_kern.c: In function 'ubd_add':
   arch/um/drivers/ubd_kern.c:869:43: error: macro "blk_queue_flush" passed 2 
arguments, but takes just 1
 blk_queue_flush(ubd_dev->queue, REQ_FLUSH);
  ^
   arch/um/drivers/ubd_kern.c:869:2: error: 'blk_queue_flush' undeclared (first 
use in this function)
 blk_queue_flush(ubd_dev->queue, REQ_FLUSH);
 ^
   arch/um/drivers/ubd_kern.c:869:2: note: each undeclared identifier is 
reported only once for each function it appears in
   arch/um/drivers/ubd_kern.c: In function 'do_ubd_request':
>> arch/um/drivers/ubd_kern.c:1293:24: error: 'REQ_FLUSH' undeclared (first use 
>> in this function)
  if (req->cmd_flags & REQ_FLUSH) {
   ^

vim +/REQ_FLUSH +1293 arch/um/drivers/ubd_kern.c

a0044bdf Jeff Dike  2007-05-06  1287dev->start_sg = 
0;
a0044bdf Jeff Dike  2007-05-06  1288dev->end_sg = 
blk_rq_map_sg(q, req, dev->sg);
a0044bdf Jeff Dike  2007-05-06  1289}
a0044bdf Jeff Dike  2007-05-06  1290  
a0044bdf Jeff Dike  2007-05-06  1291req = dev->request;
805f11a0 Richard Weinberger 2013-08-18  1292  
805f11a0 Richard Weinberger 2013-08-18 @1293if (req->cmd_flags & 
REQ_FLUSH) {
805f11a0 Richard Weinberger 2013-08-18  1294io_req = 
kmalloc(sizeof(struct io_thread_req),
805f11a0 Richard Weinberger 2013-08-18  1295
 GFP_ATOMIC);
805f11a0 Richard Weinberger 2013-08-18  1296if (io_req == 
NULL) {

:: The code at line 1293 was first introduced by commit
:: 805f11a0d515658106bfbfadceff0eb30bd90ad2 um: ubd: Add REQ_FLUSH suppport

:: TO: Richard Weinberger 
:: CC: Richard Weinberger 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 34/35] block: add QUEUE_FLAGs for flush and fua

2016-01-05 Thread kbuild test robot
Hi Mike,

[auto build test ERROR on next-20160105]
[cannot apply to dm/for-next v4.4-rc8 v4.4-rc7 v4.4-rc6 v4.4-rc8]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/mchristi-redhat-com/separate-operations-from-flags-in-the-bio-request-structs/20160106-052858
config: um-x86_64_defconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=um SUBARCH=x86_64

All errors (new ones prefixed by >>):

   arch/um/drivers/ubd_kern.c: In function 'ubd_add':
>> arch/um/drivers/ubd_kern.c:869:43: error: macro "blk_queue_flush" passed 2 
>> arguments, but takes just 1
 blk_queue_flush(ubd_dev->queue, REQ_FLUSH);
  ^
>> arch/um/drivers/ubd_kern.c:869:2: error: 'blk_queue_flush' undeclared (first 
>> use in this function)
 blk_queue_flush(ubd_dev->queue, REQ_FLUSH);
 ^
   arch/um/drivers/ubd_kern.c:869:2: note: each undeclared identifier is 
reported only once for each function it appears in

vim +/blk_queue_flush +869 arch/um/drivers/ubd_kern.c

62f96cb0 Jeff Dike  2007-02-10  863 ubd_dev->queue = 
blk_init_queue(do_ubd_request, _dev->lock);
62f96cb0 Jeff Dike  2007-02-10  864 if (ubd_dev->queue == NULL) {
62f96cb0 Jeff Dike  2007-02-10  865 *error_out = "Failed to 
initialize device queue";
80c13749 Jeff Dike  2006-09-29  866 goto out;
62f96cb0 Jeff Dike  2007-02-10  867 }
62f96cb0 Jeff Dike  2007-02-10  868 ubd_dev->queue->queuedata = 
ubd_dev;
805f11a0 Richard Weinberger 2013-08-18 @869 blk_queue_flush(ubd_dev->queue, 
REQ_FLUSH);
62f96cb0 Jeff Dike  2007-02-10  870  
8a78362c Martin K. Petersen 2010-02-26  871 
blk_queue_max_segments(ubd_dev->queue, MAX_SG);
792dd4fc Christoph Hellwig  2009-03-31  872 err = 
ubd_disk_register(UBD_MAJOR, ubd_dev->size, n, _gendisk[n]);

:: The code at line 869 was first introduced by commit
:: 805f11a0d515658106bfbfadceff0eb30bd90ad2 um: ubd: Add REQ_FLUSH suppport

:: TO: Richard Weinberger 
:: CC: Richard Weinberger 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 03/11] mmc: sdhci-msm: use sdhci_pltfm_init for private allocation

2016-01-05 Thread kbuild test robot
Hi Jisheng,

[auto build test WARNING on v4.4-rc8]
[also build test WARNING on next-20160105]
[cannot apply to ulf.hansson-mmc/next]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Jisheng-Zhang/mmc-sdhci-bcm2835-use-sdhci_pltfm_init-for-private-allocation/20160105-190232
config: arm64-allmodconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64 

All warnings (new ones prefixed by >>):

   drivers/mmc/host/sdhci-msm.c: In function 'sdhci_msm_probe':
>> drivers/mmc/host/sdhci-msm.c:440:32: warning: 'msm_host' is used 
>> uninitialized in this function [-Wuninitialized]
 host = sdhci_pltfm_init(pdev, _host->sdhci_msm_pdata,
   ^

vim +/msm_host +440 drivers/mmc/host/sdhci-msm.c

   424  .set_clock = sdhci_set_clock,
   425  .set_bus_width = sdhci_set_bus_width,
   426  .set_uhs_signaling = sdhci_set_uhs_signaling,
   427  };
   428  
   429  static int sdhci_msm_probe(struct platform_device *pdev)
   430  {
   431  struct sdhci_host *host;
   432  struct sdhci_pltfm_host *pltfm_host;
   433  struct sdhci_msm_host *msm_host;
   434  struct resource *core_memres;
   435  int ret;
   436  u16 host_version, core_minor;
   437  u32 core_version, caps;
   438  u8 core_major;
   439  
 > 440  host = sdhci_pltfm_init(pdev, _host->sdhci_msm_pdata,
   441  sizeof(*msm_host));
   442  if (IS_ERR(host))
   443  return PTR_ERR(host);
   444  
   445  pltfm_host = sdhci_priv(host);
   446  msm_host = sdhci_pltfm_priv(pltfm_host);
   447  msm_host->sdhci_msm_pdata.ops = _msm_ops;
   448  msm_host->mmc = host->mmc;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 02/10] i2c-mux: move select and deselect ops to i2c_mux_core

2016-01-04 Thread kbuild test robot
Hi Peter,

[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on v4.4-rc8 next-20160104]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Peter-Rosin/i2c-mux-cleanup-and-locking-update/20160104-231355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/for-next
config: x86_64-randconfig-s4-01042328 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   drivers/media/dvb-frontends/si2168.c: In function 'si2168_probe':
   drivers/media/dvb-frontends/si2168.c:712:37: warning: passing argument 1 of 
'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
 dev->adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/si2168_priv.h:23:0,
from drivers/media/dvb-frontends/si2168.c:17:
   include/linux/i2c-mux.h:53:21: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
>> drivers/media/dvb-frontends/si2168.c:713:4: warning: passing argument 3 of 
>> 'i2c_add_mux_adapter' makes integer from pointer without a cast 
>> [-Wint-conversion]
   client, 0, 0, 0, si2168_select, si2168_deselect);
   ^
   In file included from drivers/media/dvb-frontends/si2168_priv.h:23:0,
from drivers/media/dvb-frontends/si2168.c:17:
   include/linux/i2c-mux.h:53:21: note: expected 'u32 {aka unsigned int}' but 
argument is of type 'struct i2c_client *'
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
>> drivers/media/dvb-frontends/si2168.c:712:17: error: too many arguments to 
>> function 'i2c_add_mux_adapter'
 dev->adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/si2168_priv.h:23:0,
from drivers/media/dvb-frontends/si2168.c:17:
   include/linux/i2c-mux.h:53:21: note: declared here
struct i2c_adapter *i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^

vim +/i2c_add_mux_adapter +712 drivers/media/dvb-frontends/si2168.c

845f3505 Antti Palosaari 2014-04-10  706ret = -ENOMEM;
37b4e43d Olli Salonen2014-08-05  707dev_err(>dev, 
"kzalloc() failed\n");
1ee5e7dd Antti Palosaari 2014-12-05  708goto err;
845f3505 Antti Palosaari 2014-04-10  709}
845f3505 Antti Palosaari 2014-04-10  710  
845f3505 Antti Palosaari 2014-04-10  711/* create mux i2c adapter for 
tuner */
6307b560 Antti Palosaari 2014-11-25 @712dev->adapter = 
i2c_add_mux_adapter(client->adapter, >dev,
6307b560 Antti Palosaari 2014-11-25 @713client, 0, 0, 
0, si2168_select, si2168_deselect);
bd01c766 Antti Palosaari 2014-11-25  714if (dev->adapter == NULL) {
4d6efc7a Luis Alves  2014-07-17  715ret = -ENODEV;
346d4900 Antti Palosaari 2014-12-05  716goto err_kfree;

:: The code at line 712 was first introduced by commit
:: 6307b560800fd92b915a851186653317460039ad [media] si2168: carry pointer 
to client instead of state

:: TO: Antti Palosaari 
:: CC: Mauro Carvalho Chehab 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


[linux-review:Peter-Rosin/i2c-mux-cleanup-and-locking-update/20160104-231355] 8627e12bd6d3fc7506656f026a23afae52d12c73 BUILD DONE

2016-01-04 Thread kbuild test robot
https://github.com/0day-ci/linux  
Peter-Rosin/i2c-mux-cleanup-and-locking-update/20160104-231355
8627e12bd6d3fc7506656f026a23afae52d12c73  i2c: pca954x: get rid of the i2c 
deadlock workaround

drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:845:18: warning: assignment makes 
pointer from integer without a cast [-Wint-conversion]
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:845:20: error: too many arguments to 
function 'i2c_add_mux_adapter'
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:845:40: warning: passing argument 1 
of 'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:845:46: sparse: too many arguments 
for function i2c_add_mux_adapter
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:846:12: warning: passing argument 2 
of 'i2c_add_mux_adapter' makes integer from pointer without a cast 
[-Wint-conversion]
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:847:12: warning: passing argument 3 
of 'i2c_add_mux_adapter' makes integer from pointer without a cast 
[-Wint-conversion]
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c:863:2: error: implicit declaration 
of function 'i2c_del_mux_adapter' [-Werror=implicit-function-declaration]
drivers/media/dvb-frontends/m88ds3103.c:1470:19: warning: assignment makes 
pointer from integer without a cast [-Wint-conversion]
drivers/media/dvb-frontends/m88ds3103.c:1470:21: error: too many arguments to 
function 'i2c_add_mux_adapter'
drivers/media/dvb-frontends/m88ds3103.c:1470:41: warning: passing argument 1 of 
'i2c_add_mux_adapter' from incompatible pointer type
drivers/media/dvb-frontends/m88ds3103.c:1470:41: warning: passing argument 1 of 
'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
drivers/media/dvb-frontends/m88ds3103.c:1470:47: sparse: too many arguments for 
function i2c_add_mux_adapter
drivers/media/dvb-frontends/m88ds3103.c:1470:58: warning: passing argument 2 of 
'i2c_add_mux_adapter' makes integer from pointer without a cast
drivers/media/dvb-frontends/m88ds3103.c:1470:58: warning: passing argument 2 of 
'i2c_add_mux_adapter' makes integer from pointer without a cast 
[-Wint-conversion]
drivers/media/dvb-frontends/m88ds3103.c:1471:13: warning: passing argument 3 of 
'i2c_add_mux_adapter' makes integer from pointer without a cast 
[-Wint-conversion]
drivers/media/dvb-frontends/m88ds3103.c:1505:2: error: implicit declaration of 
function 'i2c_del_mux_adapter' [-Werror=implicit-function-declaration]
drivers/media/dvb-frontends/rtl2830.c:868:15: warning: assignment makes pointer 
from integer without a cast [-Wint-conversion]
drivers/media/dvb-frontends/rtl2830.c:868:17: error: too many arguments to 
function 'i2c_add_mux_adapter'
drivers/media/dvb-frontends/rtl2830.c:868:37: warning: passing argument 1 of 
'i2c_add_mux_adapter' from incompatible pointer type
drivers/media/dvb-frontends/rtl2830.c:868:37: warning: passing argument 1 of 
'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
drivers/media/dvb-frontends/rtl2830.c:868:43: sparse: too many arguments for 
function i2c_add_mux_adapter
drivers/media/dvb-frontends/rtl2830.c:868:54: warning: passing argument 2 of 
'i2c_add_mux_adapter' makes integer from pointer without a cast
drivers/media/dvb-frontends/rtl2830.c:868:54: warning: passing argument 2 of 
'i2c_add_mux_adapter' makes integer from pointer without a cast 
[-Wint-conversion]
drivers/media/dvb-frontends/rtl2830.c:869:4: warning: passing argument 3 of 
'i2c_add_mux_adapter' makes integer from pointer without a cast 
[-Wint-conversion]
drivers/media/dvb-frontends/rtl2830.c:903:2: error: implicit declaration of 
function 'i2c_del_mux_adapter' [-Werror=implicit-function-declaration]
drivers/media/dvb-frontends/rtl2832.c:1265:53: sparse: too many arguments for 
function i2c_add_mux_adapter
drivers/media/dvb-frontends/si2168.c:712:17: error: too many arguments to 
function 'i2c_add_mux_adapter'
drivers/media/dvb-frontends/si2168.c:712:37: warning: passing argument 1 of 
'i2c_add_mux_adapter' from incompatible pointer type
drivers/media/dvb-frontends/si2168.c:712:37: warning: passing argument 1 of 
'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
drivers/media/dvb-frontends/si2168.c:712:43: sparse: too many arguments for 
function i2c_add_mux_adapter
drivers/media/dvb-frontends/si2168.c:712:54: warning: passing argument 2 of 
'i2c_add_mux_adapter' makes integer from pointer without a cast
drivers/media/dvb-frontends/si2168.c:712:54: warning: passing argument 2 of 
'i2c_add_mux_adapter' makes integer from pointer without a cast 
[-Wint-conversion]
drivers/media/dvb-frontends/si2168.c:713:4: warning: passing argument 3 of 
'i2c_add_mux_adapter' makes integer from pointer without a cast 
[-Wint-conversion]
drivers/media/usb/cx231xx/cx231xx-i2c.c:574:56: sparse: too many arguments for 
function i2c_add_mux_adapter
drivers/of/unittest.c:1730:16: warning: assignment makes pointer from integer 

Re: [PATCH 03/10] i2c-mux: move the slave side adapter management to i2c_mux_core

2016-01-04 Thread kbuild test robot
Hi Peter,

[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on v4.4-rc8 next-20160104]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Peter-Rosin/i2c-mux-cleanup-and-locking-update/20160104-231355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/for-next
config: x86_64-randconfig-i0-201601 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   drivers/media/dvb-frontends/m88ds3103.c: In function 'm88ds3103_probe':
   drivers/media/dvb-frontends/m88ds3103.c:1470:41: warning: passing argument 1 
of 'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
 dev->i2c_adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/m88ds3103_priv.h:24:0,
from drivers/media/dvb-frontends/m88ds3103.c:17:
   include/linux/i2c-mux.h:58:5: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
int i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
   drivers/media/dvb-frontends/m88ds3103.c:1471:13: warning: passing argument 3 
of 'i2c_add_mux_adapter' makes integer from pointer without a cast 
[-Wint-conversion]
dev, 0, 0, 0, m88ds3103_select,
^
   In file included from drivers/media/dvb-frontends/m88ds3103_priv.h:24:0,
from drivers/media/dvb-frontends/m88ds3103.c:17:
   include/linux/i2c-mux.h:58:5: note: expected 'u32 {aka unsigned int}' but 
argument is of type 'struct m88ds3103_dev *'
int i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
   drivers/media/dvb-frontends/m88ds3103.c:1470:21: error: too many arguments 
to function 'i2c_add_mux_adapter'
 dev->i2c_adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/m88ds3103_priv.h:24:0,
from drivers/media/dvb-frontends/m88ds3103.c:17:
   include/linux/i2c-mux.h:58:5: note: declared here
int i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
>> drivers/media/dvb-frontends/m88ds3103.c:1470:19: warning: assignment makes 
>> pointer from integer without a cast [-Wint-conversion]
 dev->i2c_adapter = i2c_add_mux_adapter(client->adapter, >dev,
  ^
   drivers/media/dvb-frontends/m88ds3103.c: In function 'm88ds3103_remove':
>> drivers/media/dvb-frontends/m88ds3103.c:1505:2: error: implicit declaration 
>> of function 'i2c_del_mux_adapter' [-Werror=implicit-function-declaration]
 i2c_del_mux_adapter(dev->i2c_adapter);
 ^
   cc1: some warnings being treated as errors
--
   drivers/media/dvb-frontends/rtl2830.c: In function 'rtl2830_probe':
   drivers/media/dvb-frontends/rtl2830.c:868:37: warning: passing argument 1 of 
'i2c_add_mux_adapter' from incompatible pointer type 
[-Wincompatible-pointer-types]
 dev->adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/rtl2830_priv.h:24:0,
from drivers/media/dvb-frontends/rtl2830.c:18:
   include/linux/i2c-mux.h:58:5: note: expected 'struct i2c_mux_core *' but 
argument is of type 'struct i2c_adapter *'
int i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
   drivers/media/dvb-frontends/rtl2830.c:869:4: warning: passing argument 3 of 
'i2c_add_mux_adapter' makes integer from pointer without a cast 
[-Wint-conversion]
   client, 0, 0, 0, rtl2830_select, NULL);
   ^
   In file included from drivers/media/dvb-frontends/rtl2830_priv.h:24:0,
from drivers/media/dvb-frontends/rtl2830.c:18:
   include/linux/i2c-mux.h:58:5: note: expected 'u32 {aka unsigned int}' but 
argument is of type 'struct i2c_client *'
int i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
   drivers/media/dvb-frontends/rtl2830.c:868:17: error: too many arguments to 
function 'i2c_add_mux_adapter'
 dev->adapter = i2c_add_mux_adapter(client->adapter, >dev,
^
   In file included from drivers/media/dvb-frontends/rtl2830_priv.h:24:0,
from drivers/media/dvb-frontends/rtl2830.c:18:
   include/linux/i2c-mux.h:58:5: note: declared here
int i2c_add_mux_adapter(struct i2c_mux_core *muxc,
^
>> drivers/media/dvb-frontends/rtl2830.c:868:15: warning: assignment makes 
>> pointer from integer without a cast [-Wint-conversion]
 dev->adapter = i2c_add_mux_adapter(client->adapter, >dev,
  ^
   drivers/media/dvb-frontends/rtl2830.c: In function 'rtl2830_remove':
>> drivers/media/dvb-frontends/rtl2830.c:903:2: error: implicit declaration of 
>> function 'i2c_del_mux_adapter' [-Werror=implicit-function-declaration]
 

Re: [PATCH] ima_write_policy() optimizations;

2016-01-01 Thread kbuild test robot
Hi Petko,

[auto build test ERROR on integrity/next]
[cannot apply to v4.4-rc7 next-20151231]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Petko-Manolov/ima_write_policy-optimizations/20160102-013037
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next
config: i386-randconfig-x002-12300610 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   security/integrity/ima/ima_fs.c:275:9: sparse: undefined identifier 'data'
   security/integrity/ima/ima_fs.c:276:14: sparse: undefined identifier 'data'
   security/integrity/ima/ima_fs.c:279:11: sparse: undefined identifier 'data'
   security/integrity/ima/ima_fs.c:282:28: sparse: undefined identifier 'data'
   security/integrity/ima/ima_fs.c:289:37: sparse: undefined identifier 'data'
   security/integrity/ima/ima_fs.c:296:15: sparse: undefined identifier 'data'
   security/integrity/ima/ima_fs.c: In function 'ima_write_policy':
>> security/integrity/ima/ima_fs.c:275:2: error: 'data' undeclared (first use 
>> in this function)
 data = kmalloc(datalen + 1, GFP_KERNEL);
 ^
   security/integrity/ima/ima_fs.c:275:2: note: each undeclared identifier is 
reported only once for each function it appears in

vim +/data +275 security/integrity/ima/ima_fs.c

4af4662f Mimi Zohar 2009-02-04  269 /* No partial writes. */
6ccd0456 Eric Paris 2010-04-20  270 result = -EINVAL;
6ccd0456 Eric Paris 2010-04-20  271 if (*ppos != 0)
6ccd0456 Eric Paris 2010-04-20  272 goto out;
6ccd0456 Eric Paris 2010-04-20  273  
6ccd0456 Eric Paris 2010-04-20  274 result = -ENOMEM;
4af4662f Mimi Zohar 2009-02-04 @275 data = kmalloc(datalen + 1, GFP_KERNEL);
4af4662f Mimi Zohar 2009-02-04  276 if (!data)
6ccd0456 Eric Paris 2010-04-20  277 goto out;
4af4662f Mimi Zohar 2009-02-04  278  

:: The code at line 275 was first introduced by commit
:: 4af4662fa4a9dc62289c580337ae2506339c4729 integrity: IMA policy

:: TO: Mimi Zohar 
:: CC: James Morris 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v2 2/4] clk: arizona: Add clock driver for the Arizona devices

2016-01-06 Thread kbuild test robot
Hi Charles,

[auto build test ERROR on clk/clk-next]
[also build test ERROR on v4.4-rc8 next-20160106]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Charles-Keepax/extcon-arizona-Remove-enable-disable-of-32k-clock/20160106-203745
base:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: xtensa-allyesconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa 

Note: the 
linux-review/Charles-Keepax/extcon-arizona-Remove-enable-disable-of-32k-clock/20160106-203745
 HEAD 3b9e1c414d26bbf32acebb42a19ac902535a58b7 builds fine.
  It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/clk/clk-arizona.c: In function 'arizona_clk_of_get_pdata':
>> drivers/clk/clk-arizona.c:92:3: error: implicit declaration of function 
>> 'of_clk_get_by_name' [-Werror=implicit-function-declaration]
  mclk = of_clk_get_by_name(arizona->dev->of_node, pins[i]);
  ^
   drivers/clk/clk-arizona.c:92:8: warning: assignment makes pointer from 
integer without a cast
  mclk = of_clk_get_by_name(arizona->dev->of_node, pins[i]);
   ^
>> drivers/clk/clk-arizona.c:96:3: error: implicit declaration of function 
>> 'clk_get_rate' [-Werror=implicit-function-declaration]
  if (clk_get_rate(mclk) == CLK32K_RATE) {
  ^
>> drivers/clk/clk-arizona.c:101:3: error: implicit declaration of function 
>> 'clk_put' [-Werror=implicit-function-declaration]
  clk_put(mclk);
  ^
   cc1: some warnings being treated as errors

vim +/of_clk_get_by_name +92 drivers/clk/clk-arizona.c

86  int i;
87  
88  if (!of_property_read_bool(arizona->dev->of_node, "clocks"))
89  return 0;
90  
91  for (i = 0; i < ARRAY_SIZE(pins); ++i) {
  > 92  mclk = of_clk_get_by_name(arizona->dev->of_node, 
pins[i]);
93  if (IS_ERR(mclk))
94  return PTR_ERR(mclk);
95  
  > 96  if (clk_get_rate(mclk) == CLK32K_RATE) {
97  arizona->pdata.clk32k_src = ARIZONA_32KZ_MCLK1 
+ i;
98  arizona->pdata.clk32k_parent = 
__clk_get_name(mclk);
99  }
   100  
 > 101  clk_put(mclk);
   102  }
   103  
   104  return 0;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v3] memory-hotplug: Fix kernel warning during memory hotplug on ppc64

2016-01-06 Thread kbuild test robot
Hi John,

[auto build test WARNING on v4.4-rc8]
[also build test WARNING on next-20160106]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/John-Allen/memory-hotplug-Fix-kernel-warning-during-memory-hotplug-on-ppc64/20160107-053749
config: x86_64-randconfig-x017-01041832 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/base/memory.c: In function 'memory_probe_store':
>> drivers/base/memory.c:454:6: warning: unused variable 'i' [-Wunused-variable]
 int i, ret;
 ^

vim +/i +454 drivers/base/memory.c

3947be19 Dave Hansen 2005-10-29  438  
10fbcf4c Kay Sievers 2011-12-21  439  static DEVICE_ATTR(block_size_bytes, 
0444, print_block_size, NULL);
3947be19 Dave Hansen 2005-10-29  440  
3947be19 Dave Hansen 2005-10-29  441  /*
3947be19 Dave Hansen 2005-10-29  442   * Some architectures will have 
custom drivers to do this, and
3947be19 Dave Hansen 2005-10-29  443   * will not need to do it from 
userspace.  The fake hot-add code
3947be19 Dave Hansen 2005-10-29  444   * as well as ppc64 will do all of 
their discovery in userspace
3947be19 Dave Hansen 2005-10-29  445   * and will require this interface.
3947be19 Dave Hansen 2005-10-29  446   */
3947be19 Dave Hansen 2005-10-29  447  #ifdef CONFIG_ARCH_MEMORY_PROBE
3947be19 Dave Hansen 2005-10-29  448  static ssize_t
10fbcf4c Kay Sievers 2011-12-21  449  memory_probe_store(struct device 
*dev, struct device_attribute *attr,
28812fe1 Andi Kleen  2010-01-05  450   const char *buf, 
size_t count)
3947be19 Dave Hansen 2005-10-29  451  {
3947be19 Dave Hansen 2005-10-29  452u64 phys_addr;
bc02af93 Yasunori Goto   2006-06-27  453int nid;
6add7cd6 Nathan Fontenot 2011-01-31 @454int i, ret;
61b94fea Anton Blanchard 2011-09-15  455unsigned long pages_per_block = 
PAGES_PER_SECTION * sections_per_block;
3947be19 Dave Hansen 2005-10-29  456  
b69deb2b Zhang Zhen  2014-08-06  457ret = kstrtoull(buf, 0, 
_addr);
b69deb2b Zhang Zhen  2014-08-06  458if (ret)
b69deb2b Zhang Zhen  2014-08-06  459return ret;
3947be19 Dave Hansen 2005-10-29  460  
61b94fea Anton Blanchard 2011-09-15  461if (phys_addr & 
((pages_per_block << PAGE_SHIFT) - 1))
61b94fea Anton Blanchard 2011-09-15  462return -EINVAL;

:: The code at line 454 was first introduced by commit
:: 6add7cd618b4d4dc525731beb539c5e06e891855 memory hotplug: sysfs probe 
routine should add all memory sections

:: TO: Nathan Fontenot 
:: CC: Greg Kroah-Hartman 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 4.4-rc5 v22 4/4] ARM: Allow IPI_CPU_BACKTRACE to exploit FIQ

2015-12-20 Thread kbuild test robot
Hi Daniel,

[auto build test ERROR on v4.4-rc5]
[also build test ERROR on next-20151218]
[cannot apply to tip/irq/core]

url:
https://github.com/0day-ci/linux/commits/Daniel-Thompson/irq-arm-Use-FIQ-for-NMI-backtrace-when-possible/20151221-045854
config: arm-socfpga_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

   In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from arch/arm/kernel/smp.c:10:
   arch/arm/kernel/smp.c: In function 'raise_nmi':
>> include/linux/compiler.h:484:38: error: call to '__compiletime_assert_766' 
>> declared with attribute error: BUILD_BUG_ON failed: SMP_IPI_FIQ_MASK != 
>> BIT(IPI_CPU_BACKTRACE)
 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
 ^
   include/linux/compiler.h:467:4: note: in definition of macro 
'__compiletime_assert'
   prefix ## suffix();\
   ^
   include/linux/compiler.h:484:2: note: in expansion of macro 
'_compiletime_assert'
 _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
 ^
   include/linux/bug.h:50:37: note: in expansion of macro 'compiletime_assert'
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^
   include/linux/bug.h:74:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
 BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
 ^
>> arch/arm/kernel/smp.c:766:2: note: in expansion of macro 'BUILD_BUG_ON'
 BUILD_BUG_ON(SMP_IPI_FIQ_MASK != BIT(IPI_CPU_BACKTRACE));
 ^

vim +/__compiletime_assert_766 +484 include/linux/compiler.h

9a8ab1c3 Daniel Santos  2013-02-21  478   *
9a8ab1c3 Daniel Santos  2013-02-21  479   * In tradition of POSIX assert, this 
macro will break the build if the
9a8ab1c3 Daniel Santos  2013-02-21  480   * supplied condition is *false*, 
emitting the supplied error message if the
9a8ab1c3 Daniel Santos  2013-02-21  481   * compiler has support to do so.
9a8ab1c3 Daniel Santos  2013-02-21  482   */
9a8ab1c3 Daniel Santos  2013-02-21  483  #define compiletime_assert(condition, 
msg) \
9a8ab1c3 Daniel Santos  2013-02-21 @484 _compiletime_assert(condition, 
msg, __compiletime_assert_, __LINE__)
9a8ab1c3 Daniel Santos  2013-02-21  485  
47933ad4 Peter Zijlstra 2013-11-06  486  #define 
compiletime_assert_atomic_type(t)  \
47933ad4 Peter Zijlstra 2013-11-06  487 
compiletime_assert(__native_word(t),\

:: The code at line 484 was first introduced by commit
:: 9a8ab1c39970a4938a72d94e6fd13be88a797590 bug.h, compiler.h: introduce 
compiletime_assert & BUILD_BUG_ON_MSG

:: TO: Daniel Santos 
:: CC: Linus Torvalds 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v3 2/2] add new platform driver for PCI RC

2015-12-21 Thread kbuild test robot
Hi Joao,

[auto build test ERROR on arc/for-next]
[also build test ERROR on v4.4-rc6 next-20151221]

url:
https://github.com/0day-ci/linux/commits/Joao-Pinto/adding-PCI-support-to-AXS10x/20151221-234734
base:   https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc for-next
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/pci/host/pcie-designware.c: In function 'dw_pcie_host_init':
>> drivers/pci/host/pcie-designware.c:556:7: error: implicit declaration of 
>> function 'pci_has_flag' [-Werror=implicit-function-declaration]
 if (!pci_has_flag(PCI_PROBE_ONLY)) {
  ^
>> drivers/pci/host/pcie-designware.c:556:20: error: 'PCI_PROBE_ONLY' 
>> undeclared (first use in this function)
 if (!pci_has_flag(PCI_PROBE_ONLY)) {
   ^
   drivers/pci/host/pcie-designware.c:556:20: note: each undeclared identifier 
is reported only once for each function it appears in
   cc1: some warnings being treated as errors

vim +/pci_has_flag +556 drivers/pci/host/pcie-designware.c

cbce7900 Zhou Wang   2015-10-29  550  
cbce7900 Zhou Wang   2015-10-29  551  #ifdef CONFIG_ARM
cbce7900 Zhou Wang   2015-10-29  552/* support old dtbs that incorrectly 
describe IRQs */
cbce7900 Zhou Wang   2015-10-29  553pci_fixup_irqs(pci_common_swizzle, 
of_irq_parse_and_map_pci);
0815f957 Yijing Wang 2014-11-11  554  #endif
0815f957 Yijing Wang 2014-11-11  555  
cbce7900 Zhou Wang   2015-10-29 @556if (!pci_has_flag(PCI_PROBE_ONLY)) {
cbce7900 Zhou Wang   2015-10-29  557pci_bus_size_bridges(bus);
cbce7900 Zhou Wang   2015-10-29  558pci_bus_assign_resources(bus);
4b1ced84 Jingoo Han  2013-07-31  559  

:: The code at line 556 was first introduced by commit
:: cbce7900598c26a12652f8ca9c41c5b29034c38d PCI: designware: Make driver 
arch-agnostic

:: TO: Zhou Wang 
:: CC: Bjorn Helgaas 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 4/6] soc: rockchip: add reboot mode driver

2015-12-21 Thread kbuild test robot
Hi Andy,

[auto build test WARNING on robh/for-next]
[also build test WARNING on v4.4-rc6 next-20151221]
[cannot apply to rockchip/for-next]

url:
https://github.com/0day-ci/linux/commits/Andy-Yan/misc-add-reboot-mode-driver/20151221-195031
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux for-next
config: arm-allmodconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All warnings (new ones prefixed by >>):

   drivers/soc/rockchip/reboot.c: In function 'rockchip_reboot_mode_write':
>> drivers/soc/rockchip/reboot.c:28:1: warning: no return statement in function 
>> returning non-void [-Wreturn-type]
}
^
   drivers/soc/rockchip/reboot.c: In function 'rockchip_reboot_probe':
   drivers/soc/rockchip/reboot.c:32:26: warning: unused variable 'reboot' 
[-Wunused-variable]
 struct rockchip_reboot *reboot;
 ^

vim +28 drivers/soc/rockchip/reboot.c

12  #include 
13  #include 
14  #include 
15  #include 
16  #include 
17  #include 
18  #include "loader.h"
19  
20  struct regmap *map;
21  u32 offset;
22  
23  static int rockchip_reboot_mode_write(int magic)
24  {
25  pr_info("%s-magic:%x\n", __func__, magic);
26  regmap_write(map, offset, magic);
27  
  > 28  }
29  
30  static int __init rockchip_reboot_probe(struct platform_device *pdev)
31  {
32  struct rockchip_reboot *reboot;
33  int ret;
34  
35  map = syscon_regmap_lookup_by_phandle(pdev->dev.of_node,
36
"rockchip,regmap");

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 2/2] irqchip/gic: Only populate set_affinity for the root controller

2015-12-21 Thread kbuild test robot
Hi Jon,

[auto build test ERROR on tip/irq/core]
[also build test ERROR on next-20151221]
[cannot apply to v4.4-rc6]

url:
https://github.com/0day-ci/linux/commits/Jon-Hunter/irqchip-gic-Remove-static-irq_chip-definition-for-eoimode1/20151221-221639
config: arm-realview_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/irqchip/irq-gic.c: In function '__gic_init_bases':
>> drivers/irqchip/irq-gic.c:1019:33: error: 'gic_set_affinity' undeclared 
>> (first use in this function)
   gic->chip.irq_set_affinity = gic_set_affinity;
^
   drivers/irqchip/irq-gic.c:1019:33: note: each undeclared identifier is 
reported only once for each function it appears in

vim +/gic_set_affinity +1019 drivers/irqchip/irq-gic.c

  1013  gic->chip = gic_chip;
  1014  gic->chip.name = kasprintf(GFP_KERNEL, "GIC-%d", gic_nr);
  1015  
  1016  /* Initialize irq_chip */
  1017  if (gic_nr == 0) {
  1018  if (IS_ENABLED(CONFIG_SMP))
> 1019  gic->chip.irq_set_affinity = gic_set_affinity;
  1020  
  1021  if (static_key_true(_deactivate)) {
  1022  gic->chip.irq_mask = gic_eoimode1_mask_irq;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 4.4-rc5 v22 4/4] ARM: Allow IPI_CPU_BACKTRACE to exploit FIQ

2015-12-20 Thread kbuild test robot
Hi Daniel,

[auto build test ERROR on v4.4-rc5]
[also build test ERROR on next-20151218]
[cannot apply to tip/irq/core]

url:
https://github.com/0day-ci/linux/commits/Daniel-Thompson/irq-arm-Use-FIQ-for-NMI-backtrace-when-possible/20151221-045854
config: arm-iop-adma (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   arch/arm/kernel/traps.c: In function 'handle_fiq_as_nmi':
>> arch/arm/kernel/traps.c:489:2: error: implicit declaration of function 
>> 'handle_arch_irq' [-Werror=implicit-function-declaration]
 handle_arch_irq(regs);
 ^
   cc1: some warnings being treated as errors

vim +/handle_arch_irq +489 arch/arm/kernel/traps.c

   483   * Either the interrupt controller supports FIQ, meaning it will
   484   * do the right thing with this call, or we will end up 
treating a
   485   * spurious FIQ (which is normally fatal) as though it were an 
IRQ
   486   * which, although it risks deadlock, still gives us a sporting
   487   * chance of surviving long enough to log errors.
   488   */
 > 489  handle_arch_irq(regs);
   490  
   491  nmi_exit();
   492  

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH RESEND v4] arm: remove !CPU_V6 and !GENERIC_ATOMIC64 build dependencies for XEN

2015-12-22 Thread kbuild test robot
Hi Stefano,

[auto build test WARNING on arm/for-next]
[also build test WARNING on v4.4-rc6 next-20151222]

url:
https://github.com/0day-ci/linux/commits/Stefano-Stabellini/arm-remove-CPU_V6-and-GENERIC_ATOMIC64-build-dependencies-for-XEN/20151222-222129
base:   http://repo.or.cz/linux-2.6/linux-2.6-arm.git for-next
config: arm-allmodconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/exynos/exynos_drm_ipp.c: In function 'ipp_get_mem_node':
>> drivers/gpu/drm/exynos/exynos_drm_ipp.c:585:4: warning: format '%x' expects 
>> argument of type 'unsigned int', but argument 4 has type 'dma_addr_t' 
>> [-Wformat=]
   DRM_DEBUG_KMS("i[%d]base[0x%x]hd[0x%lx]\n", i,
   ^
--
   In file included from include/linux/printk.h:277:0,
from include/linux/kernel.h:13,
from include/linux/clk.h:16,
from drivers/gpu/drm/sti/sti_hqvdp.c:7:
   drivers/gpu/drm/sti/sti_hqvdp.c: In function 'sti_hqvdp_vtg_cb':
   include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument 
of type 'unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=]
 static struct _ddebug  __aligned(8)   \
   ^
   include/linux/dynamic_debug.h:84:2: note: in expansion of macro 
'DEFINE_DYNAMIC_DEBUG_METADATA'
 DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
 ^
   include/linux/device.h:1179:2: note: in expansion of macro 'dynamic_dev_dbg'
 dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
 ^
>> drivers/gpu/drm/sti/sti_hqvdp.c:605:3: note: in expansion of macro 'dev_dbg'
  dev_dbg(hqvdp->dev, "%s Posted command:0x%x\n",
  ^
   drivers/gpu/drm/sti/sti_hqvdp.c: In function 'sti_hqvdp_atomic_update':
   include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument 
of type 'unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=]
 static struct _ddebug  __aligned(8)   \
   ^
   include/linux/dynamic_debug.h:84:2: note: in expansion of macro 
'DEFINE_DYNAMIC_DEBUG_METADATA'
 DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
 ^
   include/linux/device.h:1179:2: note: in expansion of macro 'dynamic_dev_dbg'
 dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
 ^
   drivers/gpu/drm/sti/sti_hqvdp.c:931:2: note: in expansion of macro 'dev_dbg'
 dev_dbg(hqvdp->dev, "%s Posted command:0x%x\n",
 ^
--
   In file included from include/linux/printk.h:277:0,
from include/linux/kernel.h:13,
from include/linux/list.h:8,
from include/linux/module.h:9,
from drivers/media/platform/soc_camera/mx3_camera.c:13:
   drivers/media/platform/soc_camera/mx3_camera.c: In function 
'mx3_cam_dma_done':
   include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument 
of type 'unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=]
 static struct _ddebug  __aligned(8)   \
   ^
   include/linux/dynamic_debug.h:84:2: note: in expansion of macro 
'DEFINE_DYNAMIC_DEBUG_METADATA'
 DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
 ^
   include/linux/device.h:1179:2: note: in expansion of macro 'dynamic_dev_dbg'
 dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
 ^
>> drivers/media/platform/soc_camera/mx3_camera.c:149:2: note: in expansion of 
>> macro 'dev_dbg'
 dev_dbg(chan->device->dev, "callback cookie %d, active DMA 0x%08x\n",
 ^
   drivers/media/platform/soc_camera/mx3_camera.c: In function 
'mx3_videobuf_queue':
   include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument 
of type 'unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=]
 static struct _ddebug  __aligned(8)   \
   ^
   include/linux/dynamic_debug.h:84:2: note: in expansion of macro 
'DEFINE_DYNAMIC_DEBUG_METADATA'
 DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
 ^
   include/linux/device.h:1179:2: note: in expansion of macro 'dynamic_dev_dbg'
 dynamic_dev_dbg(dev, format, ##__VA_ARGS__); \
 ^
   drivers/media/platform/soc_camera/mx3_camera.c:341:2: note: in expansion of 
macro 'dev_dbg'
 dev_dbg(icd->parent, "Submitted cookie %d DMA 0x%08x\n",
 ^
   drivers/media/platform/soc_camera/mx3_camera.c: In function 
'mx3_videobuf_release':
   include/linux/dynamic_debug.h:64:16: warning: format '%x' expects argument 
of type 'unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=]
 static struct _ddebug  __aligned(8)   \
   ^
   include/linux/dynamic_debug.h:84:2: note: in expansion of macro 
'DEFINE_DYNAMIC_DEBUG_METADATA'
 DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, fmt);  \
 ^
   include/linux/device.h:1179:2: 

Re: [PATCH 1/3] ARM: ATAGS: move atags.h to include/asm so it can be included by files outside kernel/

2015-12-24 Thread kbuild test robot
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]
Hi Ivaylo,

[auto build test ERROR on omap/for-next]
[also build test ERROR on v4.4-rc6 next-20151223]

url:
https://github.com/0day-ci/linux/commits/Ivaylo-Dimitrov/OMAP-RX51-save-atags-data-to-be-exported-on-proc-atags/20151224-220541
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git 
for-next
config: arm-allyesconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> arch/arm/kernel/atags_compat.c:29:19: fatal error: atags.h: No such file or 
>> directory
#include "atags.h"
  ^
   compilation terminated.

vim +29 arch/arm/kernel/atags_compat.c

^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  13   * NOTE:
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  14   *  The 
old struct param_struct is deprecated, but it will be kept in
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  15   *  the 
kernel for 5 years from now (2001). This will allow boot loaders
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  16   *  to 
convert to the new struct tag way.
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  17   */
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  18  #include 

^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  19  #include 

^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  20  #include 

^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  21  #include 

^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  22  
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  23  #include 

^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  24  #include 

^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  25  #include 

^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  26  
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  27  #include 

^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  28  
aa783b6f arch/arm/kernel/atags_compat.c Nicolas Pitre  2012-09-01 @29  #include 
"atags.h"
0fc1c832 arch/arm/kernel/compat.c   Ben Dooks  2006-03-15  30  
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  31  /*
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  32   * Usage:
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  33   *  - do 
not go blindly adding fields, add them at the end
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  34   *  - 
when adding fields, don't rely on the address until
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  35   *a 
patch from me has been released
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  36   *  - 
unused fields should be zero (for future expansion)
^1da177e arch/arm/kernel/compat.c   Linus Torvalds 2005-04-16  37   *  - 
this structure is relatively short-lived - only

:: The code at line 29 was first introduced by commit
:: aa783b6fd60b3844e199b1c2d2f4068f3caa1358 ARM: 7505/1: split out ATAGS 
parsing

:: TO: Nicolas Pitre 
:: CC: Russell King 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v2] Staging: olpc_dcon: Remove obsolete driver

2015-12-24 Thread kbuild test robot
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]
Hi Shraddha,

[auto build test WARNING on staging/staging-testing]
[also build test WARNING on v4.4-rc6 next-20151223]

url:
https://github.com/0day-ci/linux/commits/shraddha-6596-gmail-com/Staging-olpc_dcon-Remove-obsolete-driver/20151225-020825
config: x86_64-randconfig-s3-12250912 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

warning: (DRM_RADEON && DRM_AMDGPU && DRM_NOUVEAU && DRM_I915 && DRM_GMA500 && 
DRM_SHMOBILE && DRM_TILCDC && DRM_FSL_DCU && DRM_PARADE_PS8622 && FB_BACKLIGHT 
&& FB_MX3 && USB_APPLEDISPLAY && ACPI_CMPC && SAMSUNG_Q10) selects 
BACKLIGHT_CLASS_DEVICE which has unmet direct dependencies (HAS_IOMEM && 
BACKLIGHT_LCD_SUPPORT)

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 3/7][v4][RESEND]usb:fsl:otg: Add support to add/remove usb host driver

2015-12-24 Thread kbuild test robot
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]
Hi Ramneek,

[auto build test ERROR on balbi-usb/next]
[also build test ERROR on v4.4-rc6 next-20151223]

url:
https://github.com/0day-ci/linux/commits/Ramneek-Mehresh/Add-OTG-support-for-FSL-socs/20151224-192624
base:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
config: powerpc-mpc837x_rdb_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc 

Note: the 
linux-review/Ramneek-Mehresh/Add-OTG-support-for-FSL-socs/20151224-192624 HEAD 
8d1f660bb7a0e738ef7663aa729799df9c540a48 builds fine.
  It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/usb/host/ehci-fsl.c: In function 'ehci_fsl_drv_suspend':
>> drivers/usb/host/ehci-fsl.c:568:10: error: 'struct usb_bus' has no member 
>> named 'is_otg'
 if (host->is_otg) {
 ^
   drivers/usb/host/ehci-fsl.c:572:7: error: 'struct usb_bus' has no member 
named 'is_otg'
  host->is_otg = 0;
  ^
   drivers/usb/host/ehci-fsl.c: In function 'ehci_fsl_drv_resume':
   drivers/usb/host/ehci-fsl.c:598:10: error: 'struct usb_bus' has no member 
named 'is_otg'
 if (host->is_otg) {
 ^
   drivers/usb/host/ehci-fsl.c:602:7: error: 'struct usb_bus' has no member 
named 'is_otg'
  host->is_otg = 0;
  ^

vim +568 drivers/usb/host/ehci-fsl.c

   562  
   563  if (of_device_is_compatible(dev->parent->of_node,
   564  "fsl,mpc5121-usb2-dr")) {
   565  return ehci_fsl_mpc512x_drv_suspend(dev);
   566  }
   567  
 > 568  if (host->is_otg) {
   569  /* remove hcd */
   570  ehci_fsl->hcd_add = 0;
   571  schedule_work(_fsl->change_hcd_work);

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] i2c-core: One function call less in acpi_i2c_space_handler() after error detection

2015-12-25 Thread kbuild test robot
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]
Hi Markus,

[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on v4.4-rc6 next-20151223]

url:
https://github.com/0day-ci/linux/commits/SF-Markus-Elfring/i2c-core-One-function-call-less-in-acpi_i2c_space_handler-after-error-detection/20151226-143820
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/for-next
config: x86_64-randconfig-x010-12251849 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/i2c/i2c-core.c: In function 'acpi_i2c_space_handler':
>> drivers/i2c/i2c-core.c:404:3: error: label 'err' used but not defined
  goto err;
  ^

vim +/err +404 drivers/i2c/i2c-core.c

17f4a5c4 Wolfram Sang 2014-09-22  398   }
17f4a5c4 Wolfram Sang 2014-09-22  399   break;
17f4a5c4 Wolfram Sang 2014-09-22  400  
17f4a5c4 Wolfram Sang 2014-09-22  401   default:
17f4a5c4 Wolfram Sang 2014-09-22  402   pr_info("protocol(0x%02x) is 
not supported.\n", accessor_type);
17f4a5c4 Wolfram Sang 2014-09-22  403   ret = AE_BAD_PARAMETER;
17f4a5c4 Wolfram Sang 2014-09-22 @404   goto err;
17f4a5c4 Wolfram Sang 2014-09-22  405   }
17f4a5c4 Wolfram Sang 2014-09-22  406  
17f4a5c4 Wolfram Sang 2014-09-22  407   gsb->status = status;

:: The code at line 404 was first introduced by commit
:: 17f4a5c47f28de9ea59182f48d07f8c44ee5dcc9 i2c: move acpi code back into 
the core

:: TO: Wolfram Sang 
:: CC: Wolfram Sang 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 1/6] InfiniBand-ocrdma: One variable and jump label less in ocrdma_alloc_ucontext_pd()

2015-12-26 Thread kbuild test robot
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]
Hi Markus,

[auto build test WARNING on v4.4-rc6]
[also build test WARNING on next-20151223]

url:
https://github.com/0day-ci/linux/commits/SF-Markus-Elfring/InfiniBand-ocrdma-Fine-tuning-for-some-function-implementations/20151227-025304


coccinelle warnings: (new ones prefixed by >>)

>> drivers/infiniband/hw/ocrdma/ocrdma_verbs.c:489:9-16: ERROR: PTR_ERR applied 
>> after initialization to constant on line 488

vim +489 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c

   482  static int ocrdma_alloc_ucontext_pd(struct ocrdma_dev *dev,
   483  struct ocrdma_ucontext *uctx,
   484  struct ib_udata *udata)
   485  {
   486  uctx->cntxt_pd = _ocrdma_alloc_pd(dev, uctx, udata);
   487  if (IS_ERR(uctx->cntxt_pd)) {
 > 488  uctx->cntxt_pd = NULL;
 > 489  return PTR_ERR(uctx->cntxt_pd);
   490  }
   491  
   492  uctx->cntxt_pd->uctx = uctx;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] pinctrl-adi2: Use a signed return type for adi_gpio_irq_startup()

2015-12-19 Thread kbuild test robot
Hi Markus,

[auto build test WARNING on pinctrl/for-next]
[also build test WARNING on v4.4-rc5 next-20151218]

url:
https://github.com/0day-ci/linux/commits/SF-Markus-Elfring/pinctrl-adi2-Use-a-signed-return-type-for-adi_gpio_irq_startup/20151220-010253
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git 
for-next
config: blackfin-CM-BF548_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=blackfin 

All warnings (new ones prefixed by >>):

>> drivers/pinctrl/pinctrl-adi2.c:584:2: warning: initialization from 
>> incompatible pointer type [enabled by default]
   drivers/pinctrl/pinctrl-adi2.c:584:2: warning: (near initialization for 
'adi_gpio_irqchip.irq_startup') [enabled by default]

vim +584 drivers/pinctrl/pinctrl-adi2.c

e9a03add Sonic Zhang 2013-09-03  568request >>= 1;
e9a03add Sonic Zhang 2013-09-03  569}
e9a03add Sonic Zhang 2013-09-03  570  
e9a03add Sonic Zhang 2013-09-03  571if (!umask)
e9a03add Sonic Zhang 2013-09-03  572chained_irq_exit(chip, desc);
e9a03add Sonic Zhang 2013-09-03  573  }
e9a03add Sonic Zhang 2013-09-03  574  
e9a03add Sonic Zhang 2013-09-03  575  static struct irq_chip adi_gpio_irqchip = 
{
e9a03add Sonic Zhang 2013-09-03  576.name = "GPIO",
e9a03add Sonic Zhang 2013-09-03  577.irq_ack = adi_gpio_ack_irq,
e9a03add Sonic Zhang 2013-09-03  578.irq_mask = adi_gpio_mask_irq,
e9a03add Sonic Zhang 2013-09-03  579.irq_mask_ack = adi_gpio_mask_ack_irq,
e9a03add Sonic Zhang 2013-09-03  580.irq_unmask = adi_gpio_unmask_irq,
e9a03add Sonic Zhang 2013-09-03  581.irq_disable = adi_gpio_mask_irq,
e9a03add Sonic Zhang 2013-09-03  582.irq_enable = adi_gpio_unmask_irq,
e9a03add Sonic Zhang 2013-09-03  583.irq_set_type = adi_gpio_irq_type,
e9a03add Sonic Zhang 2013-09-03 @584.irq_startup = adi_gpio_irq_startup,
e9a03add Sonic Zhang 2013-09-03  585.irq_shutdown = adi_gpio_irq_shutdown,
e9a03add Sonic Zhang 2013-09-03  586.irq_set_wake = adi_gpio_set_wake,
e9a03add Sonic Zhang 2013-09-03  587  };
e9a03add Sonic Zhang 2013-09-03  588  
e9a03add Sonic Zhang 2013-09-03  589  static int adi_get_groups_count(struct 
pinctrl_dev *pctldev)
e9a03add Sonic Zhang 2013-09-03  590  {
e9a03add Sonic Zhang 2013-09-03  591struct adi_pinctrl *pinctrl = 
pinctrl_dev_get_drvdata(pctldev);
e9a03add Sonic Zhang 2013-09-03  592  

:: The code at line 584 was first introduced by commit
:: e9a03add0c6ed5341fc59ff9c76843c2888a33fa pinctrl: ADI PIN control driver 
for the GPIO controller on bf54x and bf60x.

:: TO: Sonic Zhang 
:: CC: Linus Walleij 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v5 3/5] PCI: qcom: Add Qualcomm PCIe controller driver

2015-12-18 Thread kbuild test robot
Hi Stanimir,

[auto build test WARNING on next-20151218]
[also build test WARNING on v4.4-rc5]
[cannot apply to pci/next robh/for-next v4.4-rc5 v4.4-rc4 v4.4-rc3]

url:
https://github.com/0day-ci/linux/commits/Stanimir-Varbanov/Qualcomm-PCIe-driver-and-designware-fixes/20151218-205427


coccinelle warnings: (new ones prefixed by >>)

>> drivers/pci/host/pcie-qcom.c:188:1-3: WARNING: PTR_ERR_OR_ZERO can be used
   drivers/pci/host/pcie-qcom.c:220:1-3: WARNING: PTR_ERR_OR_ZERO can be used

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] PCI: qcom: fix ptr_ret.cocci warnings

2015-12-18 Thread kbuild test robot
drivers/pci/host/pcie-qcom.c:188:1-3: WARNING: PTR_ERR_OR_ZERO can be used
drivers/pci/host/pcie-qcom.c:220:1-3: WARNING: PTR_ERR_OR_ZERO can be used


 Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR

Generated by: scripts/coccinelle/api/ptr_ret.cocci

CC: Stanimir Varbanov 
Signed-off-by: Fengguang Wu 
---

 pcie-qcom.c |   10 ++
 1 file changed, 2 insertions(+), 8 deletions(-)

--- a/drivers/pci/host/pcie-qcom.c
+++ b/drivers/pci/host/pcie-qcom.c
@@ -185,10 +185,7 @@ static int qcom_pcie_get_resources_v0(st
return PTR_ERR(res->por_reset);
 
res->phy_reset = devm_reset_control_get(dev, "phy");
-   if (IS_ERR(res->phy_reset))
-   return PTR_ERR(res->phy_reset);
-
-   return 0;
+   return PTR_ERR_OR_ZERO(res->phy_reset);
 }
 
 static int qcom_pcie_get_resources_v1(struct qcom_pcie *pcie)
@@ -217,10 +214,7 @@ static int qcom_pcie_get_resources_v1(st
return PTR_ERR(res->slave_bus);
 
res->core = devm_reset_control_get(dev, "core");
-   if (IS_ERR(res->core))
-   return PTR_ERR(res->core);
-
-   return 0;
+   return PTR_ERR_OR_ZERO(res->core);
 }
 
 static void qcom_pcie_deinit_v0(struct qcom_pcie *pcie)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v2 1/2] crypto: KEYS: convert public key to the akcipher api

2015-12-19 Thread kbuild test robot
Hi Tadeusz,

[auto build test ERROR on crypto/master]
[also build test ERROR on v4.4-rc5 next-20151218]

url:
https://github.com/0day-ci/linux/commits/Tadeusz-Struk/crypto-KEYS-convert-public-key-to-akcipher-api/20151213-103429
base:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git 
master
config: x86_64-randconfig-s4-12200710 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   In file included from include/crypto/public_key.h:17:0,
from include/linux/verify_pefile.h:15,
from arch/x86/kernel/kexec-bzimage64.c:22:
   include/keys/asymmetric-type.h: In function 'asymmetric_key_ids':
>> include/keys/asymmetric-type.h:74:12: error: dereferencing pointer to 
>> incomplete type 'const struct key'
 return key->payload.data[asym_key_ids];
   ^

vim +74 include/keys/asymmetric-type.h

7901c1a8 David Howells 2014-09-16  68   
size_t len_1,
7901c1a8 David Howells 2014-09-16  69   
const void *val_2,
7901c1a8 David Howells 2014-09-16  70   
size_t len_2);
146aa8b1 David Howells 2015-10-21  71  static inline
146aa8b1 David Howells 2015-10-21  72  const struct asymmetric_key_ids 
*asymmetric_key_ids(const struct key *key)
146aa8b1 David Howells 2015-10-21  73  {
146aa8b1 David Howells 2015-10-21 @74   return key->payload.data[asym_key_ids];
146aa8b1 David Howells 2015-10-21  75  }
7901c1a8 David Howells 2014-09-16  76  
7901c1a8 David Howells 2014-09-16  77  /*

:: The code at line 74 was first introduced by commit
:: 146aa8b1453bd8f1ff2304ffb71b4ee0eb9acdcc KEYS: Merge the type-specific 
data with the payload data

:: TO: David Howells 
:: CC: David Howells 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH V10 7/7] dma: qcom_hidma: add support for object hierarchy

2015-12-18 Thread kbuild test robot
Hi Sinan,

[auto build test ERROR on v4.4-rc5]
[also build test ERROR on next-20151218]

url:
https://github.com/0day-ci/linux/commits/Sinan-Kaya/dma-add-Qualcomm-Technologies-HIDMA-driver/20151218-010637
config: sparc-allyesconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc 

All errors (new ones prefixed by >>):

   drivers/built-in.o: In function `hidma_mgmt_of_populate_channels':
>> hidma_mgmt.c:(.init.text+0x5cc8): undefined reference to `of_irq_parse_one'

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH V10 7/7] dma: qcom_hidma: add support for object hierarchy

2015-12-18 Thread kbuild test robot
Hi Sinan,

[auto build test ERROR on v4.4-rc5]
[also build test ERROR on next-20151218]

url:
https://github.com/0day-ci/linux/commits/Sinan-Kaya/dma-add-Qualcomm-Technologies-HIDMA-driver/20151218-010637
config: sparc64-allmodconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

>> ERROR: "of_irq_parse_one" [drivers/dma/qcom/hdma_mgmt.ko] undefined!

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


[PATCH] Input: fix err_cast.cocci warnings

2015-12-27 Thread kbuild test robot
drivers/input/touchscreen/cyttsp_core.c:637:9-16: WARNING: ERR_CAST can be used 
with pdata


 Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))

Generated by: scripts/coccinelle/api/err_cast.cocci

CC: Oreste Salerno 
Signed-off-by: Fengguang Wu 
---

 cyttsp_core.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/input/touchscreen/cyttsp_core.c
+++ b/drivers/input/touchscreen/cyttsp_core.c
@@ -634,7 +634,7 @@ struct cyttsp *cyttsp_probe(const struct
 
pdata = cyttsp_get_platform_data(dev);
if (IS_ERR(pdata))
-   return ERR_PTR(PTR_ERR(pdata));
+   return ERR_CAST(pdata);
 
ts = kzalloc(sizeof(*ts) + xfer_buf_size, GFP_KERNEL);
input_dev = input_allocate_device();
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 2/3] Input: cyttsp - add device tree support

2015-12-27 Thread kbuild test robot
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]
Hi Oreste,

[auto build test WARNING on input/next]
[also build test WARNING on v4.4-rc6 next-20151223]

url:
https://github.com/0day-ci/linux/commits/Oreste-Salerno/Add-device-tree-support-to-the-cyttsp-driver/20151228-002949
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next


coccinelle warnings: (new ones prefixed by >>)

>> drivers/input/touchscreen/cyttsp_core.c:637:9-16: WARNING: ERR_CAST can be 
>> used with pdata

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH v5 04/20] clocksource: Add NPS400 timers driver

2015-12-27 Thread kbuild test robot
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]
Hi Noam,

[auto build test ERROR on arc/for-next]
[also build test ERROR on v4.4-rc6 next-20151223]

url:
https://github.com/0day-ci/linux/commits/Noam-Camus/Adding-plat-eznps-to-ARC/20151227-220433
base:   https://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc for-next
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/clocksource/timer-nps.c: In function 'nps_timer_event_setup':
>> drivers/clocksource/timer-nps.c:60:2: error: implicit declaration of 
>> function 'write_aux_reg' [-Werror=implicit-function-declaration]
 write_aux_reg(ARC_REG_TIMER0_LIMIT, cycles);
 ^
   drivers/clocksource/timer-nps.c: In function 'nps_timer_cpu_notify':
>> drivers/clocksource/timer-nps.c:106:3: error: implicit declaration of 
>> function 'enable_percpu_irq' [-Werror=implicit-function-declaration]
  enable_percpu_irq(nps_timer_irq, 0);
  ^
>> drivers/clocksource/timer-nps.c:111:3: error: implicit declaration of 
>> function 'disable_percpu_irq' [-Werror=implicit-function-declaration]
  disable_percpu_irq(nps_timer_irq);
  ^
   drivers/clocksource/timer-nps.c: In function 'nps_setup_clocksource':
   drivers/clocksource/timer-nps.c:148:6: error: 'NPS_MSU_BLKID' undeclared 
(first use in this function)
 NPS_MSU_BLKID, NPS_MSU_TICK_LOW);
 ^
   drivers/clocksource/timer-nps.c:148:6: note: each undeclared identifier is 
reported only once for each function it appears in
   drivers/clocksource/timer-nps.c: In function 'nps_setup_clockevents':
>> drivers/clocksource/timer-nps.c:176:8: error: implicit declaration of 
>> function 'request_percpu_irq' [-Werror=implicit-function-declaration]
 ret = request_percpu_irq(irq, nps_timer_irq_handler,
   ^
   cc1: some warnings being treated as errors

vim +/write_aux_reg +60 drivers/clocksource/timer-nps.c

54  .mask   = CLOCKSOURCE_MASK(32),
55  .flags  = CLOCK_SOURCE_IS_CONTINUOUS,
56  };
57  
58  static void nps_timer_event_setup(unsigned int cycles)
59  {
  > 60  write_aux_reg(ARC_REG_TIMER0_LIMIT, cycles);
61  write_aux_reg(ARC_REG_TIMER0_CNT, 0);   /* start from 0 */
62  
63  write_aux_reg(ARC_REG_TIMER0_CTRL, TIMER_CTRL_IE | 
TIMER_CTRL_NH);
64  }
65  
66  static int nps_clkevent_set_next_event(unsigned long delta,
67 struct clock_event_device *dev)
68  {
69  nps_timer_event_setup(delta);
70  return 0;
71  }
72  
73  static int nps_clkevent_set_periodic(struct clock_event_device *dev)
74  {
75  /*
76   * At X Hz, 1 sec = 1000ms -> X cycles;
77   *10ms -> X / 100 cycles
78   */
79  nps_timer_event_setup(nps_timer_rate / HZ);
80  return 0;
81  }
82  
83  static DEFINE_PER_CPU(struct clock_event_device, nps_clockevent_device) 
= {
84  .name   = "nps_sys_timer",
85  .features   = CLOCK_EVT_FEAT_ONESHOT |
86CLOCK_EVT_FEAT_PERIODIC,
87  .rating = 300,
88  .set_next_event = nps_clkevent_set_next_event,
89  .set_state_periodic = nps_clkevent_set_periodic,
90  };
91  
92  static int nps_timer_cpu_notify(struct notifier_block *self,
93  unsigned long action, void *hcpu)
94  {
95  struct clock_event_device *evt = 
this_cpu_ptr(_clockevent_device);
96  
97  evt->irq = nps_timer_irq;
98  evt->cpumask = cpumask_of(smp_processor_id());
99  
   100  /*
   101   * Grab cpu pointer in each case to avoid spurious
   102   * preemptible warnings
   103   */
   104  switch (action & ~CPU_TASKS_FROZEN) {
   105  case CPU_STARTING:
 > 106  enable_percpu_irq(nps_timer_irq, 0);
   107  clockevents_config_and_register(evt, nps_timer_rate,
   108  0, ULONG_MAX);
   109  break;
   110  case CPU_DYING:
 > 111  disable_percpu_irq(nps_timer_irq);
   112  break;
   113  }
   114  
   115  return NOTIFY_OK;
   116  }
   117  
   118  static struct notifier_block nps_timer_cpu_nb = {
   119  .notifier_call = nps_timer_cpu_notify,
   120  };
   121  
   122  static irqreturn_t nps_timer_irq_handler(int irq, void *dev_id)
   123  {
   124  struct clock_event_device *evt = 
this_cpu_ptr(_clockevent_device);
   125  int irq_reenable = clockevent_state_periodic(evt);
   126  
   127   

Re: [PATCH] staging: lustre: fix lock imbalance

2015-12-26 Thread kbuild test robot
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]
Hi Joshua,

[auto build test WARNING on staging/staging-testing]
[also build test WARNING on v4.4-rc6 next-20151223]

url:
https://github.com/0day-ci/linux/commits/Joshua-Clayton/staging-lustre-fix-lock-imbalance/20151227-131137
config: x86_64-allyesconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/staging/lustre/lustre/ptlrpc/nrs.c: In function 
'nrs_resource_put_safe':
>> drivers/staging/lustre/lustre/ptlrpc/nrs.c:485:21: warning: unused variable 
>> 'nrs' [-Wunused-variable]
 struct ptlrpc_nrs *nrs = NULL;
^

vim +/nrs +485 drivers/staging/lustre/lustre/ptlrpc/nrs.c

d7e09d039 Peng Tao 2013-05-02  469  nrs_policy_put(primary);
d7e09d039 Peng Tao 2013-05-02  470  }
d7e09d039 Peng Tao 2013-05-02  471  }
d7e09d039 Peng Tao 2013-05-02  472  
d7e09d039 Peng Tao 2013-05-02  473  /**
d7e09d039 Peng Tao 2013-05-02  474   * Releases references to resource 
hierarchies and policies, because they are no
d7e09d039 Peng Tao 2013-05-02  475   * longer required; used when request 
handling has been completed, or the
d7e09d039 Peng Tao 2013-05-02  476   * request is moving to the high priority 
NRS head.
d7e09d039 Peng Tao 2013-05-02  477   *
d7e09d039 Peng Tao 2013-05-02  478   * \param resp  the resource hierarchy 
that is being released
d7e09d039 Peng Tao 2013-05-02  479   *
d7e09d039 Peng Tao 2013-05-02  480   * \see ptlrpc_nrs_req_finalize()
d7e09d039 Peng Tao 2013-05-02  481   */
d7e09d039 Peng Tao 2013-05-02  482  static void nrs_resource_put_safe(struct 
ptlrpc_nrs_resource **resp)
d7e09d039 Peng Tao 2013-05-02  483  {
d7e09d039 Peng Tao 2013-05-02  484  struct ptlrpc_nrs_policy 
*pols[NRS_RES_MAX];
d7e09d039 Peng Tao 2013-05-02 @485  struct ptlrpc_nrs *nrs = NULL;
d7e09d039 Peng Tao 2013-05-02  486  int i;
d7e09d039 Peng Tao 2013-05-02  487  
d7e09d039 Peng Tao 2013-05-02  488  for (i = 0; i < NRS_RES_MAX; i++) {
d7e09d039 Peng Tao 2013-05-02  489  if (resp[i] != NULL) {
d7e09d039 Peng Tao 2013-05-02  490  pols[i] = 
resp[i]->res_policy;
d7e09d039 Peng Tao 2013-05-02  491  
nrs_resource_put(resp[i]);
d7e09d039 Peng Tao 2013-05-02  492  resp[i] = NULL;
d7e09d039 Peng Tao 2013-05-02  493  } else {

:: The code at line 485 was first introduced by commit
:: d7e09d0397e84eefbabfd9cb353221f3c6448d83 staging: add Lustre file system 
client support

:: TO: Peng Tao 
:: CC: Greg Kroah-Hartman 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Makefile:610: arch/powerpc/Makefile: No such file or directory

2015-12-27 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   74bf8efb5fa6e958d2d7c7917b8bb672085ec0c6
commit: 238abecde8ad43f914e095fcf23e0bd35dc7a7f2 powerpc: Don't use gcc 
specific options on clang
date:   7 months ago
config: powerpc-defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 238abecde8ad43f914e095fcf23e0bd35dc7a7f2
# save the attached .config to linux build tree
make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

   Makefile:350: scripts/Kbuild.include: No such file or directory
>> Makefile:610: arch/powerpc/Makefile: No such file or directory
   Makefile:783: scripts/Makefile.kasan: No such file or directory
   Makefile:784: scripts/Makefile.extrawarn: No such file or directory
   make[1]: *** No rule to make target 'scripts/Makefile.extrawarn'.
   make[1]: *** No rule to make target 'scripts/Makefile.kasan'.
>> make[1]: *** No rule to make target 'arch/powerpc/Makefile'.
   make[1]: Failed to remake makefile 'scripts/Makefile.extrawarn'.
   make[1]: Failed to remake makefile 'scripts/Makefile.kasan'.
   make[1]: Failed to remake makefile 'arch/powerpc/Makefile'.
   make: *** empty variable name.  Stop.
   make[1]: *** [scripts_basic] Error 2
   scripts/Makefile.asm-generic:11: scripts/Kbuild.include: No such file or 
directory
   make[2]: *** No rule to make target 'scripts/Kbuild.include'.
   make[2]: Failed to remake makefile 'scripts/Kbuild.include'.
   make[1]: *** [asm-generic] Error 2
   make[1]: Target 'headers_install' not remade because of errors.
   make: *** [sub-make] Error 2

vim +610 Makefile

^1da177e Linus Torvalds 2005-04-16  604  # The all: target is the default 
when no target is given on the
^1da177e Linus Torvalds 2005-04-16  605  # command line.
^1da177e Linus Torvalds 2005-04-16  606  # This allow a user to issue only 
'make' to build a kernel including modules
c8447161 Michal Marek   2010-06-03  607  # Defaults to vmlinux, but the 
arch makefile usually adds further targets
^1da177e Linus Torvalds 2005-04-16  608  all: vmlinux
^1da177e Linus Torvalds 2005-04-16  609  
a436bb7b Masahiro Yamada2015-03-27 @610  include arch/$(SRCARCH)/Makefile
a1c48bb1 Geert Uytterhoeven 2014-05-27  611  
a1c48bb1 Geert Uytterhoeven 2014-05-27  612  KBUILD_CFLAGS  += $(call 
cc-option,-fno-delete-null-pointer-checks,)
a1c48bb1 Geert Uytterhoeven 2014-05-27  613  

:: The code at line 610 was first introduced by commit
:: a436bb7b806383ae0593cab53d17fc9676270cd3 kbuild: use relative path more 
to include Makefile

:: TO: Masahiro Yamada 
:: CC: Michal Marek 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Makefile:610: arch/m68k/Makefile: No such file or directory

2015-12-27 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   74bf8efb5fa6e958d2d7c7917b8bb672085ec0c6
commit: a436bb7b806383ae0593cab53d17fc9676270cd3 kbuild: use relative path more 
to include Makefile
date:   9 months ago
config: m68k-alldefconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout a436bb7b806383ae0593cab53d17fc9676270cd3
# save the attached .config to linux build tree
make.cross ARCH=m68k 

All errors (new ones prefixed by >>):

   Makefile:350: scripts/Kbuild.include: No such file or directory
>> Makefile:610: arch/m68k/Makefile: No such file or directory
   Makefile:782: scripts/Makefile.kasan: No such file or directory
   Makefile:783: scripts/Makefile.extrawarn: No such file or directory
   make[1]: *** No rule to make target 'scripts/Makefile.extrawarn'.
   make[1]: *** No rule to make target 'scripts/Makefile.kasan'.
>> make[1]: *** No rule to make target 'arch/m68k/Makefile'.
   make[1]: Failed to remake makefile 'scripts/Makefile.extrawarn'.
   make[1]: Failed to remake makefile 'scripts/Makefile.kasan'.
   make[1]: Failed to remake makefile 'arch/m68k/Makefile'.
   make: *** empty variable name.  Stop.
   make[1]: *** [scripts_basic] Error 2
   scripts/Makefile.asm-generic:11: scripts/Kbuild.include: No such file or 
directory
   make[2]: *** No rule to make target 'scripts/Kbuild.include'.
   make[2]: Failed to remake makefile 'scripts/Kbuild.include'.
   make[1]: *** [asm-generic] Error 2
   make[1]: Target 'headers_install' not remade because of errors.
   make: *** [sub-make] Error 2

vim +610 Makefile

   594  echo >&2 ;  
\
   595  /bin/false)
   596  
   597  endif # KBUILD_EXTMOD
   598  
   599  else
   600  # Dummy target needed, because used as prerequisite
   601  include/config/auto.conf: ;
   602  endif # $(dot-config)
   603  
   604  # The all: target is the default when no target is given on the
   605  # command line.
   606  # This allow a user to issue only 'make' to build a kernel including 
modules
   607  # Defaults to vmlinux, but the arch makefile usually adds further 
targets
   608  all: vmlinux
   609  
 > 610  include arch/$(SRCARCH)/Makefile
   611  
   612  KBUILD_CFLAGS   += $(call cc-option,-fno-delete-null-pointer-checks,)
   613  
   614  ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
   615  KBUILD_CFLAGS   += -Os $(call cc-disable-warning,maybe-uninitialized,)
   616  else
   617  KBUILD_CFLAGS   += -O2
   618  endif

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Makefile:610: arch/m32r/Makefile: No such file or directory

2015-12-28 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   74bf8efb5fa6e958d2d7c7917b8bb672085ec0c6
commit: a436bb7b806383ae0593cab53d17fc9676270cd3 kbuild: use relative path more 
to include Makefile
date:   9 months ago
config: m32r-m32104ut_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout a436bb7b806383ae0593cab53d17fc9676270cd3
# save the attached .config to linux build tree
make.cross ARCH=m32r 

All errors (new ones prefixed by >>):

   Makefile:350: scripts/Kbuild.include: No such file or directory
>> Makefile:610: arch/m32r/Makefile: No such file or directory
   Makefile:782: scripts/Makefile.kasan: No such file or directory
   Makefile:783: scripts/Makefile.extrawarn: No such file or directory
   make[1]: *** No rule to make target 'scripts/Makefile.extrawarn'.
   make[1]: *** No rule to make target 'scripts/Makefile.kasan'.
>> make[1]: *** No rule to make target 'arch/m32r/Makefile'.
   make[1]: Failed to remake makefile 'scripts/Makefile.extrawarn'.
   make[1]: Failed to remake makefile 'scripts/Makefile.kasan'.
   make[1]: Failed to remake makefile 'arch/m32r/Makefile'.
   make: *** empty variable name.  Stop.
   make[1]: *** [scripts_basic] Error 2
   scripts/Makefile.asm-generic:11: scripts/Kbuild.include: No such file or 
directory
   make[2]: *** No rule to make target 'scripts/Kbuild.include'.
   make[2]: Failed to remake makefile 'scripts/Kbuild.include'.
   make[1]: *** [asm-generic] Error 2
   make[1]: Target 'headers_install' not remade because of errors.
   make: *** [sub-make] Error 2

vim +610 Makefile

   594  echo >&2 ;  
\
   595  /bin/false)
   596  
   597  endif # KBUILD_EXTMOD
   598  
   599  else
   600  # Dummy target needed, because used as prerequisite
   601  include/config/auto.conf: ;
   602  endif # $(dot-config)
   603  
   604  # The all: target is the default when no target is given on the
   605  # command line.
   606  # This allow a user to issue only 'make' to build a kernel including 
modules
   607  # Defaults to vmlinux, but the arch makefile usually adds further 
targets
   608  all: vmlinux
   609  
 > 610  include arch/$(SRCARCH)/Makefile
   611  
   612  KBUILD_CFLAGS   += $(call cc-option,-fno-delete-null-pointer-checks,)
   613  
   614  ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
   615  KBUILD_CFLAGS   += -Os $(call cc-disable-warning,maybe-uninitialized,)
   616  else
   617  KBUILD_CFLAGS   += -O2
   618  endif

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Makefile:610: arch/xtensa/Makefile: No such file or directory

2015-12-28 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   74bf8efb5fa6e958d2d7c7917b8bb672085ec0c6
commit: a436bb7b806383ae0593cab53d17fc9676270cd3 kbuild: use relative path more 
to include Makefile
date:   9 months ago
config: xtensa-common_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout a436bb7b806383ae0593cab53d17fc9676270cd3
# save the attached .config to linux build tree
make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   Makefile:350: scripts/Kbuild.include: No such file or directory
>> Makefile:610: arch/xtensa/Makefile: No such file or directory
   Makefile:782: scripts/Makefile.kasan: No such file or directory
   Makefile:783: scripts/Makefile.extrawarn: No such file or directory
   make[1]: *** No rule to make target 'scripts/Makefile.extrawarn'.
   make[1]: *** No rule to make target 'scripts/Makefile.kasan'.
>> make[1]: *** No rule to make target 'arch/xtensa/Makefile'.
   make[1]: Failed to remake makefile 'scripts/Makefile.extrawarn'.
   make[1]: Failed to remake makefile 'scripts/Makefile.kasan'.
   make[1]: Failed to remake makefile 'arch/xtensa/Makefile'.
   make: *** empty variable name.  Stop.
   make[1]: *** [scripts_basic] Error 2
   scripts/Makefile.asm-generic:11: scripts/Kbuild.include: No such file or 
directory
   make[2]: *** No rule to make target 'scripts/Kbuild.include'.
   make[2]: Failed to remake makefile 'scripts/Kbuild.include'.
   make[1]: *** [asm-generic] Error 2
   make[1]: Target 'headers_install' not remade because of errors.
   make: *** [sub-make] Error 2

vim +610 Makefile

   594  echo >&2 ;  
\
   595  /bin/false)
   596  
   597  endif # KBUILD_EXTMOD
   598  
   599  else
   600  # Dummy target needed, because used as prerequisite
   601  include/config/auto.conf: ;
   602  endif # $(dot-config)
   603  
   604  # The all: target is the default when no target is given on the
   605  # command line.
   606  # This allow a user to issue only 'make' to build a kernel including 
modules
   607  # Defaults to vmlinux, but the arch makefile usually adds further 
targets
   608  all: vmlinux
   609  
 > 610  include arch/$(SRCARCH)/Makefile
   611  
   612  KBUILD_CFLAGS   += $(call cc-option,-fno-delete-null-pointer-checks,)
   613  
   614  ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
   615  KBUILD_CFLAGS   += -Os $(call cc-disable-warning,maybe-uninitialized,)
   616  else
   617  KBUILD_CFLAGS   += -O2
   618  endif

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


[PATCH] Orangefs: fix kzalloc-simple.cocci warnings

2015-12-21 Thread kbuild test robot
fs/orangefs/orangefs-debugfs.c:368:7-14: WARNING: kzalloc should be used for 
buf, instead of kmalloc/memset


 Use kzalloc rather than kmalloc followed by memset with 0

 This considers some simple cases that are common and easy to validate
 Note in particular that there are no ...s in the rule, so all of the
 matched code has to be contiguous

Generated by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci

Signed-off-by: Fengguang Wu 
---

 orangefs-debugfs.c |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- a/fs/orangefs/orangefs-debugfs.c
+++ b/fs/orangefs/orangefs-debugfs.c
@@ -365,10 +365,9 @@ static ssize_t orangefs_debug_write(stru
count = ORANGEFS_MAX_DEBUG_STRING_LEN + 1;
}
 
-   buf = kmalloc(ORANGEFS_MAX_DEBUG_STRING_LEN, GFP_KERNEL);
+   buf = kzalloc(ORANGEFS_MAX_DEBUG_STRING_LEN, GFP_KERNEL);
if (!buf)
goto out;
-   memset(buf, 0, ORANGEFS_MAX_DEBUG_STRING_LEN);
 
if (copy_from_user(buf, ubuf, count - 1)) {
gossip_debug(GOSSIP_DEBUGFS_DEBUG,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 4/4] ARM: dts: rockchip: Add support emac for RK3036

2015-12-23 Thread kbuild test robot
Hi Xing,

[auto build test ERROR on rockchip/for-next]
[also build test ERROR on next-20151223]
[cannot apply to v4.4-rc6]

url:
https://github.com/0day-ci/linux/commits/Xing-Zheng/net-ethernet-arc-Probe-emac-after-set-RMII-clock/20151223-172442
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git 
for-next
config: arm-allmodconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> Error: arch/arm/boot/dts/rk3036.dtsi:196.18-19 syntax error
   FATAL ERROR: Unable to parse input tree

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] vxlan: Properly depend on ipv6 and revert to module_init()

2015-12-24 Thread kbuild test robot
Hi Calvin,

[auto build test ERROR on net-next/master]
[also build test ERROR on v4.4-rc6 next-20151223]

url:
https://github.com/0day-ci/linux/commits/Calvin-Owens/vxlan-Properly-depend-on-ipv6-and-revert-to-module_init/20151224-070557
config: i386-randconfig-b0-12241357 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/linkage.h:4:0,
from include/linux/kernel.h:6,
from drivers/net/vxlan.c:13:
   drivers/net/vxlan.c: In function 'vxlan_create_sock':
>> drivers/net/vxlan.c:2661:8: error: implicit declaration of function 
>> 'vxlan_ipv6_is_loaded' [-Werror=implicit-function-declaration]
  if (!vxlan_ipv6_is_loaded())
   ^
   include/linux/compiler.h:147:28: note: in definition of macro '__trace_if'
 if (__builtin_constant_p((cond)) ? !!(cond) :   \
   ^
>> drivers/net/vxlan.c:2661:3: note: in expansion of macro 'if'
  if (!vxlan_ipv6_is_loaded())
  ^
   cc1: some warnings being treated as errors

vim +/vxlan_ipv6_is_loaded +2661 drivers/net/vxlan.c

  2655  struct udp_port_cfg udp_conf;
  2656  int err;
  2657  
  2658  memset(_conf, 0, sizeof(udp_conf));
  2659  
  2660  if (ipv6) {
> 2661  if (!vxlan_ipv6_is_loaded())
  2662  return ERR_PTR(-EAFNOSUPPORT);
  2663  
  2664  udp_conf.family = AF_INET6;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v3 5/5] firmware: add an extensible system data helpers

2015-12-24 Thread kbuild test robot
Hi Luis,

[auto build test WARNING on v4.4-rc6]
[also build test WARNING on next-20151223]

url:
https://github.com/0day-ci/linux/commits/Luis-R-Rodriguez/firmware_class-extensible-firmware-API/20151224-053852
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

   include/linux/init.h:1: warning: no structured comments found
   kernel/sys.c:1: warning: no structured comments found
>> drivers/base/firmware_class.c:1336: warning: No description found for 
>> parameter 'sysdata'
>> drivers/base/firmware_class.c:1336: warning: Excess function parameter 
>> 'sysdata_file' description in 'release_sysdata_file'
   drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found
   drivers/dma-buf/reservation.c:1: warning: no structured comments found
   include/linux/reservation.h:1: warning: no structured comments found
   include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef 
member 'e_handler' description in 'hsi_client'
   include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef 
member 'pclaimed' description in 'hsi_client'
   include/linux/hsi/hsi.h:150: warning: Excess struct/union/enum/typedef 
member 'nb' description in 'hsi_client'

vim +/sysdata +1336 drivers/base/firmware_class.c

  1320  __func__);
  1321  return -ENOMEM;
  1322  }
  1323  
  1324  ret = _request_firmware_prepare(, name, device);
  1325  if (ret >= 0)
  1326  sysdata->priv = fw;
  1327  
  1328  return ret;
  1329  }
  1330  
  1331  /**
  1332   * release_sysdata_file: - release the resource associated with the 
sysdata file
  1333   * @sysdata_file: sysdata resource to release
  1334   **/
  1335  void release_sysdata_file(const struct sysdata_file *sysdata)
> 1336  {
  1337  struct firmware *fw;
  1338  
  1339  if (sysdata) {
  1340  if (sysdata->priv) {
  1341  fw = sysdata->priv;
  1342  release_firmware(fw);
  1343  }
  1344  }

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v5] serial: rewrite pxa2xx-uart to use 8250_core

2015-12-24 Thread kbuild test robot
Hi Sergei,

[auto build test ERROR on v4.4-rc6]
[cannot apply to tty/tty-testing next-20151223]

url:
https://github.com/0day-ci/linux/commits/Sergei-Ianovich/serial-rewrite-pxa2xx-uart-to-use-8250_core/20151224-030409
config: arm-spitz_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

warning: (SERIAL_PXA_CONSOLE) selects SERIAL_8250_CONSOLE which has unmet 
direct dependencies (TTY && HAS_IOMEM && SERIAL_8250=y)
   In file included from drivers/tty/serial//8250/8250_core.c:21:0:
>> include/linux/module.h:128:27: error: redefinition of '__inittest'
 static inline initcall_t __inittest(void)  \
  ^
>> drivers/tty/serial//8250/8250_core.c:1167:1: note: in expansion of macro 
>> 'module_init'
module_init(serial8250_init);
^
   include/linux/module.h:128:27: note: previous definition of '__inittest' was 
here
 static inline initcall_t __inittest(void)  \
  ^
>> include/linux/module.h:123:31: note: in expansion of macro 'module_init'
#define console_initcall(fn)  module_init(fn)
  ^
>> drivers/tty/serial//8250/8250_core.c:687:1: note: in expansion of macro 
>> 'console_initcall'
console_initcall(univ8250_console_init);
^
>> include/linux/module.h:130:6: error: redefinition of 'init_module'
 int init_module(void) __attribute__((alias(#initfn)));
 ^
>> drivers/tty/serial//8250/8250_core.c:1167:1: note: in expansion of macro 
>> 'module_init'
module_init(serial8250_init);
^
   include/linux/module.h:130:6: note: previous definition of 'init_module' was 
here
 int init_module(void) __attribute__((alias(#initfn)));
 ^
>> include/linux/module.h:123:31: note: in expansion of macro 'module_init'
#define console_initcall(fn)  module_init(fn)
  ^
>> drivers/tty/serial//8250/8250_core.c:687:1: note: in expansion of macro 
>> 'console_initcall'
console_initcall(univ8250_console_init);
^
--
>> drivers/tty/serial/pxa.c:966:1: warning: 'serial_pxa_init' is deprecated 
>> (declared at drivers/tty/serial/pxa.c:945) [-Wdeprecated-declarations]
module_init(serial_pxa_init);
^
--
   In file included from drivers/tty/serial/8250/8250_core.c:21:0:
>> include/linux/module.h:128:27: error: redefinition of '__inittest'
 static inline initcall_t __inittest(void)  \
  ^
   drivers/tty/serial/8250/8250_core.c:1167:1: note: in expansion of macro 
'module_init'
module_init(serial8250_init);
^
   include/linux/module.h:128:27: note: previous definition of '__inittest' was 
here
 static inline initcall_t __inittest(void)  \
  ^
>> include/linux/module.h:123:31: note: in expansion of macro 'module_init'
#define console_initcall(fn)  module_init(fn)
  ^
   drivers/tty/serial/8250/8250_core.c:687:1: note: in expansion of macro 
'console_initcall'
console_initcall(univ8250_console_init);
^
>> include/linux/module.h:130:6: error: redefinition of 'init_module'
 int init_module(void) __attribute__((alias(#initfn)));
 ^
   drivers/tty/serial/8250/8250_core.c:1167:1: note: in expansion of macro 
'module_init'
module_init(serial8250_init);
^
   include/linux/module.h:130:6: note: previous definition of 'init_module' was 
here
 int init_module(void) __attribute__((alias(#initfn)));
 ^
>> include/linux/module.h:123:31: note: in expansion of macro 'module_init'
#define console_initcall(fn)  module_init(fn)
  ^
   drivers/tty/serial/8250/8250_core.c:687:1: note: in expansion of macro 
'console_initcall'
console_initcall(univ8250_console_init);
^

vim +/__inittest +128 include/linux/module.h

0fd972a7 Paul Gortmaker 2015-05-01  117  #define rootfs_initcall(fn)
module_init(fn)
0fd972a7 Paul Gortmaker 2015-05-01  118  #define device_initcall(fn)
module_init(fn)
0fd972a7 Paul Gortmaker 2015-05-01  119  #define device_initcall_sync(fn)   
module_init(fn)
0fd972a7 Paul Gortmaker 2015-05-01  120  #define late_initcall(fn)  
module_init(fn)
0fd972a7 Paul Gortmaker 2015-05-01  121  #define late_initcall_sync(fn) 
module_init(fn)
0fd972a7 Paul Gortmaker 2015-05-01  122  
0fd972a7 Paul Gortmaker 2015-05-01 @123  #define console_initcall(fn)   
module_init(fn)
0fd972a7 Paul Gortmaker 2015-05-01  124  #define security_initcall(fn)  
module_init(fn)
0fd972a7 Paul Gortmaker 2015-05-01  125  
0fd972a7 Paul Gortmaker 2015-05-01  126  /* Each module must use one 
module_init(). */
0fd972a7 Paul Gortmaker 2015-05-01  127  #define 

Re: [RESEND PATCH] arm64: Store breakpoint single step state into pstate

2015-12-23 Thread kbuild test robot
Hi Wang,

[auto build test ERROR on arm64/for-next/core]
[also build test ERROR on v4.4-rc6 next-20151223]

url:
https://github.com/0day-ci/linux/commits/Wang-Nan/arm64-Store-breakpoint-single-step-state-into-pstate/20151223-165432
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux 
for-next/core
config: arm64-allnoconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   arch/arm64/kernel//irq.o: In function `signal_reinstall_single_step':
>> irq.c:(.text+0x0): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//fpsimd.o: In function `signal_reinstall_single_step':
   fpsimd.c:(.text+0x0): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//process.o: In function `signal_reinstall_single_step':
   process.c:(.text+0x0): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//ptrace.o: In function `signal_reinstall_single_step':
   ptrace.c:(.text+0x368): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//setup.o: In function `signal_reinstall_single_step':
   setup.c:(.text+0x0): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   aarch64-linux-gnu-ld: cannot find arch/arm64/kernel//signal.o: No such file 
or directory
   arch/arm64/kernel//sys.o: In function `signal_reinstall_single_step':
   sys.c:(.text+0x28): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//stacktrace.o: In function `signal_reinstall_single_step':
   stacktrace.c:(.text+0x0): multiple definition of 
`signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//time.o: In function `signal_reinstall_single_step':
   time.c:(.text+0x0): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//traps.o: In function `signal_reinstall_single_step':
   traps.c:(.text+0x2c0): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//io.o: In function `signal_reinstall_single_step':
   io.c:(.text+0x0): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//vdso.o: In function `signal_reinstall_single_step':
   vdso.c:(.text+0x0): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//psci.o: In function `signal_reinstall_single_step':
   psci.c:(.text+0x44): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//cpu_ops.o: In function `signal_reinstall_single_step':
   cpu_ops.c:(.text+0x0): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//insn.o: In function `signal_reinstall_single_step':
   insn.c:(.text+0x250): multiple definition of `signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//return_address.o: In function 
`signal_reinstall_single_step':
   return_address.c:(.text+0x90): multiple definition of 
`signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//cpuinfo.o: In function `signal_reinstall_single_step':
   cpuinfo.c:(.text+0x3dc): multiple definition of 
`signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//cpu_errata.o: In function `signal_reinstall_single_step':
   cpu_errata.c:(.text+0x0): multiple definition of 
`signal_reinstall_single_step'
   arch/arm64/kernel//debug-monitors.o:debug-monitors.c:(.text+0x2b4): first 
defined here
   arch/arm64/kernel//cpufeature.o: In function 

Re: [PATCH 1/2] PCI: Add mechanism to find topologically near cores

2015-12-23 Thread kbuild test robot
Hi Daniel,

[auto build test WARNING on pci/next]
[also build test WARNING on v4.4-rc6 next-20151223]

url:
https://github.com/0day-ci/linux/commits/Daniel-J-Blueman/PCI-Add-mechanism-to-find-topologically-near-cores/20151223-181947
base:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: s390-allyesconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=s390 

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.

All warnings (new ones prefixed by >>):

   In file included from include/linux/smp.h:12:0,
from arch/s390/include/asm/spinlock.h:12,
from include/linux/spinlock.h:87,
from include/linux/rcupdate.h:38,
from include/linux/idr.h:18,
from include/linux/kernfs.h:14,
from include/linux/sysfs.h:15,
from include/linux/kobject.h:21,
from include/linux/of.h:21,
from drivers/pci/pci.c:13:
   drivers/pci/pci.c: In function 'cpu_near_dev':
>> include/linux/cpumask.h:174:9: warning: array subscript is below array 
>> bounds [-Warray-bounds]
 return find_first_bit(cpumask_bits(srcp), nr_cpumask_bits);
^

vim +174 include/linux/cpumask.h

da91309e Amir Vadai   2014-06-09  158  
2d3854a3 Rusty Russell2008-11-05  159  #define for_each_cpu(cpu, mask)  
\
2d3854a3 Rusty Russell2008-11-05  160   for ((cpu) = 0; (cpu) < 1; 
(cpu)++, (void)mask)
8bd93a2c Paul E. McKenney 2010-02-22  161  #define for_each_cpu_not(cpu, mask)  
\
8bd93a2c Paul E. McKenney 2010-02-22  162   for ((cpu) = 0; (cpu) < 1; 
(cpu)++, (void)mask)
2d3854a3 Rusty Russell2008-11-05  163  #define for_each_cpu_and(cpu, mask, 
and) \
2d3854a3 Rusty Russell2008-11-05  164   for ((cpu) = 0; (cpu) < 1; 
(cpu)++, (void)mask, (void)and)
2d3854a3 Rusty Russell2008-11-05  165  #else
2d3854a3 Rusty Russell2008-11-05  166  /**
2d3854a3 Rusty Russell2008-11-05  167   * cpumask_first - get the first cpu 
in a cpumask
2d3854a3 Rusty Russell2008-11-05  168   * @srcp: the cpumask pointer
2d3854a3 Rusty Russell2008-11-05  169   *
2d3854a3 Rusty Russell2008-11-05  170   * Returns >= nr_cpu_ids if no cpus 
set.
2d3854a3 Rusty Russell2008-11-05  171   */
2d3854a3 Rusty Russell2008-11-05  172  static inline unsigned int 
cpumask_first(const struct cpumask *srcp)
2d3854a3 Rusty Russell2008-11-05  173  {
2d3854a3 Rusty Russell2008-11-05 @174   return 
find_first_bit(cpumask_bits(srcp), nr_cpumask_bits);
2d3854a3 Rusty Russell2008-11-05  175  }
2d3854a3 Rusty Russell2008-11-05  176  
2d3854a3 Rusty Russell2008-11-05  177  /**
2d3854a3 Rusty Russell2008-11-05  178   * cpumask_next - get the next cpu 
in a cpumask
2d3854a3 Rusty Russell2008-11-05  179   * @n: the cpu prior to the place to 
search (ie. return will be > @n)
2d3854a3 Rusty Russell2008-11-05  180   * @srcp: the cpumask pointer
2d3854a3 Rusty Russell2008-11-05  181   *
2d3854a3 Rusty Russell2008-11-05  182   * Returns >= nr_cpu_ids if no 
further cpus set.

:: The code at line 174 was first introduced by commit
:: 2d3854a37e8b767a51aba38ed6d22817b0631e33 cpumask: introduce new API, 
without changing anything

:: TO: Rusty Russell 
:: CC: Ingo Molnar 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 2/2] ixgbe: Use core to device locality interface

2015-12-23 Thread kbuild test robot
Hi Daniel,

[auto build test ERROR on pci/next]
[also build test ERROR on v4.4-rc6 next-20151223]

url:
https://github.com/0day-ci/linux/commits/Daniel-J-Blueman/PCI-Add-mechanism-to-find-topologically-near-cores/20151223-181947
base:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: i386-randconfig-a0-1034 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

>> ERROR: "cpu_near_dev" [drivers/net/ethernet/intel/ixgbe/ixgbe.ko] undefined!

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v3 1/2] crypto: KEYS: convert public key to the akcipher api

2015-12-23 Thread kbuild test robot
Hi Tadeusz,

[auto build test ERROR on cryptodev/master]
[also build test ERROR on v4.4-rc6 next-20151223]

url:
https://github.com/0day-ci/linux/commits/Tadeusz-Struk/crypto-KEYS-convert-public-key-to-akcipher-api/20151223-132001
base:   
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: xtensa-allyesconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa 

Note: the 
linux-review/Tadeusz-Struk/crypto-KEYS-convert-public-key-to-akcipher-api/20151223-132001
 HEAD 06fa55a0feec438fdc649cdac682af7ab99f8099 builds fine.
  It only hurts bisectibility.

All errors (new ones prefixed by >>):

   security/integrity/digsig_asymmetric.c: In function 'asymmetric_verify':
>> security/integrity/digsig_asymmetric.c:95:5: error: 'struct 
>> public_key_signature' has no member named 'nr_mpi'
 pks.nr_mpi = 1;
^
>> security/integrity/digsig_asymmetric.c:96:5: error: 'struct 
>> public_key_signature' has no member named 'rsa'
 pks.rsa.s = mpi_read_raw_data(hdr->sig, siglen);
^
>> security/integrity/digsig_asymmetric.c:96:2: error: implicit declaration of 
>> function 'mpi_read_raw_data' [-Werror=implicit-function-declaration]
 pks.rsa.s = mpi_read_raw_data(hdr->sig, siglen);
 ^
   security/integrity/digsig_asymmetric.c:98:9: error: 'struct 
public_key_signature' has no member named 'rsa'
 if (pks.rsa.s)
^
>> security/integrity/digsig_asymmetric.c:101:2: error: implicit declaration of 
>> function 'mpi_free' [-Werror=implicit-function-declaration]
 mpi_free(pks.rsa.s);
 ^
   security/integrity/digsig_asymmetric.c:101:14: error: 'struct 
public_key_signature' has no member named 'rsa'
 mpi_free(pks.rsa.s);
 ^
   cc1: some warnings being treated as errors

vim +95 security/integrity/digsig_asymmetric.c

e0751257 Dmitry Kasatkin 2013-02-07   89  
e0751257 Dmitry Kasatkin 2013-02-07   90memset(, 0, sizeof(pks));
e0751257 Dmitry Kasatkin 2013-02-07   91  
e0751257 Dmitry Kasatkin 2013-02-07   92pks.pkey_hash_algo = 
hdr->hash_algo;
e0751257 Dmitry Kasatkin 2013-02-07   93pks.digest = (u8 *)data;
e0751257 Dmitry Kasatkin 2013-02-07   94pks.digest_size = datalen;
e0751257 Dmitry Kasatkin 2013-02-07  @95pks.nr_mpi = 1;
e0751257 Dmitry Kasatkin 2013-02-07  @96pks.rsa.s = 
mpi_read_raw_data(hdr->sig, siglen);
e0751257 Dmitry Kasatkin 2013-02-07   97  
e0751257 Dmitry Kasatkin 2013-02-07   98if (pks.rsa.s)
e0751257 Dmitry Kasatkin 2013-02-07   99ret = 
verify_signature(key, );
e0751257 Dmitry Kasatkin 2013-02-07  100  
e0751257 Dmitry Kasatkin 2013-02-07 @101mpi_free(pks.rsa.s);
e0751257 Dmitry Kasatkin 2013-02-07  102key_put(key);
e0751257 Dmitry Kasatkin 2013-02-07  103pr_debug("%s() = %d\n", 
__func__, ret);
e0751257 Dmitry Kasatkin 2013-02-07  104return ret;

:: The code at line 95 was first introduced by commit
:: e0751257a64ea10cca96ccb06522bfb10e36cb5b ima: digital signature 
verification using asymmetric keys

:: TO: Dmitry Kasatkin 
:: CC: Mimi Zohar 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v2 1/3] ACPI: amba bus probing support

2015-12-21 Thread kbuild test robot
Hi Graeme,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.4-rc6 next-20151221]

url:
https://github.com/0day-ci/linux/commits/Aleksey-Makarov/ACPI-amba-bus-probing-support/20151221-225448
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git 
linux-next
config: i386-randconfig-s1-201551 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/acpi/utils.o: In function `acpi_amba_init':
>> utils.c:(.text+0x39): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/nvs.o: In function `acpi_amba_init':
   nvs.c:(.text+0x0): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/wakeup.o: In function `acpi_amba_init':
   wakeup.c:(.text+0x0): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/sleep.o: In function `acpi_amba_init':
   sleep.c:(.text+0x89): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/device_sysfs.o: In function `acpi_amba_init':
   device_sysfs.c:(.text+0x584): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/device_pm.o: In function `acpi_amba_init':
   device_pm.c:(.text+0x1ed): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/bus.o: In function `acpi_amba_init':
   bus.c:(.text+0x514): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/glue.o: In function `acpi_amba_init':
   glue.c:(.text+0xd3): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/scan.o: In function `acpi_amba_init':
   scan.c:(.text+0x1f1): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/acpi_processor.o: In function `acpi_amba_init':
   acpi_processor.c:(.text+0x39a): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/processor_pdc.o: In function `acpi_amba_init':
   processor_pdc.c:(.text+0x0): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/ec.o: In function `acpi_amba_init':
   ec.c:(.text+0x15ad): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/pci_root.o: In function `acpi_amba_init':
   pci_root.c:(.text+0x689): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/pci_link.o: In function `acpi_amba_init':
   pci_link.c:(.text+0x5c4): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/acpi_lpss.o: In function `acpi_amba_init':
   acpi_lpss.c:(.text+0x0): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/acpi_apd.o: In function `acpi_amba_init':
   acpi_apd.c:(.text+0x8d): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/acpi_platform.o: In function `acpi_amba_init':
   acpi_platform.c:(.text+0x0): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/int340x_thermal.o: In function `acpi_amba_init':
   int340x_thermal.c:(.text+0x1b): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/power.o: In function `acpi_amba_init':
   power.c:(.text+0x2c5): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/event.o: In function `acpi_amba_init':
   event.c:(.text+0x0): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/sysfs.o: In function `acpi_amba_init':
   sysfs.c:(.text+0x623): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/property.o: In function `acpi_amba_init':
   property.c:(.text+0x618): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/acpi_cmos_rtc.o: In function `acpi_amba_init':
   acpi_cmos_rtc.c:(.text+0xde): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here
   drivers/acpi/debugfs.o: In function `acpi_amba_init':
   debugfs.c:(.text+0x0): multiple definition of `acpi_amba_init'
   drivers/acpi/osl.o:osl.c:(.text+0x176): first defined here

---

Re: [PATCH] serial: 8250: add gpio support to exar

2015-12-19 Thread kbuild test robot
Hi Sudip,

[auto build test WARNING on tty/tty-testing]
[also build test WARNING on next-20151218]
[cannot apply to v4.4-rc5]

url:
https://github.com/0day-ci/linux/commits/Sudip-Mukherjee/serial-8250-add-gpio-support-to-exar/20151219-161216
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git 
tty-testing
config: m32r-m32104ut_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m32r 

All warnings (new ones prefixed by >>):

   In file included from drivers/tty/serial/8250/8250_core.c:46:0:
>> drivers/tty/serial/8250/8250.h:226:17: warning: 'struct pci_dev' declared 
>> inside parameter list
 struct uart_8250_port *port)
^
>> drivers/tty/serial/8250/8250.h:226:17: warning: its scope is only this 
>> definition or declaration, which is probably not what you want
   drivers/tty/serial/8250/8250.h:231:13: warning: 'xr17v35x_gpio_exit' defined 
but not used [-Wunused-function]
static void xr17v35x_gpio_exit(struct uart_8250_port *port) { }
^

vim +226 drivers/tty/serial/8250/8250.h

   210  serial_out(up, 0x04, status);
   211  }
   212  return 1;
   213  }
   214  
   215  static inline int serial_index(struct uart_port *port)
   216  {
   217  return port->minor - 64;
   218  }
   219  
   220  #ifdef CONFIG_GPIOLIB
   221  int xr17v35x_gpio_init(struct pci_dev *dev,
   222 struct uart_8250_port *port);
   223  void xr17v35x_gpio_exit(struct uart_8250_port *port);
   224  #else
   225  static inline int xr17v35x_gpio_init(struct pci_dev *dev,
 > 226   struct uart_8250_port *port)
   227  {
   228  return 0;
   229  }
   230  
   231  static void xr17v35x_gpio_exit(struct uart_8250_port *port) { }
   232  #endif
   233  
   234  #if 0

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] serial: 8250: add gpio support to exar

2015-12-19 Thread kbuild test robot
Hi Sudip,

[auto build test ERROR on tty/tty-testing]
[also build test ERROR on next-20151218]
[cannot apply to v4.4-rc5]

url:
https://github.com/0day-ci/linux/commits/Sudip-Mukherjee/serial-8250-add-gpio-support-to-exar/20151219-161216
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git 
tty-testing
config: i386-randconfig-s1-201550 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/built-in.o: In function `pci_xr17v35x_exit':
>> 8250_pci.c:(.text+0x182f19): undefined reference to `xr17v35x_gpio_exit'
   drivers/built-in.o: In function `pci_xr17v35x_setup':
>> 8250_pci.c:(.text+0x183189): undefined reference to `xr17v35x_gpio_init'

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


arch/x86/xen/suspend.c:70:9: error: implicit declaration of function 'xen_pv_domain'

2015-12-20 Thread kbuild test robot
Hi Sasha,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   69c37a92ddbf79d9672230f21a04580d7ac2f4c3
commit: 71458cfc782eafe4b27656e078d379a34e472adf kernel: add support for gcc 5
date:   1 year, 2 months ago
config: x86_64-randconfig-x006-201551 (attached as .config)
reproduce:
git checkout 71458cfc782eafe4b27656e078d379a34e472adf
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   arch/x86/xen/suspend.c: In function 'xen_arch_pre_suspend':
>> arch/x86/xen/suspend.c:70:9: error: implicit declaration of function 
>> 'xen_pv_domain' [-Werror=implicit-function-declaration]
if (xen_pv_domain())
^
   cc1: some warnings being treated as errors

vim +/xen_pv_domain +70 arch/x86/xen/suspend.c

0e91398f Jeremy Fitzhardinge 2008-05-26  54 
pfn_to_mfn(xen_start_info->store_mfn);
0e91398f Jeremy Fitzhardinge 2008-05-26  55 
xen_start_info->console.domU.mfn =
0e91398f Jeremy Fitzhardinge 2008-05-26  56 
pfn_to_mfn(xen_start_info->console.domU.mfn);
0e91398f Jeremy Fitzhardinge 2008-05-26  57 } else {
0e91398f Jeremy Fitzhardinge 2008-05-26  58  #ifdef CONFIG_SMP
b78936e1 Mike Travis 2008-12-16  59 
BUG_ON(xen_cpu_initialized_map == NULL);
b78936e1 Mike Travis 2008-12-16  60 
cpumask_copy(xen_cpu_initialized_map, cpu_online_mask);
0e91398f Jeremy Fitzhardinge 2008-05-26  61  #endif
9c7a7942 Jeremy Fitzhardinge 2008-05-31  62 xen_vcpu_restore();
0e91398f Jeremy Fitzhardinge 2008-05-26  63 }
0e91398f Jeremy Fitzhardinge 2008-05-26  64  
aa8532c3 David Vrabel2014-05-08  65 xen_mm_unpin_all();
aa8532c3 David Vrabel2014-05-08  66  }
aa8532c3 David Vrabel2014-05-08  67  
aa8532c3 David Vrabel2014-05-08  68  void xen_arch_pre_suspend(void)
aa8532c3 David Vrabel2014-05-08  69  {
aa8532c3 David Vrabel2014-05-08 @70  if (xen_pv_domain())
aa8532c3 David Vrabel2014-05-08  71  xen_pv_pre_suspend();
aa8532c3 David Vrabel2014-05-08  72  }
aa8532c3 David Vrabel2014-05-08  73  
aa8532c3 David Vrabel2014-05-08  74  void xen_arch_post_suspend(int 
cancelled)
aa8532c3 David Vrabel2014-05-08  75  {
aa8532c3 David Vrabel2014-05-08  76  if (xen_pv_domain())
aa8532c3 David Vrabel2014-05-08  77  
xen_pv_post_suspend(cancelled);
aa8532c3 David Vrabel2014-05-08  78  else

:: The code at line 70 was first introduced by commit
:: aa8532c32216ae07c3813b9aeb774517878a7573 xen: refactor suspend pre/post 
hooks

:: TO: David Vrabel 
:: CC: David Vrabel 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] thermal: re-calculate k_po/k_pu when update sustainable power

2015-12-29 Thread kbuild test robot
Hi Leo,

[auto build test ERROR on thermal/next]
[also build test ERROR on v4.4-rc7 next-20151223]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Leo-Yan/thermal-re-calculate-k_po-k_pu-when-update-sustainable-power/20151230-141446
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next
config: x86_64-randconfig-x007-12291635 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/thermal/thermal_core.c:1007:33: sparse: no member 'kpo' in struct 
thermal_zone_params
   drivers/thermal/thermal_core.c:1008:33: sparse: no member 'kpu' in struct 
thermal_zone_params
   drivers/thermal/thermal_core.c: In function 'sustainable_power_store':
>> drivers/thermal/thermal_core.c:1007:26: error: 'struct thermal_zone_params' 
>> has no member named 'kpo'
 tz->tzp->k_po = (tz->tzp->kpo * sustainable_power) / old_val;
 ^
>> drivers/thermal/thermal_core.c:1008:26: error: 'struct thermal_zone_params' 
>> has no member named 'kpu'
 tz->tzp->k_pu = (tz->tzp->kpu * sustainable_power) / old_val;
 ^

vim +1007 drivers/thermal/thermal_core.c

  1001  return -EINVAL;
  1002  
  1003  old_val = tz->tzp->sustainable_power;
  1004  
  1005  tz->tzp->sustainable_power = sustainable_power;
  1006  
> 1007  tz->tzp->k_po = (tz->tzp->kpo * sustainable_power) / old_val;
> 1008  tz->tzp->k_pu = (tz->tzp->kpu * sustainable_power) / old_val;
  1009  return count;
  1010  }
  1011  static DEVICE_ATTR(sustainable_power, S_IWUSR | S_IRUGO, 
sustainable_power_show,

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH V3] net: emac: emac gigabit ethernet controller driver

2015-12-29 Thread kbuild test robot
Hi Gilad,

[auto build test WARNING on net/master]
[also build test WARNING on v4.4-rc7 next-20151223]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Gilad-Avidov/net-emac-emac-gigabit-ethernet-controller-driver/20151230-095104
config: ia64-allyesconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=ia64 

All warnings (new ones prefixed by >>):

   In file included from arch/ia64/include/asm/smp.h:20:0,
from include/linux/smp.h:59,
from include/linux/topology.h:33,
from include/linux/gfp.h:8,
from include/linux/slab.h:14,
from include/linux/textsearch.h:8,
from include/linux/skbuff.h:30,
from include/linux/tcp.h:21,
from drivers/net/ethernet/qualcomm/emac/emac-mac.c:16:
   drivers/net/ethernet/qualcomm/emac/emac-mac.c: In function 'emac_mac_up':
   arch/ia64/include/asm/io.h:394:30: warning: large integer implicitly 
truncated to unsigned type [-Woverflow]
#define writel(v,a) __writel((v), (a))
 ^
>> drivers/net/ethernet/qualcomm/emac/emac-mac.c:1090:2: note: in expansion of 
>> macro 'writel'
 writel(~DIS_INT, adpt->base + EMAC_INT_STATUS);
 ^

vim +/writel +1090 drivers/net/ethernet/qualcomm/emac/emac-mac.c

  1074  }
  1075  }
  1076  
  1077  ret = request_irq(irq->irq, emac_isr, 0, EMAC_MAC_IRQ_RES, irq);
  1078  if (ret) {
  1079  netdev_err(adpt->netdev,
  1080 "error:%d on request_irq(%d:%s flags:0)\n", 
ret,
  1081 irq->irq, EMAC_MAC_IRQ_RES);
  1082  goto err_request_irq;
  1083  }
  1084  
  1085  emac_mac_rx_descs_refill(adpt, >rx_q);
  1086  
  1087  napi_enable(>rx_q.napi);
  1088  
  1089  /* enable mac irq */
> 1090  writel(~DIS_INT, adpt->base + EMAC_INT_STATUS);
  1091  writel(adpt->irq.mask, adpt->base + EMAC_INT_MASK);
  1092  
  1093  netif_start_queue(netdev);
  1094  clear_bit(EMAC_STATUS_DOWN, >status);
  1095  
  1096  /* check link status */
  1097  set_bit(EMAC_STATUS_TASK_LSC_REQ, >status);
  1098  adpt->link_chk_timeout = jiffies + EMAC_TRY_LINK_TIMEOUT;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2015-12-29 Thread kbuild test robot
Hi Jiancheng,

[auto build test WARNING on v4.4-rc7]
[cannot apply to next-20151223]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:
https://github.com/0day-ci/linux/commits/Jiancheng-Xue/mtd-spi-nor-add-hisilicon-spi-nor-flash-controller-driver/20151230-104117
config: arm64-allmodconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64 

All warnings (new ones prefixed by >>):

   drivers/mtd/spi-nor/hisi-sfc.c: In function 'hisi_spi_nor_send_cmd':
>> drivers/mtd/spi-nor/hisi-sfc.c:239:9: warning: cast from pointer to integer 
>> of different size [-Wpointer-to-int-cast]
  reg = (u32)buf;
^
   drivers/mtd/spi-nor/hisi-sfc.c: In function 'hisi_spi_nor_erase':
>> drivers/mtd/spi-nor/hisi-sfc.c:376:6: warning: cast to pointer from integer 
>> of different size [-Wint-to-pointer-cast]
 (u8 *)(u32)offs, 0);
 ^

vim +239 drivers/mtd/spi-nor/hisi-sfc.c

   233  hisi_spi_nor_cmd_prepare(host, cmd, buf, _cfg);
   234  
   235  reg = FMC_CMD_CMD1(cmd);
   236  writel(reg, host->regbase + FMC_CMD);
   237  
   238  if (op_cfg & FMC_OP_ADDR_EN) {
 > 239  reg = (u32)buf;
   240  writel(reg, host->regbase + FMC_ADDRL);
   241  }
   242  
   243  reg = OP_CFG_FM_CS(priv->chipselect);
   244  if (op_cfg & FMC_OP_ADDR_EN)
   245  reg |= OP_CFG_ADDR_NUM(nor->addr_width);
   246  writel(reg, host->regbase + FMC_OP_CFG);
   247  
   248  reg = FMC_DATA_NUM_CNT(len);
   249  writel(reg, host->regbase + FMC_DATA_NUM);
   250  
   251  writel(0xff, host->regbase + FMC_INT_CLR);
   252  reg = op_cfg | FMC_OP_REG_OP_START;
   253  writel(reg, host->regbase + FMC_OP);
   254  wait_op_finish(host);
   255  
   256  return 0;
   257  }
   258  
   259  static int hisi_spi_nor_read_reg(struct spi_nor *nor, u8 opcode, u8 
*buf,
   260  int len)
   261  {
   262  struct hifmc_priv *priv = nor->priv;
   263  struct hifmc_host *host = priv->host;
   264  int ret;
   265  
   266  ret = hisi_spi_nor_send_cmd(nor, opcode, buf, len);
   267  if (ret)
   268  return ret;
   269  
   270  memcpy(buf, host->iobase, len);
   271  
   272  return ret;
   273  }
   274  
   275  static int hisi_spi_nor_write_reg(struct spi_nor *nor, u8 opcode,
   276  u8 *buf, int len)
   277  {
   278  struct hifmc_priv *priv = nor->priv;
   279  struct hifmc_host *host = priv->host;
   280  
   281  if (len)
   282  memcpy(host->iobase, buf, len);
   283  
   284  return hisi_spi_nor_send_cmd(nor, opcode, buf, len);
   285  }
   286  
   287  static void hisi_spi_nor_dma_transfer(struct spi_nor *nor, u32 
start_off,
   288  u32 dma_buf, u32 len, u8 op_type)
   289  {
   290  struct hifmc_priv *priv = nor->priv;
   291  struct hifmc_host *host = priv->host;
   292  u8 if_type = 0, dummy = 0;
   293  u8 w_cmd = 0, r_cmd = 0;
   294  u32 reg;
   295  
   296  writel(start_off, host->regbase + FMC_ADDRL);
   297  
   298  if (op_type == FMC_OP_READ) {
   299  if_type = get_if_type(nor->flash_read);
   300  dummy = nor->read_dummy >> 3;
   301  r_cmd = nor->read_opcode;
   302  } else
   303  w_cmd = nor->program_opcode;
   304  
   305  reg = OP_CFG_FM_CS(priv->chipselect)
   306  | OP_CFG_MEM_IF_TYPE(if_type)
   307  | OP_CFG_ADDR_NUM(nor->addr_width)
   308  | OP_CFG_DUMMY_NUM(dummy);
   309  writel(reg, host->regbase + FMC_OP_CFG);
   310  
   311  reg = FMC_DMA_LEN_SET(len);
   312  writel(reg, host->regbase + FMC_DMA_LEN);
   313  writel(dma_buf, host->regbase + FMC_DMA_SADDR_D0);
   314  
   315  reg = OP_CTRL_RD_OPCODE(r_cmd)
   316  | OP_CTRL_WR_OPCODE(w_cmd)
   317  | OP_CTRL_RW_OP(op_type)
   318  | OP_CTRL_DMA_OP_READY;
   319  writel(0xff, host->regbase + FMC_INT_CLR);
   320  writel(reg, host->regbase + FMC_OP_DMA);
   321  wait_op_finish(host);
   322  }
   323  
   324  static int hisi_spi_nor_read(struct spi_nor *nor, loff_t from, size_t 
len,
   325  size_t *retlen, u_char *read_buf)
   326  {
   327  struct hifmc_priv *priv = nor->priv;
   328  struct hifmc_host *host = priv->host;
   329  unsigned char *ptr = read_buf;
   330  int num;
   331  
   

Re: [PATCH 2/3] NTB: Add AMD NTB support in Kconfig and Makefile

2015-12-17 Thread kbuild test robot
Hi Xiangliang,

[auto build test WARNING on v4.4-rc5]
[also build test WARNING on next-20151217]

url:
https://github.com/0day-ci/linux/commits/Xiangliang-Yu/NTB-Add-AMD-PCI-Express-NTB-driver/20151217-113608
config: x86_64-randconfig-n0-12171710 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

   drivers/ntb/hw/amd/ntb_hw_amd.c:486:12: warning: 'amd_flush_peer_requests' 
defined but not used [-Wunused-function]
static int amd_flush_peer_requests(struct amd_ntb_dev *ndev)
   ^
   drivers/ntb/hw/amd/ntb_hw_amd.c:507:12: warning: 'amd_wakeup_peer_side' 
defined but not used [-Wunused-function]
static int amd_wakeup_peer_side(struct amd_ntb_dev *ndev)
   ^
   drivers/ntb/hw/amd/ntb_hw_amd.c: In function 'amd_ntb_mw_set_trans':
>> drivers/ntb/hw/amd/ntb_hw_amd.c:187:6: warning: 'limit' may be used 
>> uninitialized in this function [-Wmaybe-uninitialized]
  if (reg_val != limit) {
 ^

vim +/limit +187 drivers/ntb/hw/amd/ntb_hw_amd.c

a635755a Xiangliang Yu 2015-12-17  171  if (bar != 1) {
a635755a Xiangliang Yu 2015-12-17  172  /* Set the limit if 
supported */
a635755a Xiangliang Yu 2015-12-17  173  if (limit_reg)
a635755a Xiangliang Yu 2015-12-17  174  limit = 
base_addr + size;
a635755a Xiangliang Yu 2015-12-17  175  
a635755a Xiangliang Yu 2015-12-17  176  /* set and verify 
setting the translation address */
a635755a Xiangliang Yu 2015-12-17  177  iowrite64(addr, 
peer_mmio + xlat_reg);
a635755a Xiangliang Yu 2015-12-17  178  reg_val = 
ioread64(peer_mmio + xlat_reg);
a635755a Xiangliang Yu 2015-12-17  179  if (reg_val != addr) {
a635755a Xiangliang Yu 2015-12-17  180  iowrite64(0, 
peer_mmio + xlat_reg);
a635755a Xiangliang Yu 2015-12-17  181  return -EIO;
a635755a Xiangliang Yu 2015-12-17  182  }
a635755a Xiangliang Yu 2015-12-17  183  
a635755a Xiangliang Yu 2015-12-17  184  /* set and verify 
setting the limit */
a635755a Xiangliang Yu 2015-12-17  185  iowrite64(limit, mmio + 
limit_reg);
a635755a Xiangliang Yu 2015-12-17  186  reg_val = ioread64(mmio 
+ limit_reg);
a635755a Xiangliang Yu 2015-12-17 @187  if (reg_val != limit) {
a635755a Xiangliang Yu 2015-12-17  188  
iowrite64(base_addr, mmio + limit_reg);
a635755a Xiangliang Yu 2015-12-17  189  iowrite64(0, 
peer_mmio + xlat_reg);
a635755a Xiangliang Yu 2015-12-17  190  return -EIO;
a635755a Xiangliang Yu 2015-12-17  191  }
a635755a Xiangliang Yu 2015-12-17  192  } else {
a635755a Xiangliang Yu 2015-12-17  193  /* split bar addr range 
must all be 32 bit */
a635755a Xiangliang Yu 2015-12-17  194  if (addr & (~0ull << 
32))
a635755a Xiangliang Yu 2015-12-17  195  return -EINVAL;

:: The code at line 187 was first introduced by commit
:: a635755a710138a6f505cc7e62693741786fb19e NTB: Add AMD PCI-Express NTB 
driver

:: TO: Xiangliang Yu 
:: CC: 0day robot 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 2/2] pci: Update VPD size with correct length

2015-12-17 Thread kbuild test robot
Hi Hannes,

[auto build test WARNING on pci/next]
[also build test WARNING on v4.4-rc5 next-20151217]

url:
https://github.com/0day-ci/linux/commits/Hannes-Reinecke/pci-Update-VPD-definitions/20151217-160050
base:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

   lib/crc32.c:148: warning: No description found for parameter 'tab)[256]'
   lib/crc32.c:148: warning: Excess function parameter 'tab' description in 
'crc32_le_generic'
   lib/crc32.c:293: warning: No description found for parameter 'tab)[256]'
   lib/crc32.c:293: warning: Excess function parameter 'tab' description in 
'crc32_be_generic'
   lib/crc32.c:1: warning: no structured comments found
>> drivers/pci/access.c:486: warning: Excess function parameter 'old_size' 
>> description in 'pci_vpd_pci22_size'

vim +486 drivers/pci/access.c

   470  }
   471  
   472  static const struct pci_vpd_ops pci_vpd_f0_ops = {
   473  .read = pci_vpd_f0_read,
   474  .write = pci_vpd_f0_write,
   475  .release = pci_vpd_pci22_release,
   476  };
   477  
   478  /**
   479   * pci_vpd_size - determine actual size of Vital Product Data
   480   * @dev:pci device struct
   481   * @old_size:   current assumed size, also maximum allowed size
   482   *
   483   */
   484  static size_t
   485  pci_vpd_pci22_size(struct pci_dev *dev)
 > 486  {
   487  size_t off = 0;
   488  unsigned char header[1+2];  /* 1 byte tag, 2 bytes length */
   489  
   490  while (off < PCI_VPD_PCI22_SIZE &&
   491 pci_read_vpd(dev, off, 1, header) == 1) {
   492  unsigned char tag;
   493  
   494  if (header[0] & PCI_VPD_LRDT) {

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 3/3] NTB: Add flush_req and wakeup interface

2015-12-17 Thread kbuild test robot
Hi Xiangliang,

[auto build test WARNING on v4.4-rc5]
[also build test WARNING on next-20151217]

url:
https://github.com/0day-ci/linux/commits/Xiangliang-Yu/NTB-Add-AMD-PCI-Express-NTB-driver/20151217-113608
config: x86_64-randconfig-n0-12171710 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings

All warnings (new ones prefixed by >>):

   drivers/ntb/hw/amd/ntb_hw_amd.c: In function 'amd_ntb_mw_set_trans':
   drivers/ntb/hw/amd/ntb_hw_amd.c:189:6: warning: 'limit' may be used 
uninitialized in this function [-Wmaybe-uninitialized]
  if (reg_val != limit) {
 ^
   drivers/ntb/hw/amd/ntb_hw_amd.c: In function 'amd_ntb_wakeup_peer_side':
>> drivers/ntb/hw/amd/ntb_hw_amd.c:526:6: warning: 'reg' may be used 
>> uninitialized in this function [-Wmaybe-uninitialized]
 reg |= 0x1;
 ^
   drivers/ntb/hw/amd/ntb_hw_amd.c:518:6: note: 'reg' was declared here
 u32 reg;
 ^

vim +/reg +526 drivers/ntb/hw/amd/ntb_hw_amd.c

58a6d117 Xiangliang Yu 2015-12-17  510  return 
amd_flush_peer_requests(ndev);
58a6d117 Xiangliang Yu 2015-12-17  511  }
58a6d117 Xiangliang Yu 2015-12-17  512  
a635755a Xiangliang Yu 2015-12-17  513  /*
a635755a Xiangliang Yu 2015-12-17  514   * wake up the peer side
a635755a Xiangliang Yu 2015-12-17  515   */
a635755a Xiangliang Yu 2015-12-17  516  static int amd_wakeup_peer_side(struct 
amd_ntb_dev *ndev)
a635755a Xiangliang Yu 2015-12-17  517  {
a635755a Xiangliang Yu 2015-12-17  518  u32 reg;
a635755a Xiangliang Yu 2015-12-17  519  
a635755a Xiangliang Yu 2015-12-17  520  if (!amd_link_is_up(ndev)) {
a635755a Xiangliang Yu 2015-12-17  521  
dev_warn(ndev_dev(ndev), "link is down.\n");
a635755a Xiangliang Yu 2015-12-17  522  return -EINVAL;
a635755a Xiangliang Yu 2015-12-17  523  }
a635755a Xiangliang Yu 2015-12-17  524  
a635755a Xiangliang Yu 2015-12-17  525  NTB_READ_REG(PMSGTRIG);
a635755a Xiangliang Yu 2015-12-17 @526  reg |= 0x1;
a635755a Xiangliang Yu 2015-12-17  527  NTB_WRITE_REG(reg, PMSGTRIG);
a635755a Xiangliang Yu 2015-12-17  528  
a635755a Xiangliang Yu 2015-12-17  529  
wait_for_completion(>wakeup_cmpl);
a635755a Xiangliang Yu 2015-12-17  530  
a635755a Xiangliang Yu 2015-12-17  531  return 0;
a635755a Xiangliang Yu 2015-12-17  532  }
a635755a Xiangliang Yu 2015-12-17  533  
58a6d117 Xiangliang Yu 2015-12-17  534  static int 
amd_ntb_wakeup_peer_side(struct ntb_dev *ntb)

:: The code at line 526 was first introduced by commit
:: a635755a710138a6f505cc7e62693741786fb19e NTB: Add AMD PCI-Express NTB 
driver

:: TO: Xiangliang Yu 
:: CC: 0day robot 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 2/5] x86: test early command-line code

2015-12-17 Thread kbuild test robot
Hi Dave,

[auto build test ERROR on v4.4-rc5]
[also build test ERROR on next-20151217]
[cannot apply to tip/x86/core]

url:
https://github.com/0day-ci/linux/commits/Dave-Hansen/x86-pass-in-size-to-early-cmdline-parsing/20151218-060427
config: i386-allyesconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   arch/x86/kernel/check.c: In function 'test_early_cmdline':
>> arch/x86/kernel/check.c:170:19: error: storage class specified for parameter 
>> '__initcall_test_early_cmdline7'
late_initcall(test_early_cmdline);
  ^
   arch/x86/kernel/check.c:170:1: error: parameter 
'__initcall_test_early_cmdline7' is initialized
late_initcall(test_early_cmdline);
^
   arch/x86/kernel/check.c:170:1: warning: '__used__' attribute ignored 
[-Wattributes]
>> arch/x86/kernel/check.c:170:19: error: section attribute not allowed for 
>> '__initcall_test_early_cmdline7'
late_initcall(test_early_cmdline);
  ^
   arch/x86/kernel/check.c:170:152: error: expected declaration specifiers 
before ';' token
   arch/x86/kernel/check.c:169:5: error: old-style parameter declarations in 
prototyped function definition
int test_early_cmdline(void)
^
   arch/x86/kernel/check.c:170:152: error: expected '{' at end of input
   arch/x86/kernel/check.c:170:152: warning: control reaches end of non-void 
function [-Wreturn-type]

vim +/__initcall_test_early_cmdline7 +170 arch/x86/kernel/check.c

   164  return 0;
   165  }
   166  device_initcall(start_periodic_check_for_corruption);
   167  
   168  #ifdef CONFIG_X86_TEST_EARLY_CMDLINE
   169  int test_early_cmdline(void)
 > 170  late_initcall(test_early_cmdline);
   171  #endif /* CONFIG_X86_TEST_EARLY_CMDLINE */

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in NMI

2015-11-27 Thread kbuild test robot
Hi Petr,

[auto build test ERROR on: powerpc/next]
[also build test ERROR on: v4.4-rc2 next-20151127]
[cannot apply to: tip/x86/core]

url:
https://github.com/0day-ci/linux/commits/Petr-Mladek/Cleaning-printk-stuff-in-NMI-context/20151127-191620
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: i386-randconfig-s1-201547 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   In file included from arch/x86/include/asm/percpu.h:551:0,
from arch/x86/include/asm/current.h:5,
from arch/x86/include/asm/processor.h:15,
from arch/x86/include/asm/atomic.h:6,
from include/linux/atomic.h:4,
from include/linux/llist.h:58,
from include/linux/smp.h:14,
from kernel/printk/nmi.c:18:
   kernel/printk/printk.h: In function 'vprintk_func':
>> include/asm-generic/percpu.h:111:2: error: implicit declaration of function 
>> 'preempt_disable' [-Werror=implicit-function-declaration]
 preempt_disable();  \
 ^
>> include/asm-generic/percpu.h:305:31: note: in expansion of macro 
>> 'this_cpu_generic_read'
#define this_cpu_read_8(pcp)  this_cpu_generic_read(pcp)
  ^
>> include/linux/percpu-defs.h:311:23: note: in expansion of macro 
>> 'this_cpu_read_8'
 case 8: pscr_ret__ = stem##8(variable); break;   \
  ^
>> include/linux/percpu-defs.h:494:29: note: in expansion of macro 
>> '__pcpu_size_call_return'
#define this_cpu_read(pcp)  __pcpu_size_call_return(this_cpu_read_, pcp)
^
>> kernel/printk/printk.h:34:9: note: in expansion of macro 'this_cpu_read'
 return this_cpu_read(printk_func)(fmt, args);
^
>> include/asm-generic/percpu.h:113:2: error: implicit declaration of function 
>> 'preempt_enable' [-Werror=implicit-function-declaration]
 preempt_enable();  \
 ^
>> include/asm-generic/percpu.h:305:31: note: in expansion of macro 
>> 'this_cpu_generic_read'
#define this_cpu_read_8(pcp)  this_cpu_generic_read(pcp)
  ^
>> include/linux/percpu-defs.h:311:23: note: in expansion of macro 
>> 'this_cpu_read_8'
 case 8: pscr_ret__ = stem##8(variable); break;   \
  ^
>> include/linux/percpu-defs.h:494:29: note: in expansion of macro 
>> '__pcpu_size_call_return'
#define this_cpu_read(pcp)  __pcpu_size_call_return(this_cpu_read_, pcp)
^
>> kernel/printk/printk.h:34:9: note: in expansion of macro 'this_cpu_read'
 return this_cpu_read(printk_func)(fmt, args);
^
   kernel/printk/nmi.c: In function '__printk_nmi_flush':
>> kernel/printk/nmi.c:106:9: error: unknown type name 'raw_spinlock_t'
 static raw_spinlock_t read_lock =
^
>> kernel/printk/nmi.c:107:3: error: implicit declaration of function 
>> '__RAW_SPIN_LOCK_INITIALIZER' [-Werror=implicit-function-declaration]
  __RAW_SPIN_LOCK_INITIALIZER(read_lock);
  ^
>> kernel/printk/nmi.c:107:3: error: initializer element is not constant
>> kernel/printk/nmi.c:118:2: error: implicit declaration of function 
>> 'raw_spin_lock' [-Werror=implicit-function-declaration]
 raw_spin_lock(_lock);
 ^
>> kernel/printk/nmi.c:163:2: error: implicit declaration of function 
>> 'raw_spin_unlock' [-Werror=implicit-function-declaration]
 raw_spin_unlock(_lock);
 ^
   cc1: some warnings being treated as errors

vim +/preempt_disable +111 include/asm-generic/percpu.h

9c28278a24 Tejun Heo 2014-06-17  105(__ret);
\
9c28278a24 Tejun Heo 2014-06-17  106  })
9c28278a24 Tejun Heo 2014-06-17  107  
eba117889a Tejun Heo 2014-06-17  108  #define this_cpu_generic_read(pcp)
\
eba117889a Tejun Heo 2014-06-17  109  ({
\
eba117889a Tejun Heo 2014-06-17  110typeof(pcp) __ret;  
\
9c28278a24 Tejun Heo 2014-06-17 @111preempt_disable();  
\
eba117889a Tejun Heo 2014-06-17  112__ret = *this_cpu_ptr(&(pcp));  
\
9c28278a24 Tejun Heo 2014-06-17 @113preempt_enable();   
\
eba117889a Tejun Heo 2014-06-17  114__ret;  
\
9c28278a24 Tejun Heo 2014-06-17  115  })
9c28278a24 Tejun Heo 2014-06-17  116  
eba117889a Tejun Heo 2014-06-17  117  #define this_cpu_generic_to_op(pcp, val, 
op)  \
9c28278a24 Tejun Heo 2014-06-17  118  do {  
\
eba117889a Tejun Heo 2014-06-17  119

[linux-review:Petr-Mladek/Cleaning-printk-stuff-in-NMI-context/20151127-191620] bafdcb831ce105cb7ff2b9e11acfcf3764da11b9 BUILD DONE

2015-11-27 Thread kbuild test robot
https://github.com/0day-ci/linux  
Petr-Mladek/Cleaning-printk-stuff-in-NMI-context/20151127-191620
bafdcb831ce105cb7ff2b9e11acfcf3764da11b9  printk/nmi: Increase the size of the 
temporary buffer

include/asm-generic/percpu.h:111:2: error: implicit declaration of function 
'preempt_disable' [-Werror=implicit-function-declaration]
include/asm-generic/percpu.h:113:2: error: implicit declaration of function 
'preempt_enable' [-Werror=implicit-function-declaration]
include/asm-generic/percpu.h:305:31: note: in expansion of macro 
'this_cpu_generic_read'
include/linux/percpu-defs.h:101:9: note: in expansion of macro '__PCPU_ATTRS'
include/linux/percpu-defs.h:113:38: error: expected ')' before string constant
include/linux/percpu-defs.h:223:26: error: implicit declaration of function 
'per_cpu_offset' [-Werror=implicit-function-declaration]
include/linux/percpu-defs.h:223:2: note: in expansion of macro 
'SHIFT_PERCPU_PTR'
include/linux/percpu-defs.h:229:2: error: implicit declaration of function 
'arch_raw_cpu_ptr' [-Werror=implicit-function-declaration]
include/linux/percpu-defs.h:239:27: note: in expansion of macro 'raw_cpu_ptr'
include/linux/percpu-defs.h:252:27: note: in expansion of macro 'raw_cpu_ptr'
include/linux/percpu-defs.h:304:1: error: called object is not a function or 
function pointer
include/linux/percpu-defs.h:311:23: note: in expansion of macro 
'this_cpu_read_8'
include/linux/percpu-defs.h:49:34: error: 'PER_CPU_BASE_SECTION' undeclared 
here (not in a function)
include/linux/percpu-defs.h:494:29: note: in expansion of macro 
'__pcpu_size_call_return'
include/linux/percpu-defs.h:494:53: error: implicit declaration of function 
'this_cpu_read_1' [-Werror=implicit-function-declaration]
include/linux/percpu-defs.h:494:53: error: implicit declaration of function 
'this_cpu_read_2' [-Werror=implicit-function-declaration]
include/linux/percpu-defs.h:494:53: error: implicit declaration of function 
'this_cpu_read_4' [-Werror=implicit-function-declaration]
include/linux/percpu-defs.h:494:53: error: implicit declaration of function 
'this_cpu_read_8' [-Werror=implicit-function-declaration]
include/linux/percpu-defs.h:495:51: error: implicit declaration of function 
'this_cpu_write_1' [-Werror=implicit-function-declaration]
include/linux/percpu-defs.h:495:51: error: implicit declaration of function 
'this_cpu_write_2' [-Werror=implicit-function-declaration]
include/linux/percpu-defs.h:495:51: error: implicit declaration of function 
'this_cpu_write_4' [-Werror=implicit-function-declaration]
include/linux/percpu-defs.h:495:51: error: implicit declaration of function 
'this_cpu_write_8' [-Werror=implicit-function-declaration]
include/linux/percpu-defs.h:49:59: error: expected identifier or '(' before ')' 
token
kernel/printk/nmi.c:106:9: error: unknown type name 'raw_spinlock_t'
kernel/printk/nmi.c:107:3: error: implicit declaration of function 
'__RAW_SPIN_LOCK_INITIALIZER' [-Werror=implicit-function-declaration]
kernel/printk/nmi.c:107:3: error: initializer element is not constant
kernel/printk/nmi.c:113:2: error: unknown type name 'raw_spinlock_t'
kernel/printk/nmi.c:113:9: error: unknown type name 'raw_spinlock_t'
kernel/printk/nmi.c:114:3: error: implicit declaration of function 
'__RAW_SPIN_LOCK_INITIALIZER'
kernel/printk/nmi.c:114:3: error: implicit declaration of function 
'__RAW_SPIN_LOCK_INITIALIZER' [-Werror=implicit-function-declaration]
kernel/printk/nmi.c:114:3: error: initializer element is not constant
kernel/printk/nmi.c:114: error: implicit declaration of function 
'__RAW_SPIN_LOCK_INITIALIZER'
kernel/printk/nmi.c:118:2: error: implicit declaration of function 
'raw_spin_lock' [-Werror=implicit-function-declaration]
kernel/printk/nmi.c:125:2: error: implicit declaration of function 
'raw_spin_lock'
kernel/printk/nmi.c:125:2: error: implicit declaration of function 
'raw_spin_lock' [-Werror=implicit-function-declaration]
kernel/printk/nmi.c:125: error: implicit declaration of function 'raw_spin_lock'
kernel/printk/nmi.c:163:2: error: implicit declaration of function 
'raw_spin_unlock' [-Werror=implicit-function-declaration]
kernel/printk/nmi.c:170:2: error: implicit declaration of function 
'raw_spin_unlock'
kernel/printk/nmi.c:170:2: error: implicit declaration of function 
'raw_spin_unlock' [-Werror=implicit-function-declaration]
kernel/printk/nmi.c:170: error: implicit declaration of function 
'raw_spin_unlock'
kernel/printk/nmi.c:178:23: note: in expansion of macro 'per_cpu'
kernel/printk/nmi.c:178:3: error: implicit declaration of function 
'per_cpu_offset' [-Werror=implicit-function-declaration]
kernel/printk/nmi.c:185:23: note: in expansion of macro 'per_cpu'
kernel/printk/nmi.c:194:17: error: 'printk_func' undeclared (first use in this 
function)
kernel/printk/nmi.c:194:2: note: in expansion of macro 'this_cpu_write'
kernel/printk/nmi.c:212:18: error: 'printk_func' undeclared (first use in this 
function)
kernel/printk/nmi.c:212:3: error: 'printk_func' undeclared (first use in 

Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in NMI

2015-11-27 Thread kbuild test robot
Hi Petr,

[auto build test WARNING on powerpc/next]
[also build test WARNING on v4.4-rc2 next-20151127]
[cannot apply to tip/x86/core]

url:
https://github.com/0day-ci/linux/commits/Petr-Mladek/Cleaning-printk-stuff-in-NMI-context/20151127-191620
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: mn10300-asb2364_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=mn10300 

All warnings (new ones prefixed by >>):

warning: (MN10300) selects HAVE_NMI_WATCHDOG which has unmet direct 
dependencies (HAVE_NMI)

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v5 1/4] firmware: introduce sysfs driver for QEMU's fw_cfg device

2015-11-23 Thread kbuild test robot
Hi Gabriel,

[auto build test WARNING on v4.4-rc2]
[also build test WARNING on next-20151123]
[cannot apply to robh/for-next]

url:
https://github.com/0day-ci/linux/commits/Gabriel-L-Somlo/SysFS-driver-for-QEMU-fw_cfg-device/20151124-000402
config: arm-allyesconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All warnings (new ones prefixed by >>):

   drivers/firmware/qemu_fw_cfg.c: In function 'fw_cfg_cmdline_set':
>> drivers/firmware/qemu_fw_cfg.c:510:7: warning: format '%lli' expects 
>> argument of type 'long long int *', but argument 3 has type 'phys_addr_t *' 
>> [-Wformat=]
  _off, _off, );
  ^
>> drivers/firmware/qemu_fw_cfg.c:510:7: warning: format '%lli' expects 
>> argument of type 'long long int *', but argument 5 has type 'resource_size_t 
>> *' [-Wformat=]
   drivers/firmware/qemu_fw_cfg.c:510:7: warning: format '%lli' expects 
argument of type 'long long int *', but argument 6 has type 'resource_size_t *' 
[-Wformat=]
   drivers/firmware/qemu_fw_cfg.c: In function 'fw_cfg_cmdline_get':
>> drivers/firmware/qemu_fw_cfg.c:563:5: warning: format '%llx' expects 
>> argument of type 'long long unsigned int', but argument 4 has type 
>> 'resource_size_t' [-Wformat=]
fw_cfg_cmdline_dev->resource[0].start);
^
   drivers/firmware/qemu_fw_cfg.c:563:5: warning: format '%llx' expects 
argument of type 'long long unsigned int', but argument 5 has type 
'resource_size_t' [-Wformat=]
   drivers/firmware/qemu_fw_cfg.c:569:5: warning: format '%llx' expects 
argument of type 'long long unsigned int', but argument 4 has type 
'resource_size_t' [-Wformat=]
fw_cfg_cmdline_dev->resource[2].start);
^
   drivers/firmware/qemu_fw_cfg.c:569:5: warning: format '%llx' expects 
argument of type 'long long unsigned int', but argument 5 has type 
'resource_size_t' [-Wformat=]
>> drivers/firmware/qemu_fw_cfg.c:569:5: warning: format '%llu' expects 
>> argument of type 'long long unsigned int', but argument 6 has type 
>> 'resource_size_t' [-Wformat=]
   drivers/firmware/qemu_fw_cfg.c:569:5: warning: format '%llu' expects 
argument of type 'long long unsigned int', but argument 7 has type 
'resource_size_t' [-Wformat=]

vim +510 drivers/firmware/qemu_fw_cfg.c

   504  /* consume "" portion of command line argument */
   505  size = memparse(arg, );
   506  
   507  /* get "@[::]" chunks */
   508  processed = sscanf(str, "@%lli%n:%lli:%lli%n",
   509 , ,
 > 510 _off, _off, );
   511  
   512  /* sscanf() must process precisely 1 or 3 chunks:
   513   *  is mandatory, optionally followed by 
   514   * and ;
   515   * there must be no extra characters after the last chunk,
   516   * so str[consumed] must be '\0'.
   517   */
   518  if (str[consumed] ||
   519  (processed != 1 && processed != 3))
   520  return -EINVAL;
   521  
   522  res[0].start = base;
   523  res[0].end = base + size - 1;
   524  res[0].flags = !strcmp(kp->name, "mmio") ? IORESOURCE_MEM :
   525 IORESOURCE_IO;
   526  
   527  /* insert register offsets, if provided */
   528  if (processed > 1) {
   529  res[1].name = "ctrl";
   530  res[1].start = ctrl_off;
   531  res[1].flags = IORESOURCE_REG;
   532  res[2].name = "data";
   533  res[2].start = data_off;
   534  res[2].flags = IORESOURCE_REG;
   535  }
   536  
   537  /* "processed" happens to nicely match the number of resources
   538   * we need to pass in to this platform device.
   539   */
   540  fw_cfg_cmdline_dev = platform_device_register_simple("fw_cfg",
   541  PLATFORM_DEVID_NONE, res, 
processed);
   542  if (IS_ERR(fw_cfg_cmdline_dev))
   543  return PTR_ERR(fw_cfg_cmdline_dev);
   544  
   545  return 0;
   546  }
   547  
   548  static int fw_cfg_cmdline_get(char *buf, const struct kernel_param *kp)
   549  {
   550  /* stay silent if device was not configured via the command
   551   * line, or if the parameter name (ioport/mmio) doesn't match
   552   * the device setting
   553   */
   554  if (!fw_cfg_cmdline_dev ||
   555  (!strcmp(kp->name, "mmio") ^
   556   (fw_cfg_cmdline_dev->resource[0].flags == IORESOURCE_MEM)))
   557  return 0;
   558  
   559  switch (fw_cfg_cmdline_dev->num_resources) {
   560  case 1:
   561  

Re: [PATCH] sparc64/gup: check address scope legitimacy

2015-11-25 Thread kbuild test robot
Hi Yang,

[auto build test ERROR on v4.4-rc2]
[also build test ERROR on next-20151124]

url:
https://github.com/0day-ci/linux/commits/Yang-Shi/sparc64-gup-check-address-scope-legitimacy/20151126-065342
config: sparc64-allnoconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64 

All errors (new ones prefixed by >>):

   arch/sparc/mm/gup.c: In function 'get_user_pages_fast':
>> arch/sparc/mm/gup.c:210:3: error: label 'slow_irqon' used but not defined
  goto slow_irqon;
  ^

vim +/slow_irqon +210 arch/sparc/mm/gup.c

   204  
   205  start &= PAGE_MASK;
   206  addr = start;
   207  len = (unsigned long) nr_pages << PAGE_SHIFT;
   208  end = start + len;
   209  if (end < start)
 > 210  goto slow_irqon;
   211  
   212  /*
   213   * XXX: batch / limit 'nr', to avoid large irq off latency

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 10/10] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

2015-11-25 Thread kbuild test robot
Hi Andrew,

[auto build test WARNING on input/next]
[cannot apply to v4.4-rc2 next-20151124]

url:
https://github.com/0day-ci/linux/commits/Andrew-Duggan/Input-synaptics-rmi4-Synaptics-RMI4-Driver-rebased-on-4-3/20151126-081351
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> drivers/hid/hid-rmi.c:500:36: sparse: symbol 'rmi_hid_2d_sensor_data' was 
>> not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 10/10] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

2015-11-25 Thread kbuild test robot
Hi Andrew,

[auto build test ERROR on input/next]
[cannot apply to v4.4-rc2 next-20151124]

url:
https://github.com/0day-ci/linux/commits/Andrew-Duggan/Input-synaptics-rmi4-Synaptics-RMI4-Driver-rebased-on-4-3/20151126-081351
base:   https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next
config: i386-randconfig-n0-201547 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

>> ERROR: "rmi_register_transport_device" [drivers/hid/hid-rmi.ko] undefined!
>> ERROR: "rmi_process_interrupt_requests" [drivers/hid/hid-rmi.ko] undefined!
>> ERROR: "rmi_unregister_transport_device" [drivers/hid/hid-rmi.ko] undefined!

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


[RFC PATCH] HID: rmi: rmi_hid_2d_sensor_data can be static

2015-11-25 Thread kbuild test robot

Signed-off-by: Fengguang Wu 
---
 hid-rmi.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/hid-rmi.c b/drivers/hid/hid-rmi.c
index 81472c9..832c77d 100644
--- a/drivers/hid/hid-rmi.c
+++ b/drivers/hid/hid-rmi.c
@@ -497,7 +497,7 @@ static int rmi_check_valid_report_id(struct hid_device 
*hdev, unsigned type,
return 0;
 }
 
-struct rmi_2d_sensor_platform_data rmi_hid_2d_sensor_data = {
+static struct rmi_2d_sensor_platform_data rmi_hid_2d_sensor_data = {
.sensor_type = rmi_sensor_touchpad,
.axis_align.flip_y = true,
.kernel_tracking = true,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH 4/4] cfq-iosched: Allow parent cgroup to preempt its child

2015-11-25 Thread kbuild test robot
Hi Jan,

[auto build test ERROR on block/for-next]
[also build test ERROR on v4.4-rc2 next-20151124]

url:
https://github.com/0day-ci/linux/commits/Jan-Kara/SYNC_NOIDLE-preemption-for-ancestor-cgroups/20151125-222645
base:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git 
for-next
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

>> ERROR: "cgroup_is_descendant" undefined!

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v2] ARM: davinci: fix a problematic usage of WARN()

2015-11-25 Thread kbuild test robot
Hi Geliang,

[auto build test ERROR on arm-soc/for-next]
[also build test ERROR on v4.4-rc2 next-20151124]

url:
https://github.com/0day-ci/linux/commits/Geliang-Tang/ARM-davinci-fix-a-problematic-usage-of-WARN/20151125-221653
base:   https://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git for-next
config: arm-davinci_all_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

   In file included from arch/arm/include/asm/bug.h:62:0,
from arch/arm/include/asm/div64.h:63,
from include/linux/kernel.h:136,
from arch/arm/mach-davinci/board-dm355-evm.c:11:
   arch/arm/mach-davinci/board-dm355-evm.c: In function 'dm355_evm_init':
>> include/asm-generic/bug.h:74:72: error: expected expression before ')' token
#define __WARN_printf(arg...) warn_slowpath_fmt(__FILE__, __LINE__, arg)
   ^
   include/asm-generic/bug.h:97:3: note: in expansion of macro '__WARN_printf'
  __WARN_printf(format); \
  ^
>> arch/arm/mach-davinci/board-dm355-evm.c:387:7: note: in expansion of macro 
>> 'WARN'
 if (!WARN(IS_ERR(aemif)), "unable to get AEMIF clock\n"))
  ^
   arch/arm/mach-davinci/board-dm355-evm.c:387:6: warning: value computed is 
not used [-Wunused-value]
 if (!WARN(IS_ERR(aemif)), "unable to get AEMIF clock\n"))
 ^
>> arch/arm/mach-davinci/board-dm355-evm.c:387:58: error: expected statement 
>> before ')' token
 if (!WARN(IS_ERR(aemif)), "unable to get AEMIF clock\n"))
 ^
--
   In file included from arch/arm/include/asm/bug.h:62:0,
from arch/arm/include/asm/div64.h:63,
from include/linux/kernel.h:136,
from arch/arm/mach-davinci/board-dm355-leopard.c:10:
   arch/arm/mach-davinci/board-dm355-leopard.c: In function 
'dm355_leopard_init':
>> include/asm-generic/bug.h:74:72: error: expected expression before ')' token
#define __WARN_printf(arg...) warn_slowpath_fmt(__FILE__, __LINE__, arg)
   ^
   include/asm-generic/bug.h:97:3: note: in expansion of macro '__WARN_printf'
  __WARN_printf(format); \
  ^
>> arch/arm/mach-davinci/board-dm355-leopard.c:245:7: note: in expansion of 
>> macro 'WARN'
 if (!WARN(IS_ERR(aemif)), "unable to get AEMIF clock\n"))
  ^
   arch/arm/mach-davinci/board-dm355-leopard.c:245:6: warning: value computed 
is not used [-Wunused-value]
 if (!WARN(IS_ERR(aemif)), "unable to get AEMIF clock\n"))
 ^
>> arch/arm/mach-davinci/board-dm355-leopard.c:245:58: error: expected 
>> statement before ')' token
 if (!WARN(IS_ERR(aemif)), "unable to get AEMIF clock\n"))
 ^

vim +387 arch/arm/mach-davinci/board-dm355-evm.c

   381  
   382  gpio_request(1, "dm9000");
   383  gpio_direction_input(1);
   384  dm355evm_dm9000_rsrc[2].start = gpio_to_irq(1);
   385  
   386  aemif = clk_get(_dm9000.dev, "aemif");
 > 387  if (!WARN(IS_ERR(aemif)), "unable to get AEMIF clock\n"))
   388  clk_prepare_enable(aemif);
   389  
   390  platform_add_devices(davinci_evm_devices,

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 1/2] USB: constify usb_mon_operations structure

2015-11-28 Thread kbuild test robot
Hi Julia,

[auto build test ERROR on: v4.4-rc2]
[also build test ERROR on: next-20151127]

url:
https://github.com/0day-ci/linux/commits/Julia-Lawall/USB-constify-usb_mon_operations-structure/20151128-223726
config: xtensa-allyesconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa 

Note: the 
linux-review/Julia-Lawall/USB-constify-usb_mon_operations-structure/20151128-223726
 HEAD 97f84711238f9fbca0d4cf79fcec2f31ed33 builds fine.
  It only hurts bisectibility.

All error/warnings (new ones prefixed by >>):

>> drivers/usb/core/hcd.c:3003:28: error: conflicting types for 'mon_ops'
struct usb_mon_operations *mon_ops;
   ^
   In file included from drivers/usb/core/hcd.c:47:0:
   include/linux/usb/hcd.h:663:41: note: previous declaration of 'mon_ops' was 
here
extern const struct usb_mon_operations *mon_ops;
^
>> drivers/usb/core/hcd.c:3013:5: error: conflicting types for 
>> 'usb_mon_register'
int usb_mon_register (struct usb_mon_operations *ops)
^
   In file included from drivers/usb/core/hcd.c:47:0:
   include/linux/usb/hcd.h:685:5: note: previous declaration of 
'usb_mon_register' was here
int usb_mon_register(const struct usb_mon_operations *ops);
^
   In file included from include/linux/linkage.h:6:0,
from include/linux/kernel.h:6,
from include/linux/list.h:8,
from include/linux/module.h:9,
from drivers/usb/core/hcd.c:26:
   drivers/usb/core/hcd.c:3023:20: error: conflicting types for 
'usb_mon_register'
EXPORT_SYMBOL_GPL (usb_mon_register);
   ^
   include/linux/export.h:57:21: note: in definition of macro '__EXPORT_SYMBOL'
 extern typeof(sym) sym; \
^
>> drivers/usb/core/hcd.c:3023:1: note: in expansion of macro 
>> 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL (usb_mon_register);
^
   In file included from drivers/usb/core/hcd.c:47:0:
   include/linux/usb/hcd.h:685:5: note: previous declaration of 
'usb_mon_register' was here
int usb_mon_register(const struct usb_mon_operations *ops);
^

vim +/mon_ops +3003 drivers/usb/core/hcd.c

782e70c6 Greg Kroah-Hartman 2008-01-25  2997  
EXPORT_SYMBOL_GPL(usb_hcd_platform_shutdown);
64a21d02 Aleksey Gorelov2006-08-08  2998  
^1da177e Linus Torvalds 2005-04-16  2999  
/*-*/
^1da177e Linus Torvalds 2005-04-16  3000  
f150fa1a Pete Zaitcev   2008-11-13  3001  #if defined(CONFIG_USB_MON) || 
defined(CONFIG_USB_MON_MODULE)
^1da177e Linus Torvalds 2005-04-16  3002  
^1da177e Linus Torvalds 2005-04-16 @3003  struct usb_mon_operations 
*mon_ops;
^1da177e Linus Torvalds 2005-04-16  3004  
^1da177e Linus Torvalds 2005-04-16  3005  /*
^1da177e Linus Torvalds 2005-04-16  3006   * The registration is unlocked.
^1da177e Linus Torvalds 2005-04-16  3007   * We do it this way because we 
do not want to lock in hot paths.
^1da177e Linus Torvalds 2005-04-16  3008   *
^1da177e Linus Torvalds 2005-04-16  3009   * Notice that the code is 
minimally error-proof. Because usbmon needs
^1da177e Linus Torvalds 2005-04-16  3010   * symbols from usbcore, usbcore 
gets referenced and cannot be unloaded first.
^1da177e Linus Torvalds 2005-04-16  3011   */
^1da177e Linus Torvalds 2005-04-16  3012  
^1da177e Linus Torvalds 2005-04-16 @3013  int usb_mon_register (struct 
usb_mon_operations *ops)
^1da177e Linus Torvalds 2005-04-16  3014  {
^1da177e Linus Torvalds 2005-04-16  3015  
^1da177e Linus Torvalds 2005-04-16  3016if (mon_ops)
^1da177e Linus Torvalds 2005-04-16  3017return -EBUSY;
^1da177e Linus Torvalds 2005-04-16  3018  
^1da177e Linus Torvalds 2005-04-16  3019mon_ops = ops;
^1da177e Linus Torvalds 2005-04-16  3020mb();
^1da177e Linus Torvalds 2005-04-16  3021return 0;
^1da177e Linus Torvalds 2005-04-16  3022  }
^1da177e Linus Torvalds 2005-04-16 @3023  EXPORT_SYMBOL_GPL 
(usb_mon_register);
^1da177e Linus Torvalds 2005-04-16  3024  
^1da177e Linus Torvalds 2005-04-16  3025  void usb_mon_deregister (void)
^1da177e Linus Torvalds 2005-04-16  3026  {

:: The code at line 3003 was first introduced by commit
:: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:: TO: Linus Torvalds 
:: CC: Linus Torvalds 

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 3/4] gpio: pxa: change the interrupt management

2015-11-28 Thread kbuild test robot
Hi Robert,

[auto build test ERROR on: gpio/for-next]
[also build test ERROR on: v4.4-rc2 next-20151127]

url:
https://github.com/0day-ci/linux/commits/Robert-Jarzmik/gpio-pxa-integrate-with-pincontrol/20151129-054738
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git 
for-next
config: arm-pxa910_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   drivers/gpio/gpio-pxa.c: In function 'pxa_gpio_probe':
>> drivers/gpio/gpio-pxa.c:625:12: error: 'pxa_irq_domain_ops' undeclared 
>> (first use in this function)
   0, _irq_domain_ops, pchip);
   ^
   drivers/gpio/gpio-pxa.c:625:12: note: each undeclared identifier is reported 
only once for each function it appears in
   drivers/gpio/gpio-pxa.c: At top level:
   drivers/gpio/gpio-pxa.c:500:24: warning: 'pxa_muxed_gpio_chip' defined but 
not used [-Wunused-variable]
static struct irq_chip pxa_muxed_gpio_chip = {
   ^

vim +/pxa_irq_domain_ops +625 drivers/gpio/gpio-pxa.c

   619  
   620  if (!pxa_last_gpio)
   621  return -EINVAL;
   622  
   623  pchip->irqdomain = irq_domain_add_legacy(pdev->dev.of_node,
   624   pxa_last_gpio + 1, 
irq_base,
 > 625   0, 
 > _irq_domain_ops, pchip);
   626  if (IS_ERR(pchip->irqdomain))
   627  return PTR_ERR(pchip->irqdomain);
   628  

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')

2015-11-28 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   8003a573560ae96540bce2a698347c6d502e2997
commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation 
of a VDSO
date:   3 weeks ago
config: mips-allnoconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ebb5e78cc63417a35254a791de66e1cc84f963cc
# save the attached .config to linux build tree
make.cross ARCH=mips 

All errors (new ones prefixed by >>):

>> awk: scripts/ld-version.sh: line 4: regular expression compile failed 
>> (missing '(')
   .*)
--
>> awk: scripts/ld-version.sh: line 4: regular expression compile failed 
>> (missing '(')
   .*)
   /bin/sh: line 0: [: -gt: unary operator expected
   arch/mips/vdso/Makefile:30: MIPS VDSO requires binutils > 2.24

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v2] ath6kl: Use vmalloc for loading firmware using api1 method and use kvfree

2015-11-28 Thread kbuild test robot
Hi Brent,

[auto build test ERROR on: net-next/master]
[also build test ERROR on: v4.4-rc2 next-20151127]

url:
https://github.com/0day-ci/linux/commits/Brent-Taylor/ath6kl-Use-vmalloc-for-loading-firmware-using-api1-method-and-use-kvfree/20151129-132013
config: x86_64-randconfig-x012-201548 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/net/wireless/ath/ath6kl/init.c: In function 'ath6kl_get_fw':
>> drivers/net/wireless/ath/ath6kl/init.c:679:9: error: too few arguments to 
>> function 'kmalloc'
  *fw = kmalloc(fw_entry->size);
^
   In file included from include/linux/textsearch.h:8:0,
from include/linux/skbuff.h:30,
from include/linux/if_ether.h:23,
from include/linux/etherdevice.h:25,
from drivers/net/wireless/ath/ath6kl/core.h:21,
from drivers/net/wireless/ath/ath6kl/init.c:28:
   include/linux/slab.h:428:30: note: declared here
static __always_inline void *kmalloc(size_t size, gfp_t flags)
 ^

vim +/kmalloc +679 drivers/net/wireless/ath/ath6kl/init.c

   673  return ret;
   674  
   675  *fw_len = fw_entry->size;
   676  if (>fw == fw)
   677  *fw = vmalloc(fw_entry->size);
   678  else
 > 679  *fw = kmalloc(fw_entry->size);
   680  
   681  if (*fw == NULL)
   682  ret = -ENOMEM;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


undefined reference to `nf_conntrack_untracked'

2015-11-29 Thread kbuild test robot
Hi Pablo,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   8003a573560ae96540bce2a698347c6d502e2997
commit: bbde9fc1824aab58bc78c084163007dd6c03fe5b netfilter: factor out packet 
duplication for IPv4/IPv6
date:   4 months ago
config: x86_64-randconfig-s3-11292003 (attached as .config)
reproduce:
git checkout bbde9fc1824aab58bc78c084163007dd6c03fe5b
# save the attached .config to linux build tree
make ARCH=x86_64 

All errors (new ones prefixed by >>):

   net/built-in.o: In function `nf_dup_ipv4':
>> (.text+0x124cf4): undefined reference to `nf_conntrack_untracked'
   net/built-in.o: In function `nf_dup_ipv4':
   (.text+0x124d0d): undefined reference to `nf_conntrack_untracked'

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH 2/2] ALSA: compress: Pass id string to snd_compress_new

2015-11-25 Thread kbuild test robot
Hi Richard,

[auto build test ERROR on sound/for-next]
[also build test ERROR on v4.4-rc2 next-20151124]

url:
https://github.com/0day-ci/linux/commits/Richard-Fitzgerald/ALSA-compress-Add-procfs-info-file-for-compressed-nodes/20151125-175147
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
config: i386-randconfig-n0-201547 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386 

All errors (new ones prefixed by >>):

   sound/core/compress_offload.c: In function 'snd_compress_proc_done':
   sound/core/compress_offload.c:958:1: error: expected ';' before '}' token
}
^
   sound/core/compress_offload.c: In function 'snd_compress_new':
>> sound/core/compress_offload.c:994:17: error: 'struct snd_compr' has no 
>> member named 'id'
   strlcpy(compr->id, id, sizeof(compr->id));
^
   sound/core/compress_offload.c:994:39: error: 'struct snd_compr' has no 
member named 'id'
   strlcpy(compr->id, id, sizeof(compr->id));
  ^

vim +994 sound/core/compress_offload.c

   952  return 0;
   953  }
   954  
   955  static int snd_compress_proc_done(struct snd_compr *compr)
   956  {
   957  return 0
 > 958  }
   959  #endif
   960  
   961  static int snd_compress_dev_free(struct snd_device *device)
   962  {
   963  struct snd_compr *compr;
   964  
   965  compr = device->device_data;
   966  snd_compress_proc_done(compr);
   967  put_device(>dev);
   968  return 0;
   969  }
   970  
   971  /*
   972   * snd_compress_new: create new compress device
   973   * @card: sound card pointer
   974   * @device: device number
   975   * @dirn: device direction, should be of type enum snd_compr_direction
   976   * @compr: compress device pointer
   977   */
   978  int snd_compress_new(struct snd_card *card, int device,
   979  int dirn, const char *id, struct snd_compr 
*compr)
   980  {
   981  static struct snd_device_ops ops = {
   982  .dev_free = snd_compress_dev_free,
   983  .dev_register = snd_compress_dev_register,
   984  .dev_disconnect = snd_compress_dev_disconnect,
   985  };
   986  int ret;
   987  
   988  compr->card = card;
   989  compr->device = device;
   990  compr->direction = dirn;
   991  
   992  if (IS_ENABLED(CONFIG_SND_VERBOSE_PROCFS))
   993  if (id)
 > 994  strlcpy(compr->id, id, sizeof(compr->id));
   995  
   996  snd_device_initialize(>dev, card);
   997  dev_set_name(>dev, "comprC%iD%i", card->number, device);

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH v4 2/2] USB: quirks: Apply ALWAYS_POLL to all ELAN devices

2015-11-24 Thread kbuild test robot
Hi Adrien,

[auto build test WARNING on hid/for-next]
[also build test WARNING on v4.4-rc2 next-20151124]

url:
https://github.com/0day-ci/linux/commits/Adrien-Verg/Fixes-for-ELAN-touchscreens/20151124-230537
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-next
config: avr32-hammerhead_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=avr32 

All warnings (new ones prefixed by >>):

   drivers/hid/usbhid/hid-quirks.c: In function 'usbhid_exists_squirk':
>> drivers/hid/usbhid/hid-quirks.c:339: warning: comparison is always false due 
>> to limited range of data type

vim +339 drivers/hid/usbhid/hid-quirks.c

   323   * @idProduct: the 16-bit USB product ID, in native byteorder
   324   *
   325   * Description:
   326   * Given a USB vendor ID and product ID, return a pointer to
   327   * the hid_blacklist entry associated with that device.
   328   *
   329   * Returns: pointer if quirk found, or NULL if no quirks found.
   330   */
   331  static const struct hid_blacklist *usbhid_exists_squirk(const u16 
idVendor,
   332  const u16 idProduct)
   333  {
   334  const struct hid_blacklist *bl_entry = NULL;
   335  int n = 0;
   336  
   337  for (; hid_blacklist[n].idVendor; n++)
   338  if (hid_blacklist[n].idVendor == idVendor &&
 > 339  (hid_blacklist[n].idProduct == HID_ANY_ID ||
   340  hid_blacklist[n].idProduct == 
idProduct))
   341  bl_entry = _blacklist[n];
   342  
   343  if (bl_entry != NULL)
   344  dbg_hid("Found squirk 0x%x for USB HID vendor 0x%hx 
prod 0x%hx\n",
   345  bl_entry->quirks, bl_entry->idVendor, 
   346  bl_entry->idProduct);
   347  return bl_entry;

---
0-DAY kernel test infrastructureOpen Source Technology Center
https://lists.01.org/pipermail/kbuild-all   Intel Corporation


.config.gz
Description: Binary data


Re: [PATCH] vhost: replace % with & on data path

2015-11-30 Thread kbuild test robot
Hi Michael,

[auto build test ERROR on: v4.4-rc3]
[also build test ERROR on: next-20151127]

url:
https://github.com/0day-ci/linux/commits/Michael-S-Tsirkin/vhost-replace-with-on-data-path/20151130-163704
config: s390-performance_defconfig (attached as .config)
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=s390 

All errors (new ones prefixed by >>):

   drivers/vhost/vhost.c: In function 'vhost_get_vq_desc':
   drivers/vhost/vhost.c:1345:6: warning: unused variable 'ret' 
[-Wunused-variable]
 int ret;
 ^
   drivers/vhost/vhost.c:1344:13: warning: unused variable 'ring_head' 
[-Wunused-variable]
 __virtio16 ring_head;
^
   drivers/vhost/vhost.c:1341:24: warning: unused variable 'found' 
[-Wunused-variable]
 unsigned int i, head, found = 0;
   ^
   drivers/vhost/vhost.c:1341:18: warning: unused variable 'head' 
[-Wunused-variable]
 unsigned int i, head, found = 0;
 ^
   drivers/vhost/vhost.c:1341:15: warning: unused variable 'i' 
[-Wunused-variable]
 unsigned int i, head, found = 0;
  ^
   drivers/vhost/vhost.c:1340:20: warning: unused variable 'desc' 
[-Wunused-variable]
 struct vring_desc desc;
   ^
   drivers/vhost/vhost.c: At top level:
   drivers/vhost/vhost.c:1373:2: error: expected identifier or '(' before 'if'
 if (unlikely(__get_user(ring_head,
 ^
   In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/asm-generic/fcntl.h:4,
from arch/s390/include/uapi/asm/fcntl.h:1,
from include/uapi/linux/fcntl.h:4,
from include/linux/fcntl.h:4,
from include/linux/eventfd.h:11,
from drivers/vhost/vhost.c:14:
>> arch/s390/include/asm/uaccess.h:250:2: error: expected identifier or '(' 
>> before ')' token
})
 ^
   include/linux/compiler.h:166:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
 ^
   drivers/vhost/vhost.c:1373:15: note: in expansion of macro '__get_user'
 if (unlikely(__get_user(ring_head,
  ^
   drivers/vhost/vhost.c:1381:2: warning: data definition has no type or 
storage class
 head = vhost16_to_cpu(vq, ring_head);
 ^
   drivers/vhost/vhost.c:1381:2: error: type defaults to 'int' in declaration 
of 'head' [-Werror=implicit-int]
   drivers/vhost/vhost.c:1381:24: error: 'vq' undeclared here (not in a 
function)
 head = vhost16_to_cpu(vq, ring_head);
   ^
   drivers/vhost/vhost.c:1381:28: error: 'ring_head' undeclared here (not in a 
function)
 head = vhost16_to_cpu(vq, ring_head);
   ^
   drivers/vhost/vhost.c:1384:2: error: expected identifier or '(' before 'if'
 if (unlikely(head >= vq->num)) {
 ^
   drivers/vhost/vhost.c:1391:2: warning: data definition has no type or 
storage class
 *out_num = *in_num = 0;
 ^
   drivers/vhost/vhost.c:1391:3: error: type defaults to 'int' in declaration 
of 'out_num' [-Werror=implicit-int]
 *out_num = *in_num = 0;
  ^
   drivers/vhost/vhost.c:1391:14: error: 'in_num' undeclared here (not in a 
function)
 *out_num = *in_num = 0;
 ^
   drivers/vhost/vhost.c:1392:2: error: expected identifier or '(' before 'if'
 if (unlikely(log))
 ^
   drivers/vhost/vhost.c:1395:2: warning: data definition has no type or 
storage class
 i = head;
 ^
   drivers/vhost/vhost.c:1395:2: error: type defaults to 'int' in declaration 
of 'i' [-Werror=implicit-int]
   drivers/vhost/vhost.c:1395:2: error: initializer element is not constant
   drivers/vhost/vhost.c:1396:2: error: expected identifier or '(' before 'do'
 do {
 ^
   drivers/vhost/vhost.c:1454:4: error: expected identifier or '(' before 
'while'
 } while ((i = next_desc(vq, )) != -1);
   ^
   drivers/vhost/vhost.c:1457:4: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '->' token
 vq->last_avail_idx++;
   ^
   In file included from arch/s390/include/asm/bug.h:69:0,
from include/linux/bug.h:4,
from include/linux/thread_info.h:11,
from include/asm-generic/preempt.h:4,
from arch/s390/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/wait.h:8,
   

<    5   6   7   8   9   10   11   12   13   14   >