From: kbuild test robot <lkp@intel.com> To: Alexandru Ardelean <alexandru.ardelean@analog.com> Cc: kbuild-all@lists.01.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, sre@kernel.org, Stefan Popa <stefan.popa@analog.com>, Alexandru Ardelean <alexandru.ardelean@analog.com> Subject: Re: [PATCH v3][RESEND] adp5061: Add support for battery charging enable Date: Mon, 14 Oct 2019 07:10:54 +0800 [thread overview] Message-ID: <201910140646.Ch4WbSsG%lkp@intel.com> (raw) In-Reply-To: <20191011105649.22357-1-alexandru.ardelean@analog.com> [-- Attachment #1: Type: text/plain, Size: 3699 bytes --] Hi Alexandru, I love your patch! Yet something to improve: [auto build test ERROR on power-supply/for-next] [cannot apply to v5.4-rc2 next-20191011] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Alexandru-Ardelean/adp5061-Add-support-for-battery-charging-enable/20191014-035456 base: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git for-next config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gcc (GCC) 7.4.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 GCC_VERSION=7.4.0 make.cross ARCH=sparc64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@intel.com> All error/warnings (new ones prefixed by >>): In file included from include/linux/kobject.h:20:0, from include/linux/module.h:17, from drivers/power/supply/adp5061.c:9: >> drivers/power/supply/adp5061.c:738:44: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, ^ include/linux/sysfs.h:104:10: note: in definition of macro '__ATTR' .show = _show, \ ^~~~~ >> drivers/power/supply/adp5061.c:738:8: note: in expansion of macro 'DEVICE_ATTR' static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, ^~~~~~~~~~~ drivers/power/supply/adp5061.c:738:44: note: (near initialization for 'dev_attr_charging_enabled.show') static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, ^ include/linux/sysfs.h:104:10: note: in definition of macro '__ATTR' .show = _show, \ ^~~~~ >> drivers/power/supply/adp5061.c:738:8: note: in expansion of macro 'DEVICE_ATTR' static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, ^~~~~~~~~~~ drivers/power/supply/adp5061.c:739:6: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] adp5061_set_charging_enabled); ^ include/linux/sysfs.h:105:11: note: in definition of macro '__ATTR' .store = _store, \ ^~~~~~ >> drivers/power/supply/adp5061.c:738:8: note: in expansion of macro 'DEVICE_ATTR' static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, ^~~~~~~~~~~ drivers/power/supply/adp5061.c:739:6: note: (near initialization for 'dev_attr_charging_enabled.store') adp5061_set_charging_enabled); ^ include/linux/sysfs.h:105:11: note: in definition of macro '__ATTR' .store = _store, \ ^~~~~~ >> drivers/power/supply/adp5061.c:738:8: note: in expansion of macro 'DEVICE_ATTR' static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, ^~~~~~~~~~~ cc1: some warnings being treated as errors vim +738 drivers/power/supply/adp5061.c 737 > 738 static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, 739 adp5061_set_charging_enabled); 740 --- 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: 58669 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: Re: [PATCH v3][RESEND] adp5061: Add support for battery charging enable Date: Mon, 14 Oct 2019 07:10:54 +0800 [thread overview] Message-ID: <201910140646.Ch4WbSsG%lkp@intel.com> (raw) In-Reply-To: <20191011105649.22357-1-alexandru.ardelean@analog.com> [-- Attachment #1: Type: text/plain, Size: 3775 bytes --] Hi Alexandru, I love your patch! Yet something to improve: [auto build test ERROR on power-supply/for-next] [cannot apply to v5.4-rc2 next-20191011] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Alexandru-Ardelean/adp5061-Add-support-for-battery-charging-enable/20191014-035456 base: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git for-next config: sparc64-allmodconfig (attached as .config) compiler: sparc64-linux-gcc (GCC) 7.4.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 GCC_VERSION=7.4.0 make.cross ARCH=sparc64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@intel.com> All error/warnings (new ones prefixed by >>): In file included from include/linux/kobject.h:20:0, from include/linux/module.h:17, from drivers/power/supply/adp5061.c:9: >> drivers/power/supply/adp5061.c:738:44: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, ^ include/linux/sysfs.h:104:10: note: in definition of macro '__ATTR' .show = _show, \ ^~~~~ >> drivers/power/supply/adp5061.c:738:8: note: in expansion of macro 'DEVICE_ATTR' static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, ^~~~~~~~~~~ drivers/power/supply/adp5061.c:738:44: note: (near initialization for 'dev_attr_charging_enabled.show') static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, ^ include/linux/sysfs.h:104:10: note: in definition of macro '__ATTR' .show = _show, \ ^~~~~ >> drivers/power/supply/adp5061.c:738:8: note: in expansion of macro 'DEVICE_ATTR' static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, ^~~~~~~~~~~ drivers/power/supply/adp5061.c:739:6: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] adp5061_set_charging_enabled); ^ include/linux/sysfs.h:105:11: note: in definition of macro '__ATTR' .store = _store, \ ^~~~~~ >> drivers/power/supply/adp5061.c:738:8: note: in expansion of macro 'DEVICE_ATTR' static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, ^~~~~~~~~~~ drivers/power/supply/adp5061.c:739:6: note: (near initialization for 'dev_attr_charging_enabled.store') adp5061_set_charging_enabled); ^ include/linux/sysfs.h:105:11: note: in definition of macro '__ATTR' .store = _store, \ ^~~~~~ >> drivers/power/supply/adp5061.c:738:8: note: in expansion of macro 'DEVICE_ATTR' static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, ^~~~~~~~~~~ cc1: some warnings being treated as errors vim +738 drivers/power/supply/adp5061.c 737 > 738 static DEVICE_ATTR(charging_enabled, 0644, adp5061_get_charging_enabled, 739 adp5061_set_charging_enabled); 740 --- 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: 58669 bytes --]
next prev parent reply other threads:[~2019-10-13 23:12 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-04-04 8:17 [PATCH 2/3] adp5061: Add support for battery charging enable Stefan Popa 2018-04-04 8:17 ` Stefan Popa 2018-04-04 17:01 ` kbuild test robot 2018-04-04 17:01 ` kbuild test robot 2018-04-10 9:51 ` [PATCH v2 " Stefan Popa 2018-04-10 9:51 ` Stefan Popa 2018-04-11 15:10 ` [PATCH v3 3/4] " Stefan Popa 2018-04-11 15:10 ` Stefan Popa 2019-10-11 10:56 ` [PATCH v3][RESEND] " Alexandru Ardelean 2019-10-13 23:10 ` kbuild test robot [this message] 2019-10-13 23:10 ` kbuild test robot 2019-11-01 13:52 ` Ardelean, Alexandru 2019-11-01 13:52 ` Ardelean, Alexandru
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=201910140646.Ch4WbSsG%lkp@intel.com \ --to=lkp@intel.com \ --cc=alexandru.ardelean@analog.com \ --cc=kbuild-all@lists.01.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-pm@vger.kernel.org \ --cc=sre@kernel.org \ --cc=stefan.popa@analog.com \ /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.