[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201712260938.HofjvFaV%fengguang.wu@intel.com>
Date: Tue, 26 Dec 2017 09:43:39 +0800
From: kbuild test robot <lkp@...el.com>
To: Marc CAPDEVILLE <m.capdeville@...log.org>
Cc: kbuild-all@...org, Kevin Tsai <ktsai@...ellamicro.com>,
Jonathan Cameron <jic23@...nel.org>,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Wolfram Sang <wsa@...-dreams.de>, linux-iio@...r.kernel.org,
linux-i2c@...r.kernel.org, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org,
Marc CAPDEVILLE <m.capdeville@...log.org>
Subject: Re: [PATCH v6 2/4] i2c-smbus : Add client discovered ARA support
Hi Marc,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on wsa/i2c/for-next]
[also build test WARNING on v4.15-rc5 next-20171222]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Marc-CAPDEVILLE/i2c-core-acpi-Add-i2c_acpi_set_connection/20171226-083729
base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/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 include/uapi/linux/posix_types.h:5:0,
from include/uapi/linux/types.h:14,
from include/linux/compiler.h:164,
from include/linux/ioport.h:13,
from include/linux/acpi.h:25,
from drivers//i2c/i2c-core-base.c:24:
include/linux/i2c-smbus.h: In function 'i2c_require_smbus_alert':
>> include/linux/stddef.h:8:14: warning: return makes integer from pointer without a cast [-Wint-conversion]
#define NULL ((void *)0)
^
>> include/linux/i2c-smbus.h:67:9: note: in expansion of macro 'NULL'
return NULL;
^~~~
include/linux/i2c-smbus.h: In function 'i2c_smbus_alert_event':
>> include/linux/stddef.h:8:14: warning: return makes integer from pointer without a cast [-Wint-conversion]
#define NULL ((void *)0)
^
include/linux/i2c-smbus.h:72:9: note: in expansion of macro 'NULL'
return NULL;
^~~~
vim +/NULL +67 include/linux/i2c-smbus.h
60
61 #if IS_ENABLED(CONFIG_I2C_SMBUS)
62 int i2c_require_smbus_alert(struct i2c_client *client);
63 int i2c_smbus_alert_event(struct i2c_client *client);
64 #else
65 static inline int i2c_require_smbus_alert(struct i2c_client *client)
66 {
> 67 return NULL;
68 }
69
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (18935 bytes)
Powered by blists - more mailing lists