From: kbuild test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Cc: kbuild-all-JC7UmRfGjtg@public.gmane.org, Kevin Tsai <ktsai-GubuWUlQtMwciDkP5Hr2oA@public.gmane.org>, Jonathan Cameron <jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Hartmut Knaack <knaack.h-Mmb7MZpHnFY@public.gmane.org>, Lars-Peter Clausen <lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org>, Peter Meerwald-Stadler <pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org>, Mika Westerberg <mika.westerberg-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>, Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>, linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Marc CAPDEVILLE <m.capdeville-n+LsquliYkMdnm+yROfE0A@public.gmane.org> Subject: Re: [PATCH v6 2/4] i2c-smbus : Add client discovered ARA support Date: Tue, 26 Dec 2017 09:43:39 +0800 [thread overview] Message-ID: <201712260938.HofjvFaV%fengguang.wu@intel.com> (raw) In-Reply-To: <20171225155723.6338-2-m.capdeville-n+LsquliYkMdnm+yROfE0A@public.gmane.org> [-- Attachment #1: Type: text/plain, Size: 2338 bytes --] 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 [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 18935 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com> To: Marc CAPDEVILLE <m.capdeville@no-log.org> Cc: kbuild-all@01.org, Kevin Tsai <ktsai@capellamicro.com>, Jonathan Cameron <jic23@kernel.org>, Hartmut Knaack <knaack.h@gmx.de>, Lars-Peter Clausen <lars@metafoo.de>, Peter Meerwald-Stadler <pmeerw@pmeerw.net>, Mika Westerberg <mika.westerberg@linux.intel.com>, Wolfram Sang <wsa@the-dreams.de>, linux-iio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Marc CAPDEVILLE <m.capdeville@no-log.org> Subject: Re: [PATCH v6 2/4] i2c-smbus : Add client discovered ARA support Date: Tue, 26 Dec 2017 09:43:39 +0800 [thread overview] Message-ID: <201712260938.HofjvFaV%fengguang.wu@intel.com> (raw) In-Reply-To: <20171225155723.6338-2-m.capdeville@no-log.org> [-- Attachment #1: Type: text/plain, Size: 2338 bytes --] 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 [-- Attachment #2: .config.gz --] [-- Type: application/gzip, Size: 18935 bytes --]
next prev parent reply other threads:[~2017-12-26 1:43 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-12-25 15:57 [PATCH v6 1/4] i2c-core-acpi : Add i2c_acpi_set_connection Marc CAPDEVILLE 2017-12-25 15:57 ` [PATCH v6 2/4] i2c-smbus : Add client discovered ARA support Marc CAPDEVILLE [not found] ` <20171225155723.6338-2-m.capdeville-n+LsquliYkMdnm+yROfE0A@public.gmane.org> 2017-12-26 1:43 ` kbuild test robot [this message] 2017-12-26 1:43 ` kbuild test robot 2017-12-29 13:04 ` Jonathan Cameron 2017-12-29 13:04 ` Jonathan Cameron 2017-12-25 15:57 ` [PATCH v6 3/4] iio : Add cm3218 smbus ara and acpi support Marc CAPDEVILLE [not found] ` <20171225155723.6338-3-m.capdeville-n+LsquliYkMdnm+yROfE0A@public.gmane.org> 2017-12-26 6:34 ` kbuild test robot 2017-12-26 6:34 ` kbuild test robot 2017-12-28 1:19 ` Rafael J. Wysocki 2017-12-28 1:19 ` Rafael J. Wysocki 2017-12-29 12:54 ` Jonathan Cameron 2017-12-29 12:53 ` Jonathan Cameron 2017-12-25 15:57 ` [PATCH v6 4/4] iio : cm32181 : cosmetic cleanup Marc CAPDEVILLE 2017-12-29 12:56 ` Jonathan Cameron 2017-12-28 1:04 ` [PATCH v6 1/4] i2c-core-acpi : Add i2c_acpi_set_connection Rafael J. Wysocki
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=201712260938.HofjvFaV%fengguang.wu@intel.com \ --to=lkp-ral2jqcrhueavxtiumwx3w@public.gmane.org \ --cc=jic23-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \ --cc=kbuild-all-JC7UmRfGjtg@public.gmane.org \ --cc=knaack.h-Mmb7MZpHnFY@public.gmane.org \ --cc=ktsai-GubuWUlQtMwciDkP5Hr2oA@public.gmane.org \ --cc=lars-Qo5EllUWu/uELgA04lAiVw@public.gmane.org \ --cc=linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=m.capdeville-n+LsquliYkMdnm+yROfE0A@public.gmane.org \ --cc=mika.westerberg-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \ --cc=pmeerw-jW+XmwGofnusTnJN9+BGXg@public.gmane.org \ --cc=wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.