drivers/mmc/host/sdhci-tegra.c:1821:15: error: implicit declaration of function 'sdhci_suspend_host'; did you mean 'sdhci_add_host'?
by kernel test robot
tree: https://github.com/0day-ci/linux/commits/Dmitry-Osipenko/NVIDIA-Tegra-pow...
head: 0129c946dedb3137ad85ddc9af1511ff2b7d1f72
commit: 610a2d2707f6795f4e90011afd33c39c6f911ca0 mmc: sdhci-tegra: Add runtime PM and OPP support
date: 8 weeks ago
config: m68k-randconfig-r026-20210929 (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/610a2d2707f6795f4e90011afd33c39c6...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Dmitry-Osipenko/NVIDIA-Tegra-power-management-patches-for-5-16/20210921-021635
git checkout 610a2d2707f6795f4e90011afd33c39c6f911ca0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/mmc/host/sdhci-tegra.c: In function 'sdhci_tegra_suspend':
>> drivers/mmc/host/sdhci-tegra.c:1821:15: error: implicit declaration of function 'sdhci_suspend_host'; did you mean 'sdhci_add_host'? [-Werror=implicit-function-declaration]
1821 | ret = sdhci_suspend_host(host);
| ^~~~~~~~~~~~~~~~~~
| sdhci_add_host
>> drivers/mmc/host/sdhci-tegra.c:1829:17: error: implicit declaration of function 'sdhci_resume_host'; did you mean 'sdhci_remove_host'? [-Werror=implicit-function-declaration]
1829 | sdhci_resume_host(host);
| ^~~~~~~~~~~~~~~~~
| sdhci_remove_host
cc1: some warnings being treated as errors
vim +1821 drivers/mmc/host/sdhci-tegra.c
610a2d2707f679 Dmitry Osipenko 2021-09-20 1809
610a2d2707f679 Dmitry Osipenko 2021-09-20 1810 static int __maybe_unused sdhci_tegra_suspend(struct device *dev)
610a2d2707f679 Dmitry Osipenko 2021-09-20 1811 {
610a2d2707f679 Dmitry Osipenko 2021-09-20 1812 struct sdhci_host *host = dev_get_drvdata(dev);
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1813 int ret;
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1814
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1815 if (host->mmc->caps2 & MMC_CAP2_CQE) {
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1816 ret = cqhci_suspend(host->mmc);
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1817 if (ret)
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1818 return ret;
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1819 }
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1820
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 @1821 ret = sdhci_suspend_host(host);
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1822 if (ret) {
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1823 cqhci_resume(host->mmc);
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1824 return ret;
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1825 }
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1826
610a2d2707f679 Dmitry Osipenko 2021-09-20 1827 ret = pm_runtime_force_suspend(dev);
610a2d2707f679 Dmitry Osipenko 2021-09-20 1828 if (ret) {
610a2d2707f679 Dmitry Osipenko 2021-09-20 @1829 sdhci_resume_host(host);
610a2d2707f679 Dmitry Osipenko 2021-09-20 1830 cqhci_resume(host->mmc);
610a2d2707f679 Dmitry Osipenko 2021-09-20 1831 return ret;
610a2d2707f679 Dmitry Osipenko 2021-09-20 1832 }
610a2d2707f679 Dmitry Osipenko 2021-09-20 1833
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1834 return 0;
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1835 }
71c733c4e1aeb8 Sowjanya Komatineni 2019-04-11 1836
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
[xilinx-xlnx:master 12130/12535] drivers/net/ethernet/xilinx/xilinx_axienet_main.c:2650:5: warning: no previous prototype for 'axienet_ethtools_sset_count'
by kernel test robot
tree: https://github.com/Xilinx/linux-xlnx master
head: 0a88ef03d3015782318b4bc94ceb20dca375a01b
commit: 0605a36e057480f3a83ae401e7ff59739da78e82 [12130/12535] net: xilinx: Ethtool statistics support
config: ia64-randconfig-r021-20210930 (attached as .config)
compiler: ia64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/Xilinx/linux-xlnx/commit/0605a36e057480f3a83ae401e7ff5...
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx master
git checkout 0605a36e057480f3a83ae401e7ff59739da78e82
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/ia64/include/asm/pgtable.h:154,
from include/linux/pgtable.h:6,
from include/linux/mm.h:33,
from include/linux/bvec.h:14,
from include/linux/skbuff.h:17,
from include/linux/if_ether.h:19,
from include/linux/etherdevice.h:20,
from drivers/net/ethernet/xilinx/xilinx_axienet_main.c:28:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:137:48: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
137 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
drivers/net/ethernet/xilinx/xilinx_axienet_main.c: At top level:
>> drivers/net/ethernet/xilinx/xilinx_axienet_main.c:2650:5: warning: no previous prototype for 'axienet_ethtools_sset_count' [-Wmissing-prototypes]
2650 | int axienet_ethtools_sset_count(struct net_device *ndev, int sset)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/xilinx/xilinx_axienet_main.c:2673:6: warning: no previous prototype for 'axienet_ethtools_get_stats' [-Wmissing-prototypes]
2673 | void axienet_ethtools_get_stats(struct net_device *ndev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/ethernet/xilinx/xilinx_axienet_main.c:2700:6: warning: no previous prototype for 'axienet_ethtools_strings' [-Wmissing-prototypes]
2700 | void axienet_ethtools_strings(struct net_device *ndev, u32 sset, u8 *data)
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/axienet_ethtools_sset_count +2650 drivers/net/ethernet/xilinx/xilinx_axienet_main.c
2640
2641 /**
2642 * axienet_ethtools_sset_count - Get number of strings that
2643 * get_strings will write.
2644 * @ndev: Pointer to net_device structure
2645 * @sset: Get the set strings
2646 *
2647 * Return: number of strings, on success, Non-zero error value on
2648 * failure.
2649 */
> 2650 int axienet_ethtools_sset_count(struct net_device *ndev, int sset)
2651 {
2652 switch (sset) {
2653 case ETH_SS_STATS:
2654 #ifdef CONFIG_AXIENET_HAS_MCDMA
2655 return axienet_sset_count(ndev, sset);
2656 #else
2657 return AXIENET_ETHTOOLS_SSTATS_LEN;
2658 #endif
2659 default:
2660 return -EOPNOTSUPP;
2661 }
2662 }
2663
2664 /**
2665 * axienet_ethtools_get_stats - Get the extended statistics
2666 * about the device.
2667 * @ndev: Pointer to net_device structure
2668 * @stats: Pointer to ethtool_stats structure
2669 * @data: To store the statistics values
2670 *
2671 * Return: None.
2672 */
> 2673 void axienet_ethtools_get_stats(struct net_device *ndev,
2674 struct ethtool_stats *stats,
2675 u64 *data)
2676 {
2677 unsigned int i = 0;
2678
2679 data[i++] = ndev->stats.tx_packets;
2680 data[i++] = ndev->stats.rx_packets;
2681 data[i++] = ndev->stats.tx_bytes;
2682 data[i++] = ndev->stats.rx_bytes;
2683 data[i++] = ndev->stats.tx_errors;
2684 data[i++] = ndev->stats.rx_missed_errors + ndev->stats.rx_frame_errors;
2685
2686 #ifdef CONFIG_AXIENET_HAS_MCDMA
2687 axienet_get_stats(ndev, stats, data);
2688 #endif
2689 }
2690
2691 /**
2692 * axienet_ethtools_strings - Set of strings that describe
2693 * the requested objects.
2694 * @ndev: Pointer to net_device structure
2695 * @sset: Get the set strings
2696 * @data: Data of Transmit and Receive statistics
2697 *
2698 * Return: None.
2699 */
> 2700 void axienet_ethtools_strings(struct net_device *ndev, u32 sset, u8 *data)
2701 {
2702 int i;
2703
2704 for (i = 0; i < AXIENET_ETHTOOLS_SSTATS_LEN; i++) {
2705 if (sset == ETH_SS_STATS)
2706 memcpy(data + i * ETH_GSTRING_LEN,
2707 axienet_get_ethtools_strings_stats[i].name,
2708 ETH_GSTRING_LEN);
2709 }
2710 #ifdef CONFIG_AXIENET_HAS_MCDMA
2711 axienet_strings(ndev, sset, data);
2712 #endif
2713 }
2714
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
[tobetter:odroid-5.15.y 1/76] drivers/gpu/drm/exynos/exynos_hdmi.c:165:19: error: 'hdmi_hpd_enable' defined but not used
by kernel test robot
tree: https://github.com/tobetter/linux odroid-5.15.y
head: 678861f23d9c5a26fb838c37ec2f4112749f6a17
commit: d5f4cb5822810fb9310d976216330c988e94848d [1/76] ODROID-XU4: drm/exynos/hdmi: add 'HPD' and 'vout' as boot parameters
config: nios2-allmodconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/tobetter/linux/commit/d5f4cb5822810fb9310d976216330c98...
git remote add tobetter https://github.com/tobetter/linux
git fetch --no-tags tobetter odroid-5.15.y
git checkout d5f4cb5822810fb9310d976216330c988e94848d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/exynos/exynos_hdmi.c:165:19: error: 'hdmi_hpd_enable' defined but not used [-Werror=unused-function]
165 | static int __init hdmi_hpd_enable(char *str)
| ^~~~~~~~~~~~~~~
>> drivers/gpu/drm/exynos/exynos_hdmi.c:151:19: error: 'dvi_force_enable' defined but not used [-Werror=unused-function]
151 | static int __init dvi_force_enable(char *str)
| ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/hdmi_hpd_enable +165 drivers/gpu/drm/exynos/exynos_hdmi.c
150
> 151 static int __init dvi_force_enable(char *str)
152 {
153 if (!strcmp(str, "dvi")) {
154 gdvi_mode = true;
155 pr_info("hdmi: using DVI mode\n");
156 } else {
157 gdvi_mode = false;
158 pr_info("hdmi: using HDMI mode\n");
159 }
160
161 return 0;
162 }
163 __setup("vout=", dvi_force_enable);
164
> 165 static int __init hdmi_hpd_enable(char *str)
166 {
167 if (!strcmp(str, "false")) {
168 gEnableHPD = false;
169 }
170
171 return 0;
172 }
173 __setup("HPD=", hdmi_hpd_enable);
174
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
[hare-scsi-devel:scsi-private.v2 13/21] drivers/scsi/aacraid/commsup.c:248:16: error: implicit declaration of function 'scsi_host_get_reserved_cmd'; did you mean 'scsi_host_get_internal_cmd'?
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git scsi-private.v2
head: 915b986531e666d840f72752c597fb6b4ea69d35
commit: d855c0f944ed75c432d076b0c2f5ea5a156276da [13/21] aacraid: use scsi_get_internal_cmd()
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git/commi...
git remote add hare-scsi-devel https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git
git fetch --no-tags hare-scsi-devel scsi-private.v2
git checkout d855c0f944ed75c432d076b0c2f5ea5a156276da
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/scsi/aacraid/commsup.c: In function 'aac_fib_alloc':
>> drivers/scsi/aacraid/commsup.c:248:16: error: implicit declaration of function 'scsi_host_get_reserved_cmd'; did you mean 'scsi_host_get_internal_cmd'? [-Werror=implicit-function-declaration]
248 | scmd = scsi_host_get_reserved_cmd(dev->scsi_host_ptr, direction,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| scsi_host_get_internal_cmd
>> drivers/scsi/aacraid/commsup.c:248:14: error: assignment to 'struct scsi_cmnd *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
248 | scmd = scsi_host_get_reserved_cmd(dev->scsi_host_ptr, direction,
| ^
cc1: all warnings being treated as errors
vim +248 drivers/scsi/aacraid/commsup.c
231
232 /**
233 * aac_fib_alloc - allocate a fib
234 * @dev: Adapter to allocate the fib for
235 * @direction: DMA data direction
236 *
237 * Allocate a fib from the adapter fib pool. If the pool is empty we
238 * return NULL.
239 */
240
241 struct fib *aac_fib_alloc(struct aac_dev *dev, int direction)
242 {
243 struct scsi_cmnd *scmd;
244 struct fib * fibptr = NULL;
245 unsigned long flags;
246
247 spin_lock_irqsave(&dev->fib_lock, flags);
> 248 scmd = scsi_host_get_reserved_cmd(dev->scsi_host_ptr, direction,
249 REQ_NOWAIT);
250 if (scmd) {
251 fibptr = aac_fib_alloc_tag(dev, scmd);
252 fibptr->flags |= FIB_CONTEXT_FLAG_INTERNAL_CMD;
253 }
254 spin_unlock_irqrestore(&dev->fib_lock, flags);
255 if (!fibptr)
256 return NULL;
257
258 fibptr->size = sizeof(struct fib);
259
260 return fibptr;
261 }
262
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
[zen:5.15/prjc 1/237] kernel/sched/alt_core.c:652:6: error: no previous prototype for 'resched_curr'
by kernel test robot
tree: https://github.com/zen-kernel/zen-kernel 5.15/prjc
head: 09b9774798f91c4747ee3266e910eb8aebf2118c
commit: cb06db4ef97b1e99a0350d328e6044f374941410 [1/237] Project C v5.7.5-r2
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/zen-kernel/zen-kernel/commit/cb06db4ef97b1e99a0350d328...
git remote add zen https://github.com/zen-kernel/zen-kernel
git fetch --no-tags zen 5.15/prjc
git checkout cb06db4ef97b1e99a0350d328e6044f374941410
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from kernel/sched/alt_core.c:191:
kernel/sched/alt_core.c: In function 'dequeue_task':
kernel/sched/bmq_imp.h:52:9: error: implicit declaration of function 'sched_info_dequeued'; did you mean 'sched_info_dequeue'? [-Werror=implicit-function-declaration]
52 | sched_info_dequeued(rq, p); \
| ^~~~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c:444:9: note: in expansion of macro '__SCHED_DEQUEUE_TASK'
444 | __SCHED_DEQUEUE_TASK(p, rq, flags, update_sched_rq_watermark(rq));
| ^~~~~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c: In function 'enqueue_task':
kernel/sched/bmq_imp.h:61:9: error: implicit declaration of function 'sched_info_queued'; did you mean 'sched_info_enqueue'? [-Werror=implicit-function-declaration]
61 | sched_info_queued(rq, p); \
| ^~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c:461:9: note: in expansion of macro '__SCHED_ENQUEUE_TASK'
461 | __SCHED_ENQUEUE_TASK(p, rq, flags);
| ^~~~~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c: At top level:
>> kernel/sched/alt_core.c:652:6: error: no previous prototype for 'resched_curr' [-Werror=missing-prototypes]
652 | void resched_curr(struct rq *rq)
| ^~~~~~~~~~~~
>> kernel/sched/alt_core.c:675:6: error: no previous prototype for 'resched_cpu' [-Werror=missing-prototypes]
675 | void resched_cpu(int cpu)
| ^~~~~~~~~~~
>> kernel/sched/alt_core.c:692:6: error: no previous prototype for 'select_nohz_load_balancer' [-Werror=missing-prototypes]
692 | void select_nohz_load_balancer(int stop_tick)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> kernel/sched/alt_core.c:696:6: error: no previous prototype for 'set_cpu_sd_state_idle' [-Werror=missing-prototypes]
696 | void set_cpu_sd_state_idle(void) {}
| ^~~~~~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c: In function 'activate_task':
kernel/sched/alt_core.c:955:13: error: implicit declaration of function 'task_contributes_to_load' [-Werror=implicit-function-declaration]
955 | if (task_contributes_to_load(p))
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/printk.h:11,
from include/linux/kernel.h:19,
from include/linux/list.h:9,
from include/linux/rculist.h:10,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from kernel/sched/alt_sched.h:4,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
kernel/sched/alt_core.c: In function 'set_task_cpu':
kernel/sched/alt_core.c:1002:25: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
1002 | WARN_ON_ONCE(p->state != TASK_RUNNING && p->state != TASK_WAKING &&
| ^~~~~
include/linux/once_lite.h:15:41: note: in definition of macro 'DO_ONCE_LITE_IF'
15 | bool __ret_do_once = !!(condition); \
| ^~~~~~~~~
kernel/sched/alt_core.c:1002:9: note: in expansion of macro 'WARN_ON_ONCE'
1002 | WARN_ON_ONCE(p->state != TASK_RUNNING && p->state != TASK_WAKING &&
| ^~~~~~~~~~~~
kernel/sched/alt_core.c:1002:53: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
1002 | WARN_ON_ONCE(p->state != TASK_RUNNING && p->state != TASK_WAKING &&
| ^~~~~
include/linux/once_lite.h:15:41: note: in definition of macro 'DO_ONCE_LITE_IF'
15 | bool __ret_do_once = !!(condition); \
| ^~~~~~~~~
kernel/sched/alt_core.c:1002:9: note: in expansion of macro 'WARN_ON_ONCE'
1002 | WARN_ON_ONCE(p->state != TASK_RUNNING && p->state != TASK_WAKING &&
| ^~~~~~~~~~~~
kernel/sched/alt_core.c: At top level:
kernel/sched/alt_core.c:1188:15: error: conflicting types for 'wait_task_inactive'; have 'long unsigned int(struct task_struct *, long int)'
1188 | unsigned long wait_task_inactive(struct task_struct *p, long match_state)
| ^~~~~~~~~~~~~~~~~~
In file included from kernel/sched/alt_sched.h:4,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
include/linux/sched.h:1977:22: note: previous declaration of 'wait_task_inactive' with type 'long unsigned int(struct task_struct *, unsigned int)'
1977 | extern unsigned long wait_task_inactive(struct task_struct *, unsigned int match_state);
| ^~~~~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/rculist.h:10,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from kernel/sched/alt_sched.h:4,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
kernel/sched/alt_core.c: In function 'wait_task_inactive':
kernel/sched/alt_core.c:1211:56: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
1211 | if (match_state && unlikely(p->state != match_state))
| ^~~~~
include/linux/compiler.h:78:45: note: in definition of macro 'unlikely'
78 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
kernel/sched/alt_core.c:1226:40: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
1226 | if (!match_state || p->state == match_state)
| ^~~~~
| __state
kernel/sched/alt_core.c: At top level:
>> kernel/sched/alt_core.c:1409:6: error: no previous prototype for 'sched_set_stop_task' [-Werror=missing-prototypes]
1409 | void sched_set_stop_task(int cpu, struct task_struct *stop)
| ^~~~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c: In function '__set_cpus_allowed_ptr':
kernel/sched/alt_core.c:1501:35: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
1501 | if (task_running(p) || p->state == TASK_WAKING) {
| ^~~~~
| __state
kernel/sched/alt_core.c: In function 'ttwu_do_wakeup':
kernel/sched/alt_core.c:1578:12: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
1578 | p->state = TASK_RUNNING;
| ^~~~~
| __state
kernel/sched/alt_core.c: At top level:
kernel/sched/alt_core.c:1611:6: error: redefinition of 'scheduler_ipi'
1611 | void scheduler_ipi(void)
| ^~~~~~~~~~~~~
In file included from kernel/sched/alt_sched.h:4,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
include/linux/sched.h:1968:29: note: previous definition of 'scheduler_ipi' with type 'void(void)'
1968 | static __always_inline void scheduler_ipi(void)
| ^~~~~~~~~~~~~
kernel/sched/alt_core.c: In function 'try_to_wake_up':
kernel/sched/alt_core.c:1793:26: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
1793 | if (!(p->state & state))
| ^~~~~
| __state
kernel/sched/alt_core.c:1799:20: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
1799 | p->state = TASK_RUNNING;
| ^~~~~
| __state
kernel/sched/alt_core.c:1812:18: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
1812 | if (!(p->state & state))
| ^~~~~
| __state
kernel/sched/alt_core.c:1879:12: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
1879 | p->state = TASK_WAKING;
| ^~~~~
| __state
kernel/sched/alt_core.c: In function 'sched_fork':
kernel/sched/alt_core.c:1973:12: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
1973 | p->state = TASK_NEW;
| ^~~~~
| __state
kernel/sched/alt_core.c: In function 'wake_up_new_task':
kernel/sched/alt_core.c:2136:12: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
2136 | p->state = TASK_RUNNING;
| ^~~~~
| __state
kernel/sched/alt_core.c: In function 'finish_task_switch':
kernel/sched/alt_core.c:2384:28: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
2384 | prev_state = prev->state;
| ^~~~~
| __state
kernel/sched/alt_core.c: In function 'schedule_tail':
kernel/sched/alt_core.c:2433:20: error: variable 'rq' set but not used [-Werror=unused-but-set-variable]
2433 | struct rq *rq;
| ^~
kernel/sched/alt_core.c: At top level:
kernel/sched/alt_core.c:2518:15: error: conflicting types for 'nr_running'; have 'long unsigned int(void)'
2518 | unsigned long nr_running(void)
| ^~~~~~~~~~
In file included from kernel/sched/alt_sched.h:16,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
include/linux/sched/stat.h:20:21: note: previous declaration of 'nr_running' with type 'unsigned int(void)'
20 | extern unsigned int nr_running(void);
| ^~~~~~~~~~
kernel/sched/alt_core.c:2565:15: error: conflicting types for 'nr_iowait_cpu'; have 'long unsigned int(int)'
2565 | unsigned long nr_iowait_cpu(int cpu)
| ^~~~~~~~~~~~~
In file included from kernel/sched/alt_sched.h:16,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
include/linux/sched/stat.h:23:21: note: previous declaration of 'nr_iowait_cpu' with type 'unsigned int(int)'
23 | extern unsigned int nr_iowait_cpu(int cpu);
| ^~~~~~~~~~~~~
kernel/sched/alt_core.c:2600:15: error: conflicting types for 'nr_iowait'; have 'long unsigned int(void)'
2600 | unsigned long nr_iowait(void)
| ^~~~~~~~~
In file included from kernel/sched/alt_sched.h:16,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
include/linux/sched/stat.h:22:21: note: previous declaration of 'nr_iowait' with type 'unsigned int(void)'
22 | extern unsigned int nr_iowait(void);
| ^~~~~~~~~
kernel/sched/alt_core.c:2706:6: error: conflicting types for 'arch_set_thermal_pressure'; have 'void(struct cpumask *, long unsigned int)'
2706 | void arch_set_thermal_pressure(struct cpumask *cpus,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/sched/alt_sched.h:19,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
include/linux/sched/topology.h:264:6: note: previous definition of 'arch_set_thermal_pressure' with type 'void(const struct cpumask *, long unsigned int)'
264 | void arch_set_thermal_pressure(const struct cpumask *cpus,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c: In function 'scheduler_tick':
kernel/sched/alt_core.c:2753:9: error: implicit declaration of function 'psi_task_tick'; did you mean 'put_task_stack'? [-Werror=implicit-function-declaration]
2753 | psi_task_tick(rq);
| ^~~~~~~~~~~~~
| put_task_stack
--
3358 | if (signal_pending_state(prev->state, prev)) {
| ^~~~~
| __state
kernel/sched/alt_core.c:3359:31: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
3359 | prev->state = TASK_RUNNING;
| ^~~~~
| __state
kernel/sched/alt_core.c: In function 'sched_submit_work':
kernel/sched/alt_core.c:3438:19: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
3438 | if (!tsk->state)
| ^~~~~
| __state
In file included from include/linux/printk.h:11,
from include/linux/kernel.h:19,
from include/linux/list.h:9,
from include/linux/rculist.h:10,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from kernel/sched/alt_sched.h:4,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
kernel/sched/alt_core.c: In function 'schedule_idle':
kernel/sched/alt_core.c:3512:31: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
3512 | WARN_ON_ONCE(current->state);
| ^~~~~
include/linux/once_lite.h:15:41: note: in definition of macro 'DO_ONCE_LITE_IF'
15 | bool __ret_do_once = !!(condition); \
| ^~~~~~~~~
kernel/sched/alt_core.c:3512:9: note: in expansion of macro 'WARN_ON_ONCE'
3512 | WARN_ON_ONCE(current->state);
| ^~~~~~~~~~~~
kernel/sched/alt_core.c: In function '__sched_setscheduler':
kernel/sched/alt_core.c:4031:46: error: 'MAX_USER_RT_PRIO' undeclared (first use in this function); did you mean 'MAX_RT_PRIO'?
4031 | (p->mm && attr->sched_priority > MAX_USER_RT_PRIO - 1) ||
| ^~~~~~~~~~~~~~~~
| MAX_RT_PRIO
kernel/sched/alt_core.c:4031:46: note: each undeclared identifier is reported only once for each function it appears in
kernel/sched/alt_core.c: In function 'sched_setaffinity':
kernel/sched/alt_core.c:4533:9: error: implicit declaration of function 'get_online_cpus'; did you mean 'get_online_mems'? [-Werror=implicit-function-declaration]
4533 | get_online_cpus();
| ^~~~~~~~~~~~~~~
| get_online_mems
kernel/sched/alt_core.c:4539:17: error: implicit declaration of function 'put_online_cpus'; did you mean 'num_online_cpus'? [-Werror=implicit-function-declaration]
4539 | put_online_cpus();
| ^~~~~~~~~~~~~~~
| num_online_cpus
kernel/sched/alt_core.c: At top level:
kernel/sched/alt_core.c:4749:13: error: redefinition of '_cond_resched'
4749 | int __sched _cond_resched(void)
| ^~~~~~~~~~~~~
In file included from kernel/sched/alt_sched.h:4,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
include/linux/sched.h:2056:19: note: previous definition of '_cond_resched' with type 'int(void)'
2056 | static inline int _cond_resched(void)
| ^~~~~~~~~~~~~
kernel/sched/alt_core.c: In function '__do_sys_sched_get_priority_max':
kernel/sched/alt_core.c:4902:23: error: 'MAX_USER_RT_PRIO' undeclared (first use in this function); did you mean 'MAX_RT_PRIO'?
4902 | ret = MAX_USER_RT_PRIO-1;
| ^~~~~~~~~~~~~~~~
| MAX_RT_PRIO
kernel/sched/alt_core.c: In function 'sched_show_task':
kernel/sched/alt_core.c:5010:16: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
5010 | if (p->state == TASK_RUNNING)
| ^~~~~
| __state
kernel/sched/alt_core.c:5025:9: error: too few arguments to function 'show_stack'
5025 | show_stack(p, NULL);
| ^~~~~~~~~~
In file included from kernel/sched/alt_sched.h:9,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
include/linux/sched/debug.h:33:13: note: declared here
33 | extern void show_stack(struct task_struct *task, unsigned long *sp,
| ^~~~~~~~~~
kernel/sched/alt_core.c: In function 'state_filter_match':
kernel/sched/alt_core.c:5038:18: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
5038 | if (!(p->state & state_filter))
| ^~~~~
| __state
kernel/sched/alt_core.c:5045:56: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
5045 | if (state_filter == TASK_UNINTERRUPTIBLE && p->state == TASK_IDLE)
| ^~~~~
| __state
kernel/sched/alt_core.c: At top level:
kernel/sched/alt_core.c:5052:6: error: conflicting types for 'show_state_filter'; have 'void(long unsigned int)'
5052 | void show_state_filter(unsigned long state_filter)
| ^~~~~~~~~~~~~~~~~
In file included from kernel/sched/alt_sched.h:9,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
include/linux/sched/debug.h:17:13: note: previous declaration of 'show_state_filter' with type 'void(unsigned int)'
17 | extern void show_state_filter(unsigned int state_filter);
| ^~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c: In function 'init_idle':
kernel/sched/alt_core.c:5118:15: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
5118 | idle->state = TASK_RUNNING;
| ^~~~~
| __state
kernel/sched/alt_core.c: At top level:
>> kernel/sched/alt_core.c:5340:5: error: no previous prototype for 'sched_cpu_activate' [-Werror=missing-prototypes]
5340 | int sched_cpu_activate(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~
>> kernel/sched/alt_core.c:5373:5: error: no previous prototype for 'sched_cpu_deactivate' [-Werror=missing-prototypes]
5373 | int sched_cpu_deactivate(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~
>> kernel/sched/alt_core.c:5416:5: error: no previous prototype for 'sched_cpu_starting' [-Werror=missing-prototypes]
5416 | int sched_cpu_starting(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c: In function 'sched_init_topology_cpumask':
>> kernel/sched/alt_core.c:5482:57: error: implicit declaration of function 'cpu_coregroup_mask' [-Werror=implicit-function-declaration]
5482 | per_cpu(sd_llc_id, cpu) = cpumask_first(cpu_coregroup_mask(cpu));
| ^~~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c:5482:57: error: passing argument 1 of 'cpumask_first' makes pointer from integer without a cast [-Werror=int-conversion]
5482 | per_cpu(sd_llc_id, cpu) = cpumask_first(cpu_coregroup_mask(cpu));
| ^~~~~~~~~~~~~~~~~~~~~~~
| |
| int
In file included from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/rcupdate.h:29,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from kernel/sched/alt_sched.h:4,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
include/linux/cpumask.h:193:64: note: expected 'const struct cpumask *' but argument is of type 'int'
193 | static inline unsigned int cpumask_first(const struct cpumask *srcp)
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
kernel/sched/alt_core.c:5484:45: error: passing argument 3 of 'cpumask_and' makes pointer from integer without a cast [-Werror=int-conversion]
5484 | TOPOLOGY_CPUMASK(coregroup, cpu_coregroup_mask(cpu), false);
| ^~~~~~~~~~~~~~~~~~~~~~~
| |
| int
kernel/sched/alt_core.c:5461:35: note: in definition of macro 'TOPOLOGY_CPUMASK'
5461 | if (cpumask_and(chk, chk, mask)) \
| ^~~~
In file included from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/rcupdate.h:29,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from kernel/sched/alt_sched.h:4,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
include/linux/cpumask.h:403:54: note: expected 'const struct cpumask *' but argument is of type 'int'
403 | const struct cpumask *src2p)
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~
kernel/sched/alt_core.c:5484:45: error: passing argument 2 of 'cpumask_complement' makes pointer from integer without a cast [-Werror=int-conversion]
5484 | TOPOLOGY_CPUMASK(coregroup, cpu_coregroup_mask(cpu), false);
| ^~~~~~~~~~~~~~~~~~~~~~~
| |
| int
kernel/sched/alt_core.c:5465:41: note: in definition of macro 'TOPOLOGY_CPUMASK'
5465 | cpumask_complement(chk, mask)
| ^~~~
In file included from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/rcupdate.h:29,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from kernel/sched/alt_sched.h:4,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
include/linux/cpumask.h:458:61: note: expected 'const struct cpumask *' but argument is of type 'int'
458 | const struct cpumask *srcp)
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from include/linux/printk.h:11,
from include/linux/kernel.h:19,
from include/linux/list.h:9,
from include/linux/rculist.h:10,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from kernel/sched/alt_sched.h:4,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
kernel/sched/alt_core.c: In function '__might_sleep':
kernel/sched/alt_core.c:5637:28: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
5637 | WARN_ONCE(current->state != TASK_RUNNING && current->task_state_change,
| ^~~~~
include/linux/once_lite.h:15:41: note: in definition of macro 'DO_ONCE_LITE_IF'
15 | bool __ret_do_once = !!(condition); \
| ^~~~~~~~~
kernel/sched/alt_core.c:5637:9: note: in expansion of macro 'WARN_ONCE'
5637 | WARN_ONCE(current->state != TASK_RUNNING && current->task_state_change,
| ^~~~~~~~~
In file included from arch/arc/include/asm/bug.h:30,
from include/linux/bug.h:5,
from include/linux/thread_info.h:13,
from include/asm-generic/preempt.h:5,
from ./arch/arc/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/rcupdate.h:27,
from include/linux/rculist.h:11,
from include/linux/pid.h:5,
from include/linux/sched.h:14,
from kernel/sched/alt_sched.h:4,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
kernel/sched/alt_core.c:5640:34: error: 'struct task_struct' has no member named 'state'; did you mean '__state'?
5640 | current->state,
| ^~~~~
include/asm-generic/bug.h:91:62: note: in definition of macro '__WARN_printf'
91 | warn_slowpath_fmt(__FILE__, __LINE__, taint, arg); \
| ^~~
include/linux/once_lite.h:19:25: note: in expansion of macro 'WARN'
19 | func(__VA_ARGS__); \
| ^~~~
include/asm-generic/bug.h:150:9: note: in expansion of macro 'DO_ONCE_LITE_IF'
150 | DO_ONCE_LITE_IF(condition, WARN, 1, format)
| ^~~~~~~~~~~~~~~
kernel/sched/alt_core.c:5637:9: note: in expansion of macro 'WARN_ONCE'
5637 | WARN_ONCE(current->state != TASK_RUNNING && current->task_state_change,
| ^~~~~~~~~
kernel/sched/alt_core.c: In function '___might_sleep':
kernel/sched/alt_core.c:5653:23: error: variable 'preempt_disable_ip' set but not used [-Werror=unused-but-set-variable]
5653 | unsigned long preempt_disable_ip;
| ^~~~~~~~~~~~~~~~~~
kernel/sched/alt_core.c: At top level:
>> kernel/sched/alt_core.c:5813:20: error: no previous prototype for 'sched_create_group' [-Werror=missing-prototypes]
5813 | struct task_group *sched_create_group(struct task_group *parent)
| ^~~~~~~~~~~~~~~~~~
>> kernel/sched/alt_core.c:5824:6: error: no previous prototype for 'sched_online_group' [-Werror=missing-prototypes]
5824 | void sched_online_group(struct task_group *tg, struct task_group *parent)
| ^~~~~~~~~~~~~~~~~~
>> kernel/sched/alt_core.c:5835:6: error: no previous prototype for 'sched_destroy_group' [-Werror=missing-prototypes]
5835 | void sched_destroy_group(struct task_group *tg)
| ^~~~~~~~~~~~~~~~~~~
>> kernel/sched/alt_core.c:5841:6: error: no previous prototype for 'sched_offline_group' [-Werror=missing-prototypes]
5841 | void sched_offline_group(struct task_group *tg)
| ^~~~~~~~~~~~~~~~~~~
>> kernel/sched/alt_core.c:5933:27: error: initialized field overwritten [-Werror=override-init]
5933 | .legacy_cftypes = cpu_legacy_files,
| ^~~~~~~~~~~~~~~~
kernel/sched/alt_core.c:5933:27: note: (near initialization for 'cpu_cgrp_subsys.legacy_cftypes')
kernel/sched/alt_core.c: In function 'select_fallback_rq':
kernel/sched/alt_core.c:1357:28: error: this statement may fall through [-Werror=implicit-fallthrough=]
1357 | if (IS_ENABLED(CONFIG_CPUSETS)) {
| ^
kernel/sched/alt_core.c:1363:17: note: here
1363 | case possible:
| ^~~~
At top level:
kernel/sched/alt_core.c:142:18: error: 'sched_sg_idle_mask' defined but not used [-Werror=unused-variable]
142 | static cpumask_t sched_sg_idle_mask ____cacheline_aligned_in_smp;
| ^~~~~~~~~~~~~~~~~~
In file included from include/linux/perf_event.h:25,
from include/linux/trace_events.h:10,
from include/trace/syscall.h:7,
from include/linux/syscalls.h:87,
from kernel/sched/alt_sched.h:38,
from kernel/sched/sched.h:6,
from kernel/sched/alt_core.c:14:
arch/arc/include/asm/perf_event.h:126:27: error: 'arc_pmu_cache_map' defined but not used [-Werror=unused-const-variable=]
126 | static const unsigned int arc_pmu_cache_map[C(MAX)][C(OP_MAX)][C(RESULT_MAX)] = {
| ^~~~~~~~~~~~~~~~~
arch/arc/include/asm/perf_event.h:91:27: error: 'arc_pmu_ev_hw_map' defined but not used [-Werror=unused-const-variable=]
91 | static const char * const arc_pmu_ev_hw_map[] = {
| ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/resched_curr +652 kernel/sched/alt_core.c
644
645 /*
646 * resched_curr - mark rq's current task 'to be rescheduled now'.
647 *
648 * On UP this means the setting of the need_resched flag, on SMP it
649 * might also involve a cross-CPU call to trigger the scheduler on
650 * the target CPU.
651 */
> 652 void resched_curr(struct rq *rq)
653 {
654 struct task_struct *curr = rq->curr;
655 int cpu;
656
657 lockdep_assert_held(&rq->lock);
658
659 if (test_tsk_need_resched(curr))
660 return;
661
662 cpu = cpu_of(rq);
663 if (cpu == smp_processor_id()) {
664 set_tsk_need_resched(curr);
665 set_preempt_need_resched();
666 return;
667 }
668
669 if (set_nr_and_not_polling(curr))
670 smp_send_reschedule(cpu);
671 else
672 trace_sched_wake_idle_without_ipi(cpu);
673 }
674
> 675 void resched_cpu(int cpu)
676 {
677 struct rq *rq = cpu_rq(cpu);
678 unsigned long flags;
679
680 raw_spin_lock_irqsave(&rq->lock, flags);
681 if (cpu_online(cpu) || cpu == smp_processor_id())
682 resched_curr(cpu_rq(cpu));
683 raw_spin_unlock_irqrestore(&rq->lock, flags);
684 }
685
686 #ifdef CONFIG_SMP
687 #ifdef CONFIG_NO_HZ_COMMON
688 void nohz_balance_enter_idle(int cpu)
689 {
690 }
691
> 692 void select_nohz_load_balancer(int stop_tick)
693 {
694 }
695
> 696 void set_cpu_sd_state_idle(void) {}
697
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
Re: [Intel-gfx] [PATCH V3] drm/i915/gt: Hold RPM wakelock during PXP suspend
by kernel test robot
Hi Tejas,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip next-20211112]
[cannot apply to v5.15]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Tejas-Upadhyay/drm-i915-gt-Hold-...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-defconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/c134397c55fb3639fdcea780a83fd5f54...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Tejas-Upadhyay/drm-i915-gt-Hold-RPM-wakelock-during-PXP-suspend/20211111-204949
git checkout c134397c55fb3639fdcea780a83fd5f5402c93de
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/gt/intel_gt_pm.c: In function 'intel_gt_suspend_prepare':
>> drivers/gpu/drm/i915/gt/intel_gt_pm.c:304:2: error: too few arguments to function 'intel_pxp_suspend_prepare'
304 | intel_pxp_suspend_prepare(>->pxp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/gt/intel_gt_pm.c:21:
drivers/gpu/drm/i915/pxp/intel_pxp_pm.h:17:20: note: declared here
17 | static inline void intel_pxp_suspend_prepare(struct intel_pxp *pxp, bool runtime)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/intel_pxp_suspend_prepare +304 drivers/gpu/drm/i915/gt/intel_gt_pm.c
298
299 void intel_gt_suspend_prepare(struct intel_gt *gt)
300 {
301 user_forcewake(gt, true);
302 wait_for_suspend(gt);
303
> 304 intel_pxp_suspend_prepare(>->pxp);
305 }
306
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
[lst:imx8mq-vpu-blk-ctrl 22/23] drivers/staging/media/hantro/hantro_drv.c:594:12: error: field name not in record or union initializer
by kernel test robot
tree: https://git.pengutronix.de/git/lst/linux imx8mq-vpu-blk-ctrl
head: 2cd41211c1291460262d24269ae37db016dadf82
commit: 89853879eff9bbcf33b45b7f0000c95042cd45c2 [22/23] HACK: media: hantro: split i.MX8MQ G1 code
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add lst https://git.pengutronix.de/git/lst/linux
git fetch --no-tags lst imx8mq-vpu-blk-ctrl
git checkout 89853879eff9bbcf33b45b7f0000c95042cd45c2
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash drivers/staging/media/hantro/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/staging/media/hantro/hantro_drv.c:594:12: error: field name not in record or union initializer
594 | {{ .compatible = "nxp,imx8mq-vpu-g1", .data = &imx8mq_g1_vpu_variant, },
| ^
drivers/staging/media/hantro/hantro_drv.c:594:12: note: (near initialization for 'of_hantro_match[7].name')
drivers/staging/media/hantro/hantro_drv.c:594:47: error: field name not in record or union initializer
594 | {{ .compatible = "nxp,imx8mq-vpu-g1", .data = &imx8mq_g1_vpu_variant, },
| ^
drivers/staging/media/hantro/hantro_drv.c:594:47: note: (near initialization for 'of_hantro_match[7].name')
>> drivers/staging/media/hantro/hantro_drv.c:594:55: error: excess elements in struct initializer
594 | {{ .compatible = "nxp,imx8mq-vpu-g1", .data = &imx8mq_g1_vpu_variant, },
| ^
drivers/staging/media/hantro/hantro_drv.c:594:55: note: (near initialization for 'of_hantro_match[7].name')
drivers/staging/media/hantro/hantro_drv.c:595:11: error: field name not in record or union initializer
595 | { .compatible = "nxp,imx8mq-vpu-g2", .data = &imx8mq_vpu_g2_variant },
| ^
drivers/staging/media/hantro/hantro_drv.c:595:11: note: (near initialization for 'of_hantro_match[7].type')
drivers/staging/media/hantro/hantro_drv.c:595:46: error: field name not in record or union initializer
595 | { .compatible = "nxp,imx8mq-vpu-g2", .data = &imx8mq_vpu_g2_variant },
| ^
drivers/staging/media/hantro/hantro_drv.c:595:46: note: (near initialization for 'of_hantro_match[7].type')
drivers/staging/media/hantro/hantro_drv.c:595:54: error: excess elements in struct initializer
595 | { .compatible = "nxp,imx8mq-vpu-g2", .data = &imx8mq_vpu_g2_variant },
| ^
drivers/staging/media/hantro/hantro_drv.c:595:54: note: (near initialization for 'of_hantro_match[7].type')
drivers/staging/media/hantro/hantro_drv.c:598:11: error: field name not in record or union initializer
598 | { .compatible = "microchip,sama5d4-vdec", .data = &sama5d4_vdec_variant, },
| ^
drivers/staging/media/hantro/hantro_drv.c:598:11: note: (near initialization for 'of_hantro_match[7].compatible')
drivers/staging/media/hantro/hantro_drv.c:598:51: error: field name not in record or union initializer
598 | { .compatible = "microchip,sama5d4-vdec", .data = &sama5d4_vdec_variant, },
| ^
drivers/staging/media/hantro/hantro_drv.c:598:51: note: (near initialization for 'of_hantro_match[7].compatible')
drivers/staging/media/hantro/hantro_drv.c:598:59: error: excess elements in struct initializer
598 | { .compatible = "microchip,sama5d4-vdec", .data = &sama5d4_vdec_variant, },
| ^
drivers/staging/media/hantro/hantro_drv.c:598:59: note: (near initialization for 'of_hantro_match[7].compatible')
drivers/staging/media/hantro/hantro_drv.c:600:9: error: braces around scalar initializer [-Werror]
600 | { /* sentinel */ }
| ^
drivers/staging/media/hantro/hantro_drv.c:600:9: note: (near initialization for 'of_hantro_match[7].data')
>> drivers/staging/media/hantro/hantro_drv.c:600:9: error: empty scalar initializer
drivers/staging/media/hantro/hantro_drv.c:600:9: note: (near initialization for 'of_hantro_match[7].data')
>> drivers/staging/media/hantro/hantro_drv.c:601:2: error: expected '}' before ';' token
601 | };
| ^
drivers/staging/media/hantro/hantro_drv.c:583:54: note: to match this '{'
583 | static const struct of_device_id of_hantro_match[] = {
| ^
>> drivers/staging/media/hantro/hantro_drv.c:583:34: error: 'of_hantro_match' defined but not used [-Werror=unused-const-variable=]
583 | static const struct of_device_id of_hantro_match[] = {
| ^~~~~~~~~~~~~~~
>> drivers/staging/media/hantro/hantro_drv.c:574:42: error: 'hantro_fops' defined but not used [-Werror=unused-const-variable=]
574 | static const struct v4l2_file_operations hantro_fops = {
| ^~~~~~~~~~~
>> drivers/staging/media/hantro/hantro_drv.c:182:28: error: 'vpu_m2m_ops' defined but not used [-Werror=unused-variable]
182 | static struct v4l2_m2m_ops vpu_m2m_ops = {
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
vim +594 drivers/staging/media/hantro/hantro_drv.c
573
> 574 static const struct v4l2_file_operations hantro_fops = {
575 .owner = THIS_MODULE,
576 .open = hantro_open,
577 .release = hantro_release,
578 .poll = v4l2_m2m_fop_poll,
579 .unlocked_ioctl = video_ioctl2,
580 .mmap = v4l2_m2m_fop_mmap,
581 };
582
> 583 static const struct of_device_id of_hantro_match[] = {
584 #ifdef CONFIG_VIDEO_HANTRO_ROCKCHIP
585 { .compatible = "rockchip,px30-vpu", .data = &px30_vpu_variant, },
586 { .compatible = "rockchip,rk3036-vpu", .data = &rk3036_vpu_variant, },
587 { .compatible = "rockchip,rk3066-vpu", .data = &rk3066_vpu_variant, },
588 { .compatible = "rockchip,rk3288-vpu", .data = &rk3288_vpu_variant, },
589 { .compatible = "rockchip,rk3328-vpu", .data = &rk3328_vpu_variant, },
590 { .compatible = "rockchip,rk3399-vpu", .data = &rk3399_vpu_variant, },
591 #endif
592 #ifdef CONFIG_VIDEO_HANTRO_IMX8M
593 { .compatible = "nxp,imx8mq-vpu", .data = &imx8mq_vpu_variant, },
> 594 {{ .compatible = "nxp,imx8mq-vpu-g1", .data = &imx8mq_g1_vpu_variant, },
595 { .compatible = "nxp,imx8mq-vpu-g2", .data = &imx8mq_vpu_g2_variant },
596 #endif
597 #ifdef CONFIG_VIDEO_HANTRO_SAMA5D4
598 { .compatible = "microchip,sama5d4-vdec", .data = &sama5d4_vdec_variant, },
599 #endif
> 600 { /* sentinel */ }
> 601 };
602 MODULE_DEVICE_TABLE(of, of_hantro_match);
603
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
Re: [PATCH v2 bpf-next 2/2] bpf: introduce btf_tracing_ids
by kernel test robot
Hi Song,
I love your patch! Yet something to improve:
[auto build test ERROR on bpf-next/master]
url: https://github.com/0day-ci/linux/commits/Song-Liu/introduce-btf_tracing_i...
base: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/44d18dd3ca4645c999b4c0ec9ae232de7...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Song-Liu/introduce-btf_tracing_ids/20211112-150610
git checkout 44d18dd3ca4645c999b4c0ec9ae232de79648286
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
kernel/bpf/task_iter.c: In function 'task_iter_init':
>> kernel/bpf/task_iter.c:655:46: error: assignment to 'u32' {aka 'unsigned int'} from 'u32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Werror=int-conversion]
655 | task_reg_info.ctx_arg_info[0].btf_id = &btf_tracing_ids[BTF_TRACING_TYPE_TASK];
| ^
kernel/bpf/task_iter.c:660:51: error: assignment to 'u32' {aka 'unsigned int'} from 'u32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Werror=int-conversion]
660 | task_file_reg_info.ctx_arg_info[0].btf_id = &btf_tracing_ids[BTF_TRACING_TYPE_TASK];
| ^
kernel/bpf/task_iter.c:661:51: error: assignment to 'u32' {aka 'unsigned int'} from 'u32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Werror=int-conversion]
661 | task_file_reg_info.ctx_arg_info[1].btf_id = &btf_tracing_ids[BTF_TRACING_TYPE_FILE];
| ^
kernel/bpf/task_iter.c:666:50: error: assignment to 'u32' {aka 'unsigned int'} from 'u32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Werror=int-conversion]
666 | task_vma_reg_info.ctx_arg_info[0].btf_id = &btf_tracing_ids[BTF_TRACING_TYPE_TASK];
| ^
kernel/bpf/task_iter.c:667:50: error: assignment to 'u32' {aka 'unsigned int'} from 'u32 *' {aka 'unsigned int *'} makes integer from pointer without a cast [-Werror=int-conversion]
667 | task_vma_reg_info.ctx_arg_info[1].btf_id = &btf_tracing_ids[BTF_TRACING_TYPE_VMA];
| ^
cc1: all warnings being treated as errors
vim +655 kernel/bpf/task_iter.c
644
645 static int __init task_iter_init(void)
646 {
647 struct mmap_unlock_irq_work *work;
648 int ret, cpu;
649
650 for_each_possible_cpu(cpu) {
651 work = per_cpu_ptr(&mmap_unlock_work, cpu);
652 init_irq_work(&work->irq_work, do_mmap_read_unlock);
653 }
654
> 655 task_reg_info.ctx_arg_info[0].btf_id = &btf_tracing_ids[BTF_TRACING_TYPE_TASK];
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
[linux-next:master 12269/13751] fs/dlm/midcomms.c:913:22: sparse: sparse: restricted __le32 degrades to integer
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: f2e19fd15bd7cba347ce50be71955f5cd28a6019
commit: 658bd576f95ed597e519cdadf1c86ac87c17aea5 [12269/13751] fs: dlm: move version conversion to compile time
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 658bd576f95ed597e519cdadf1c86ac87c17aea5
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
fs/dlm/midcomms.c:213:1: sparse: sparse: symbol '__srcu_struct_nodes_srcu' was not declared. Should it be static?
fs/dlm/midcomms.c:570:25: sparse: sparse: cast to restricted __le32
fs/dlm/midcomms.c:678:19: sparse: sparse: cast to restricted __le16
fs/dlm/midcomms.c:680:16: sparse: sparse: cast to restricted __le16
fs/dlm/midcomms.c:718:27: sparse: sparse: cast to restricted __le16
fs/dlm/midcomms.c:737:25: sparse: sparse: cast to restricted __le32
fs/dlm/midcomms.c:747:25: sparse: sparse: cast to restricted __le32
fs/dlm/midcomms.c:756:23: sparse: sparse: cast to restricted __le32
fs/dlm/midcomms.c:766:42: sparse: sparse: cast to restricted __le16
fs/dlm/midcomms.c:769:26: sparse: sparse: cast to restricted __le16
fs/dlm/midcomms.c:804:23: sparse: sparse: cast to restricted __le32
fs/dlm/midcomms.c:838:27: sparse: sparse: cast to restricted __le16
fs/dlm/midcomms.c:898:26: sparse: sparse: cast to restricted __le16
fs/dlm/midcomms.c:920:25: sparse: sparse: cast to restricted __le32
>> fs/dlm/midcomms.c:913:22: sparse: sparse: restricted __le32 degrades to integer
fs/dlm/midcomms.c:916:22: sparse: sparse: restricted __le32 degrades to integer
fs/dlm/midcomms.c:1056:20: sparse: sparse: context imbalance in 'dlm_midcomms_get_mhandle' - wrong count at exit
fs/dlm/midcomms.c: note: in included file (through include/linux/notifier.h, arch/x86/include/asm/uprobes.h, include/linux/uprobes.h, ...):
include/linux/srcu.h:188:9: sparse: sparse: context imbalance in 'dlm_midcomms_commit_mhandle' - unexpected unlock
vim +913 fs/dlm/midcomms.c
871
872 /*
873 * Called from the low-level comms layer to process a buffer of
874 * commands.
875 */
876
877 int dlm_process_incoming_buffer(int nodeid, unsigned char *buf, int len)
878 {
879 const unsigned char *ptr = buf;
880 const struct dlm_header *hd;
881 uint16_t msglen;
882 int ret = 0;
883
884 while (len >= sizeof(struct dlm_header)) {
885 hd = (struct dlm_header *)ptr;
886
887 /* no message should be more than DLM_MAX_SOCKET_BUFSIZE or
888 * less than dlm_header size.
889 *
890 * Some messages does not have a 8 byte length boundary yet
891 * which can occur in a unaligned memory access of some dlm
892 * messages. However this problem need to be fixed at the
893 * sending side, for now it seems nobody run into architecture
894 * related issues yet but it slows down some processing.
895 * Fixing this issue should be scheduled in future by doing
896 * the next major version bump.
897 */
898 msglen = le16_to_cpu(hd->h_length);
899 if (msglen > DLM_MAX_SOCKET_BUFSIZE ||
900 msglen < sizeof(struct dlm_header)) {
901 log_print("received invalid length header: %u from node %d, will abort message parsing",
902 msglen, nodeid);
903 return -EBADMSG;
904 }
905
906 /* caller will take care that leftover
907 * will be parsed next call with more data
908 */
909 if (msglen > len)
910 break;
911
912 switch (hd->h_version) {
> 913 case cpu_to_le32(DLM_VERSION_3_1):
914 dlm_midcomms_receive_buffer_3_1((union dlm_packet *)ptr, nodeid);
915 break;
916 case cpu_to_le32(DLM_VERSION_3_2):
917 dlm_midcomms_receive_buffer_3_2((union dlm_packet *)ptr, nodeid);
918 break;
919 default:
920 log_print("received invalid version header: %u from node %d, will skip this message",
921 le32_to_cpu(hd->h_version), nodeid);
922 break;
923 }
924
925 ret += msglen;
926 len -= msglen;
927 ptr += msglen;
928 }
929
930 return ret;
931 }
932
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week
arch/x86/hyperv/hv_init.c:366:21: sparse: sparse: incorrect type in assignment (different address spaces)
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 5833291ab6de9c3e2374336b51c814e515e8f3a5
commit: 99a0f46af6a7715147e81c558d558021aad4e207 x86/hyperv: extract partition ID from Microsoft Hypervisor if necessary
date: 9 months ago
config: i386-randconfig-s002-20211109 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 99a0f46af6a7715147e81c558d558021aad4e207
# 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(a)intel.com>
sparse warnings: (new ones prefixed by >>)
arch/x86/hyperv/hv_init.c:90:30: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got void [noderef] __percpu ** @@
arch/x86/hyperv/hv_init.c:90:30: sparse: expected void const [noderef] __percpu *__vpp_verify
arch/x86/hyperv/hv_init.c:90:30: sparse: got void [noderef] __percpu **
arch/x86/hyperv/hv_init.c:95:39: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got void [noderef] __percpu ** @@
arch/x86/hyperv/hv_init.c:95:39: sparse: expected void const [noderef] __percpu *__vpp_verify
arch/x86/hyperv/hv_init.c:95:39: sparse: got void [noderef] __percpu **
arch/x86/hyperv/hv_init.c:227:30: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got void [noderef] __percpu ** @@
arch/x86/hyperv/hv_init.c:227:30: sparse: expected void const [noderef] __percpu *__vpp_verify
arch/x86/hyperv/hv_init.c:227:30: sparse: got void [noderef] __percpu **
arch/x86/hyperv/hv_init.c:234:39: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got void [noderef] __percpu ** @@
arch/x86/hyperv/hv_init.c:234:39: sparse: expected void const [noderef] __percpu *__vpp_verify
arch/x86/hyperv/hv_init.c:234:39: sparse: got void [noderef] __percpu **
arch/x86/hyperv/hv_init.c:366:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got void [noderef] __percpu ** @@
arch/x86/hyperv/hv_init.c:366:24: sparse: expected void const [noderef] __percpu *__vpp_verify
arch/x86/hyperv/hv_init.c:366:24: sparse: got void [noderef] __percpu **
>> arch/x86/hyperv/hv_init.c:366:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct hv_get_partition_id *output_page @@ got void [noderef] __percpu * @@
arch/x86/hyperv/hv_init.c:366:21: sparse: expected struct hv_get_partition_id *output_page
arch/x86/hyperv/hv_init.c:366:21: sparse: got void [noderef] __percpu *
arch/x86/hyperv/hv_init.c:407:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __percpu **extern [addressable] [toplevel] hyperv_pcpu_input_arg @@ got void *[noderef] __percpu * @@
arch/x86/hyperv/hv_init.c:407:31: sparse: expected void [noderef] __percpu **extern [addressable] [toplevel] hyperv_pcpu_input_arg
arch/x86/hyperv/hv_init.c:407:31: sparse: got void *[noderef] __percpu *
arch/x86/hyperv/hv_init.c:413:40: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __percpu **extern [addressable] [toplevel] hyperv_pcpu_output_arg @@ got void *[noderef] __percpu * @@
arch/x86/hyperv/hv_init.c:413:40: sparse: expected void [noderef] __percpu **extern [addressable] [toplevel] hyperv_pcpu_output_arg
arch/x86/hyperv/hv_init.c:413:40: sparse: got void *[noderef] __percpu *
vim +366 arch/x86/hyperv/hv_init.c
358
359 static void __init hv_get_partition_id(void)
360 {
361 struct hv_get_partition_id *output_page;
362 u64 status;
363 unsigned long flags;
364
365 local_irq_save(flags);
> 366 output_page = *this_cpu_ptr(hyperv_pcpu_output_arg);
367 status = hv_do_hypercall(HVCALL_GET_PARTITION_ID, NULL, output_page);
368 if ((status & HV_HYPERCALL_RESULT_MASK) != HV_STATUS_SUCCESS) {
369 /* No point in proceeding if this failed */
370 pr_err("Failed to get partition ID: %lld\n", status);
371 BUG();
372 }
373 hv_current_partition_id = output_page->partition_id;
374 local_irq_restore(flags);
375 }
376
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
10 months, 1 week