* [android-common:android-4.19 2/2] drivers/cpuidle/cpuidle.c:598:27: sparse: sparse: incorrect type in initializer (different address spaces)
@ 2020-10-20 5:54 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2020-10-20 5:54 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3780 bytes --]
tree: https://android.googlesource.com/kernel/common android-4.19
head: 02f88aaaac53929e0cf4fe50f807cdea4b9e224d
commit: 02f88aaaac53929e0cf4fe50f807cdea4b9e224d [2/2] ANDROID: GKI: Export symbols arm_cpuidle_suspend, cpuidle_dev and cpuidle_register_governor
config: i386-randconfig-s001-20201019 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-dirty
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-4.19
git checkout 02f88aaaac53929e0cf4fe50f807cdea4b9e224d
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
>> drivers/cpuidle/cpuidle.c:598:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] <asn:3> *__vpp_verify @@ got struct cpuidle_device * @@
>> drivers/cpuidle/cpuidle.c:598:27: sparse: expected void const [noderef] <asn:3> *__vpp_verify
>> drivers/cpuidle/cpuidle.c:598:27: sparse: got struct cpuidle_device *
drivers/cpuidle/cpuidle.c:630:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] <asn:3> *__vpp_verify @@ got struct cpuidle_device * @@
drivers/cpuidle/cpuidle.c:630:27: sparse: expected void const [noderef] <asn:3> *__vpp_verify
drivers/cpuidle/cpuidle.c:630:27: sparse: got struct cpuidle_device *
vim +598 drivers/cpuidle/cpuidle.c
4f86d3a8e297205 Len Brown 2007-10-03 584
1c192d047a0ddc8 Daniel Lezcano 2013-04-23 585 /**
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 586 * cpuidle_unregister: unregister a driver and the devices. This function
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 587 * can be used only if the driver has been previously registered through
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 588 * the cpuidle_register function.
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 589 *
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 590 * @drv: a valid pointer to a struct cpuidle_driver
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 591 */
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 592 void cpuidle_unregister(struct cpuidle_driver *drv)
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 593 {
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 594 int cpu;
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 595 struct cpuidle_device *device;
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 596
82467a5a885ddd9 Daniel Lezcano 2013-06-07 597 for_each_cpu(cpu, drv->cpumask) {
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 @598 device = &per_cpu(cpuidle_dev, cpu);
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 599 cpuidle_unregister_device(device);
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 600 }
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 601
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 602 cpuidle_unregister_driver(drv);
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 603 }
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 604 EXPORT_SYMBOL_GPL(cpuidle_unregister);
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 605
:::::: The code at line 598 was first introduced by commit
:::::: 4c637b2175a0dc65d533494225525c6c82d73293 cpuidle: make a single register function for all
:::::: TO: Daniel Lezcano <daniel.lezcano@linaro.org>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34550 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [android-common:android-4.19 2/2] drivers/cpuidle/cpuidle.c:598:27: sparse: sparse: incorrect type in initializer (different address spaces)
@ 2021-08-25 7:44 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-08-25 7:44 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3774 bytes --]
tree: https://android.googlesource.com/kernel/common android-4.19
head: 02f88aaaac53929e0cf4fe50f807cdea4b9e224d
commit: 02f88aaaac53929e0cf4fe50f807cdea4b9e224d [2/2] ANDROID: GKI: Export symbols arm_cpuidle_suspend, cpuidle_dev and cpuidle_register_governor
config: x86_64-randconfig-s022-20210824 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-348-gf0e6938b-dirty
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-4.19
git checkout 02f88aaaac53929e0cf4fe50f807cdea4b9e224d
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/cpuidle/cpuidle.c:598:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] <asn:3> *__vpp_verify @@ got struct cpuidle_device * @@
drivers/cpuidle/cpuidle.c:598:27: sparse: expected void const [noderef] <asn:3> *__vpp_verify
drivers/cpuidle/cpuidle.c:598:27: sparse: got struct cpuidle_device *
drivers/cpuidle/cpuidle.c:630:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] <asn:3> *__vpp_verify @@ got struct cpuidle_device * @@
drivers/cpuidle/cpuidle.c:630:27: sparse: expected void const [noderef] <asn:3> *__vpp_verify
drivers/cpuidle/cpuidle.c:630:27: sparse: got struct cpuidle_device *
vim +598 drivers/cpuidle/cpuidle.c
4f86d3a8e29720 Len Brown 2007-10-03 584
1c192d047a0ddc Daniel Lezcano 2013-04-23 585 /**
4c637b2175a0dc Daniel Lezcano 2013-04-23 586 * cpuidle_unregister: unregister a driver and the devices. This function
4c637b2175a0dc Daniel Lezcano 2013-04-23 587 * can be used only if the driver has been previously registered through
4c637b2175a0dc Daniel Lezcano 2013-04-23 588 * the cpuidle_register function.
4c637b2175a0dc Daniel Lezcano 2013-04-23 589 *
4c637b2175a0dc Daniel Lezcano 2013-04-23 590 * @drv: a valid pointer to a struct cpuidle_driver
4c637b2175a0dc Daniel Lezcano 2013-04-23 591 */
4c637b2175a0dc Daniel Lezcano 2013-04-23 592 void cpuidle_unregister(struct cpuidle_driver *drv)
4c637b2175a0dc Daniel Lezcano 2013-04-23 593 {
4c637b2175a0dc Daniel Lezcano 2013-04-23 594 int cpu;
4c637b2175a0dc Daniel Lezcano 2013-04-23 595 struct cpuidle_device *device;
4c637b2175a0dc Daniel Lezcano 2013-04-23 596
82467a5a885ddd Daniel Lezcano 2013-06-07 597 for_each_cpu(cpu, drv->cpumask) {
4c637b2175a0dc Daniel Lezcano 2013-04-23 @598 device = &per_cpu(cpuidle_dev, cpu);
4c637b2175a0dc Daniel Lezcano 2013-04-23 599 cpuidle_unregister_device(device);
4c637b2175a0dc Daniel Lezcano 2013-04-23 600 }
4c637b2175a0dc Daniel Lezcano 2013-04-23 601
4c637b2175a0dc Daniel Lezcano 2013-04-23 602 cpuidle_unregister_driver(drv);
4c637b2175a0dc Daniel Lezcano 2013-04-23 603 }
4c637b2175a0dc Daniel Lezcano 2013-04-23 604 EXPORT_SYMBOL_GPL(cpuidle_unregister);
4c637b2175a0dc Daniel Lezcano 2013-04-23 605
:::::: The code at line 598 was first introduced by commit
:::::: 4c637b2175a0dc65d533494225525c6c82d73293 cpuidle: make a single register function for all
:::::: TO: Daniel Lezcano <daniel.lezcano@linaro.org>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30179 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [android-common:android-4.19 2/2] drivers/cpuidle/cpuidle.c:598:27: sparse: sparse: incorrect type in initializer (different address spaces)
@ 2021-07-28 10:01 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-07-28 10:01 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3807 bytes --]
tree: https://android.googlesource.com/kernel/common android-4.19
head: 02f88aaaac53929e0cf4fe50f807cdea4b9e224d
commit: 02f88aaaac53929e0cf4fe50f807cdea4b9e224d [2/2] ANDROID: GKI: Export symbols arm_cpuidle_suspend, cpuidle_dev and cpuidle_register_governor
config: i386-randconfig-s002-20210728 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-4.19
git checkout 02f88aaaac53929e0cf4fe50f807cdea4b9e224d
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/cpuidle/cpuidle.c:598:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] <asn:3> *__vpp_verify @@ got struct cpuidle_device * @@
drivers/cpuidle/cpuidle.c:598:27: sparse: expected void const [noderef] <asn:3> *__vpp_verify
drivers/cpuidle/cpuidle.c:598:27: sparse: got struct cpuidle_device *
drivers/cpuidle/cpuidle.c:630:27: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] <asn:3> *__vpp_verify @@ got struct cpuidle_device * @@
drivers/cpuidle/cpuidle.c:630:27: sparse: expected void const [noderef] <asn:3> *__vpp_verify
drivers/cpuidle/cpuidle.c:630:27: sparse: got struct cpuidle_device *
vim +598 drivers/cpuidle/cpuidle.c
4f86d3a8e297205 Len Brown 2007-10-03 584
1c192d047a0ddc8 Daniel Lezcano 2013-04-23 585 /**
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 586 * cpuidle_unregister: unregister a driver and the devices. This function
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 587 * can be used only if the driver has been previously registered through
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 588 * the cpuidle_register function.
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 589 *
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 590 * @drv: a valid pointer to a struct cpuidle_driver
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 591 */
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 592 void cpuidle_unregister(struct cpuidle_driver *drv)
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 593 {
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 594 int cpu;
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 595 struct cpuidle_device *device;
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 596
82467a5a885ddd9 Daniel Lezcano 2013-06-07 597 for_each_cpu(cpu, drv->cpumask) {
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 @598 device = &per_cpu(cpuidle_dev, cpu);
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 599 cpuidle_unregister_device(device);
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 600 }
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 601
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 602 cpuidle_unregister_driver(drv);
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 603 }
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 604 EXPORT_SYMBOL_GPL(cpuidle_unregister);
4c637b2175a0dc6 Daniel Lezcano 2013-04-23 605
:::::: The code at line 598 was first introduced by commit
:::::: 4c637b2175a0dc65d533494225525c6c82d73293 cpuidle: make a single register function for all
:::::: TO: Daniel Lezcano <daniel.lezcano@linaro.org>
:::::: CC: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30243 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-25 7:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-20 5:54 [android-common:android-4.19 2/2] drivers/cpuidle/cpuidle.c:598:27: sparse: sparse: incorrect type in initializer (different address spaces) kernel test robot
2021-07-28 10:01 kernel test robot
2021-08-25 7:44 kernel test robot
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.