sound/soc/soc-compress.c:75:28: warning: 'component' is used uninitialized in this function
by kbuild test robot
Hi Kuninori,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: fb279f4e238617417b132a550f24c1e86d922558
commit: 613fb50059cf19aa6acbc503a00265d9151c0b09 ASoC: soc-core: remove snd_soc_rtdcom_list
date: 7 weeks ago
config: x86_64-randconfig-s2-20200302 (attached as .config)
compiler: gcc-6 (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
reproduce:
git checkout 613fb50059cf19aa6acbc503a00265d9151c0b09
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
sound/soc/soc-compress.c: In function 'soc_compr_open':
>> sound/soc/soc-compress.c:75:28: warning: 'component' is used uninitialized in this function [-Wuninitialized]
struct snd_soc_component *component, *save = NULL;
^~~~~~~~~
vim +/component +75 sound/soc/soc-compress.c
1e57b82891ade3 Charles Keepax 2018-04-24 71
1e57b82891ade3 Charles Keepax 2018-04-24 72 static int soc_compr_open(struct snd_compr_stream *cstream)
1e57b82891ade3 Charles Keepax 2018-04-24 73 {
1e57b82891ade3 Charles Keepax 2018-04-24 74 struct snd_soc_pcm_runtime *rtd = cstream->private_data;
4137f4b65df760 Cezary Rojewski 2019-12-17 @75 struct snd_soc_component *component, *save = NULL;
1e57b82891ade3 Charles Keepax 2018-04-24 76 struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
613fb50059cf19 Kuninori Morimoto 2020-01-10 77 int ret, i;
1e57b82891ade3 Charles Keepax 2018-04-24 78
613fb50059cf19 Kuninori Morimoto 2020-01-10 79 for_each_rtd_components(rtd, i, component) {
4137f4b65df760 Cezary Rojewski 2019-12-17 80 ret = pm_runtime_get_sync(component->dev);
4137f4b65df760 Cezary Rojewski 2019-12-17 81 if (ret < 0 && ret != -EACCES) {
4137f4b65df760 Cezary Rojewski 2019-12-17 82 pm_runtime_put_noidle(component->dev);
4137f4b65df760 Cezary Rojewski 2019-12-17 83 save = component;
4137f4b65df760 Cezary Rojewski 2019-12-17 84 goto pm_err;
4137f4b65df760 Cezary Rojewski 2019-12-17 85 }
4137f4b65df760 Cezary Rojewski 2019-12-17 86 }
4137f4b65df760 Cezary Rojewski 2019-12-17 87
72b745e3ad65de Peter Ujfalusi 2019-08-13 88 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass);
1e57b82891ade3 Charles Keepax 2018-04-24 89
1e57b82891ade3 Charles Keepax 2018-04-24 90 if (cpu_dai->driver->cops && cpu_dai->driver->cops->startup) {
1e57b82891ade3 Charles Keepax 2018-04-24 91 ret = cpu_dai->driver->cops->startup(cstream, cpu_dai);
1e57b82891ade3 Charles Keepax 2018-04-24 92 if (ret < 0) {
1e57b82891ade3 Charles Keepax 2018-04-24 93 dev_err(cpu_dai->dev,
1e57b82891ade3 Charles Keepax 2018-04-24 94 "Compress ASoC: can't open interface %s: %d\n",
1e57b82891ade3 Charles Keepax 2018-04-24 95 cpu_dai->name, ret);
1e57b82891ade3 Charles Keepax 2018-04-24 96 goto out;
1e57b82891ade3 Charles Keepax 2018-04-24 97 }
1e57b82891ade3 Charles Keepax 2018-04-24 98 }
1e57b82891ade3 Charles Keepax 2018-04-24 99
1e57b82891ade3 Charles Keepax 2018-04-24 100 ret = soc_compr_components_open(cstream, &component);
1e57b82891ade3 Charles Keepax 2018-04-24 101 if (ret < 0)
1e57b82891ade3 Charles Keepax 2018-04-24 102 goto machine_err;
9e7e3738ab0e90 Kuninori Morimoto 2017-10-11 103
1245b7005de02d Namarta Kohli 2012-08-16 104 if (rtd->dai_link->compr_ops && rtd->dai_link->compr_ops->startup) {
1245b7005de02d Namarta Kohli 2012-08-16 105 ret = rtd->dai_link->compr_ops->startup(cstream);
1245b7005de02d Namarta Kohli 2012-08-16 106 if (ret < 0) {
141dfc9e3751f5 Charles Keepax 2018-01-26 107 dev_err(rtd->dev,
141dfc9e3751f5 Charles Keepax 2018-01-26 108 "Compress ASoC: %s startup failed: %d\n",
141dfc9e3751f5 Charles Keepax 2018-01-26 109 rtd->dai_link->name, ret);
1245b7005de02d Namarta Kohli 2012-08-16 110 goto machine_err;
1245b7005de02d Namarta Kohli 2012-08-16 111 }
1245b7005de02d Namarta Kohli 2012-08-16 112 }
1245b7005de02d Namarta Kohli 2012-08-16 113
24894b76468ed2 Lars-Peter Clausen 2014-03-05 114 snd_soc_runtime_activate(rtd, cstream->direction);
1245b7005de02d Namarta Kohli 2012-08-16 115
72b745e3ad65de Peter Ujfalusi 2019-08-13 116 mutex_unlock(&rtd->card->pcm_mutex);
15e2e6194a3ae1 Charles Keepax 2013-01-24 117
1245b7005de02d Namarta Kohli 2012-08-16 118 return 0;
1245b7005de02d Namarta Kohli 2012-08-16 119
1245b7005de02d Namarta Kohli 2012-08-16 120 machine_err:
1e57b82891ade3 Charles Keepax 2018-04-24 121 soc_compr_components_free(cstream, component);
9e7e3738ab0e90 Kuninori Morimoto 2017-10-11 122
2e622ae41e653c Vinod Koul 2016-11-13 123 if (cpu_dai->driver->cops && cpu_dai->driver->cops->shutdown)
2e622ae41e653c Vinod Koul 2016-11-13 124 cpu_dai->driver->cops->shutdown(cstream, cpu_dai);
1245b7005de02d Namarta Kohli 2012-08-16 125 out:
72b745e3ad65de Peter Ujfalusi 2019-08-13 126 mutex_unlock(&rtd->card->pcm_mutex);
4137f4b65df760 Cezary Rojewski 2019-12-17 127 pm_err:
613fb50059cf19 Kuninori Morimoto 2020-01-10 128 for_each_rtd_components(rtd, i, component) {
4137f4b65df760 Cezary Rojewski 2019-12-17 129 if (component == save)
4137f4b65df760 Cezary Rojewski 2019-12-17 130 break;
4137f4b65df760 Cezary Rojewski 2019-12-17 131 pm_runtime_mark_last_busy(component->dev);
4137f4b65df760 Cezary Rojewski 2019-12-17 132 pm_runtime_put_autosuspend(component->dev);
4137f4b65df760 Cezary Rojewski 2019-12-17 133 }
4137f4b65df760 Cezary Rojewski 2019-12-17 134
1245b7005de02d Namarta Kohli 2012-08-16 135 return ret;
1245b7005de02d Namarta Kohli 2012-08-16 136 }
1245b7005de02d Namarta Kohli 2012-08-16 137
:::::: The code at line 75 was first introduced by commit
:::::: 4137f4b65df7608e52f307f4aa9792b984bad7de ASoC: compress: Add pm_runtime support
:::::: TO: Cezary Rojewski <cezary.rojewski(a)intel.com>
:::::: CC: Mark Brown <broonie(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [PATCH v3 23/27] powerpc/powernv/pmem: Add debug IOCTLs
by kbuild test robot
Hi Alastair,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on powerpc/next]
[also build test ERROR on char-misc/char-misc-testing linux-nvdimm/libnvdimm-for-next linus/master v5.6-rc3 next-20200228]
[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/Alastair-D-Silva/Add-support-for...
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: i386-randconfig-a001-20200301 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.2-10+deb8u1) 4.9.2
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from <command-line>:1:0:
>> ./usr/include/nvdimm/ocxl-pmem.h:14:36: error: expected identifier before '/' token
OCXL_PMEM_FWDEBUG_GET_PEL = 0x05, // Retrieve Persistent Error Log
^
>> ./usr/include/nvdimm/ocxl-pmem.h:18:35: error: expected specifier-qualifier-list before '/' token
__u32 admin_command_buffer_size; // out
^
./usr/include/nvdimm/ocxl-pmem.h:22:34: error: expected specifier-qualifier-list before '/' token
struct ioctl_ocxl_pmem_fwdebug { // All args are inputs
^
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [PATCH v3 32/32] powerpc/64s: system call support for scv/rfscv instructions
by kbuild test robot
Hi Nicholas,
I love your patch! Yet something to improve:
[auto build test ERROR on powerpc/next]
[also build test ERROR on v5.6-rc3 next-20200228]
[cannot apply to kvm-ppc/kvm-ppc-next scottwood/next]
[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/Nicholas-Piggin/powerpc-64-inter...
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-ppc64e_defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 7.5.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.5.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/powerpc/kernel/entry_64.S: Assembler messages:
>> arch/powerpc/kernel/entry_64.S:67: Error: unrecognized opcode: `interrupt_to_kernel'
>> arch/powerpc/kernel/entry_64.S:164: Error: unrecognized opcode: `rfscv_to_user'
vim +67 arch/powerpc/kernel/entry_64.S
47
48 /*
49 * System calls.
50 */
51 .section ".toc","aw"
52 SYS_CALL_TABLE:
53 .tc sys_call_table[TC],sys_call_table
54
55 COMPAT_SYS_CALL_TABLE:
56 .tc compat_sys_call_table[TC],compat_sys_call_table
57
58 /* This value is used to mark exception frames on the stack. */
59 exception_marker:
60 .tc ID_EXC_MARKER[TC],STACK_FRAME_REGS_MARKER
61
62 .section ".text"
63 .align 7
64
65 .globl system_call_vectored_common
66 system_call_vectored_common:
> 67 INTERRUPT_TO_KERNEL
68 mr r10,r1
69 ld r1,PACAKSAVE(r13)
70 std r10,0(r1)
71 std r11,_NIP(r1)
72 std r12,_MSR(r1)
73 std r0,GPR0(r1)
74 std r10,GPR1(r1)
75 std r2,GPR2(r1)
76 ld r2,PACATOC(r13)
77 mfcr r12
78 li r11,0
79 /* Can we avoid saving r3-r8 in common case? */
80 std r3,GPR3(r1)
81 std r4,GPR4(r1)
82 std r5,GPR5(r1)
83 std r6,GPR6(r1)
84 std r7,GPR7(r1)
85 std r8,GPR8(r1)
86 /* Zero r9-r12, this should only be required when restoring all GPRs */
87 std r11,GPR9(r1)
88 std r11,GPR10(r1)
89 std r11,GPR11(r1)
90 std r11,GPR12(r1)
91 std r9,GPR13(r1)
92 SAVE_NVGPRS(r1)
93 std r11,_XER(r1)
94 std r11,_LINK(r1)
95 std r11,_CTR(r1)
96
97 li r11,0xc00
98 std r11,_TRAP(r1)
99 std r12,_CCR(r1)
100 std r3,ORIG_GPR3(r1)
101 addi r10,r1,STACK_FRAME_OVERHEAD
102 ld r11,exception_marker@toc(r2)
103 std r11,-16(r10) /* "regshere" marker */
104
105 /*
106 * RECONCILE_IRQ_STATE without calling trace_hardirqs_off(), which
107 * would clobber syscall parameters. Also we always enter with IRQs
108 * enabled and nothing pending. system_call_exception() will call
109 * trace_hardirqs_off().
110 *
111 * scv enters with MSR[EE]=1, so don't set PACA_IRQ_HARD_DIS.
112 */
113 li r9,IRQS_ALL_DISABLED
114 stb r9,PACAIRQSOFTMASK(r13)
115
116 /* Calling convention has r9 = orig r0, r10 = regs */
117 mr r9,r0
118 bl system_call_exception
119
120 .Lsyscall_vectored_exit:
121 addi r4,r1,STACK_FRAME_OVERHEAD
122 li r5,1 /* scv */
123 bl syscall_exit_prepare
124
125 ld r2,_CCR(r1)
126 ld r4,_NIP(r1)
127 ld r5,_MSR(r1)
128
129 BEGIN_FTR_SECTION
130 stdcx. r0,0,r1 /* to clear the reservation */
131 END_FTR_SECTION_IFCLR(CPU_FTR_STCX_CHECKS_ADDRESS)
132
133 mtlr r4
134 mtctr r5
135
136 cmpdi r3,0
137 bne syscall_vectored_restore_regs
138 li r0,0
139 li r4,0
140 li r5,0
141 li r6,0
142 li r7,0
143 li r8,0
144 li r9,0
145 li r10,0
146 li r11,0
147 li r12,0
148 mtspr SPRN_XER,r0
149 .Lsyscall_vectored_restore_regs_cont:
150
151 BEGIN_FTR_SECTION
152 HMT_MEDIUM_LOW
153 END_FTR_SECTION_IFSET(CPU_FTR_HAS_PPR)
154
155 /*
156 * We don't need to restore AMR on the way back to userspace for KUAP.
157 * The value of AMR only matters while we're in the kernel.
158 */
159 mtcr r2
160 ld r2,GPR2(r1)
161 ld r3,GPR3(r1)
162 ld r13,GPR13(r1)
163 ld r1,GPR1(r1)
> 164 RFSCV_TO_USER
165 b . /* prevent speculative execution */
166 _ASM_NOKPROBE_SYMBOL(system_call_vectored_common);
167
168 syscall_vectored_restore_regs:
169 ld r4,_XER(r1)
170 REST_NVGPRS(r1)
171 mtspr SPRN_XER,r4
172 ld r0,GPR0(r1)
173 REST_8GPRS(4, r1)
174 ld r12,GPR12(r1)
175 b .Lsyscall_vectored_restore_regs_cont
176
177 .balign IFETCH_ALIGN_BYTES
178 .globl system_call_common
179 system_call_common:
180 _ASM_NOKPROBE_SYMBOL(system_call_common)
181 mr r10,r1
182 ld r1,PACAKSAVE(r13)
183 std r10,0(r1)
184 std r11,_NIP(r1)
185 std r12,_MSR(r1)
186 std r0,GPR0(r1)
187 std r10,GPR1(r1)
188 std r2,GPR2(r1)
189 #ifdef CONFIG_PPC_FSL_BOOK3E
190 START_BTB_FLUSH_SECTION
191 BTB_FLUSH(r10)
192 END_BTB_FLUSH_SECTION
193 #endif
194 ld r2,PACATOC(r13)
195 mfcr r12
196 li r11,0
197 /* Can we avoid saving r3-r8 in common case? */
198 std r3,GPR3(r1)
199 std r4,GPR4(r1)
200 std r5,GPR5(r1)
201 std r6,GPR6(r1)
202 std r7,GPR7(r1)
203 std r8,GPR8(r1)
204 /* Zero r9-r12, this should only be required when restoring all GPRs */
205 std r11,GPR9(r1)
206 std r11,GPR10(r1)
207 std r11,GPR11(r1)
208 std r11,GPR12(r1)
209 std r9,GPR13(r1)
210 SAVE_NVGPRS(r1)
211 std r11,_XER(r1)
212 std r11,_CTR(r1)
213 mflr r10
214
215 /*
216 * This clears CR0.SO (bit 28), which is the error indication on
217 * return from this system call.
218 */
219 rldimi r12,r11,28,(63-28)
220 li r11,0xc00
221 std r10,_LINK(r1)
222 std r11,_TRAP(r1)
223 std r12,_CCR(r1)
224 std r3,ORIG_GPR3(r1)
225 addi r10,r1,STACK_FRAME_OVERHEAD
226 ld r11,exception_marker@toc(r2)
227 std r11,-16(r10) /* "regshere" marker */
228
229 /*
230 * RECONCILE_IRQ_STATE without calling trace_hardirqs_off(), which
231 * would clobber syscall parameters. Also we always enter with IRQs
232 * enabled and nothing pending. system_call_exception() will call
233 * trace_hardirqs_off().
234 */
235 li r11,IRQS_ALL_DISABLED
236 li r12,PACA_IRQ_HARD_DIS
237 stb r11,PACAIRQSOFTMASK(r13)
238 stb r12,PACAIRQHAPPENED(r13)
239
240 /* Calling convention has r9 = orig r0, r10 = regs */
241 mr r9,r0
242 bl system_call_exception
243
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [PATCH v2] x86/kvm: Handle async page faults directly through do_page_fault()
by kbuild test robot
Hi Andy,
I love your patch! Yet something to improve:
[auto build test ERROR on kvm/linux-next]
[also build test ERROR on tip/auto-latest v5.6-rc3 next-20200228]
[cannot apply to tip/x86/core]
[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/Andy-Lutomirski/x86-kvm-Handle-a...
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: i386-randconfig-g003-20200301 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: arch/x86/entry/entry_32.o: in function `async_page_fault':
>> arch/x86/entry/entry_32.S:1704: undefined reference to `do_async_page_fault'
vim +1704 arch/x86/entry/entry_32.S
d211af055d0c12 arch/x86/kernel/entry_32.S Alexander van Heukelum 2008-11-24 1700
631bc487822093 arch/x86/kernel/entry_32.S Gleb Natapov 2010-10-14 1701 #ifdef CONFIG_KVM_GUEST
5e63306f162952 arch/x86/entry/entry_32.S Jiri Slaby 2019-10-11 1702 SYM_CODE_START(async_page_fault)
e59d1b0a24199d arch/x86/kernel/entry_32.S H. Peter Anvin 2012-09-21 1703 ASM_CLAC
131484c8da97ed arch/x86/kernel/entry_32.S Ingo Molnar 2015-05-28 @1704 pushl $do_async_page_fault
b8f70953c1251d arch/x86/entry/entry_32.S Matt Mullins 2019-07-23 1705 jmp common_exception_read_cr2
5e63306f162952 arch/x86/entry/entry_32.S Jiri Slaby 2019-10-11 1706 SYM_CODE_END(async_page_fault)
631bc487822093 arch/x86/kernel/entry_32.S Gleb Natapov 2010-10-14 1707 #endif
2deb4be2807763 arch/x86/entry/entry_32.S Andy Lutomirski 2016-07-14 1708
:::::: The code at line 1704 was first introduced by commit
:::::: 131484c8da97ed600c18dd9d03b661e8ae052df6 x86/debug: Remove perpetually broken, unmaintainable dwarf annotations
:::::: TO: Ingo Molnar <mingo(a)kernel.org>
:::::: CC: Ingo Molnar <mingo(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[drm-drm-intel:topic/core-for-CI 18/20] include/net/ax25.h:121:24: error: redeclaration of enumerator 'AX25_PROTO_DAMA_MASTER'
by kbuild test robot
tree: git://anongit.freedesktop.org/drm/drm-intel topic/core-for-CI
head: 8a61c65409b1993abccc2c379f30a047972a0622
commit: 19f102d485b9f5e03677f73133d9922e2650686f [18/20] Revert "drm/i915: Don't select BROKEN"
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
git checkout 19f102d485b9f5e03677f73133d9922e2650686f
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from net/ipv4/arp.c:110:0:
>> include/net/ax25.h:121:24: error: redeclaration of enumerator 'AX25_PROTO_DAMA_MASTER'
#define AX25_PROTO_MAX AX25_PROTO_DAMA_MASTER
^
include/net/ax25.h:125:2: note: in expansion of macro 'AX25_PROTO_MAX'
AX25_PROTO_MAX = __AX25_PROTO_MAX -1
^~~~~~~~~~~~~~
include/net/ax25.h:120:2: note: previous definition of 'AX25_PROTO_DAMA_MASTER' was here
AX25_PROTO_DAMA_MASTER,
^~~~~~~~~~~~~~~~~~~~~~
--
drivers/staging//rtl8712/rtl8712_xmit.c: In function 'r8712_dump_aggr_xframe':
>> drivers/staging//rtl8712/rtl8712_xmit.c:360:28: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
struct tx_desc *ptxdesc = pxmitbuf->pbuf;
^~~~~~~~
cc1: some warnings being treated as errors
--
>> drivers/staging//media/soc_camera/soc_mediabus.c:19:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "YUYV",
^~~~
>> drivers/staging//media/soc_camera/soc_mediabus.c:19:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "YUYV",
^~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:29:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "YVYU",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:29:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "YVYU",
^~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:39:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "UYVY",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:39:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "UYVY",
^~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:49:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "VYUY",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:49:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "VYUY",
^~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:59:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "RGB555",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:59:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "RGB555",
^~~~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:69:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "RGB555X",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:69:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "RGB555X",
^~~~~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:79:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "RGB565",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:79:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "RGB565",
^~~~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:89:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "RGB565X",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:89:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "RGB565X",
^~~~~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:99:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "RGB666/32bpp",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:99:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "RGB666/32bpp",
^~~~~~~~~~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:108:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "RGB888/32bpp",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:108:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "RGB888/32bpp",
^~~~~~~~~~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:117:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "RGB888/32bpp",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:117:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "RGB888/32bpp",
^~~~~~~~~~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:126:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "RGB888/32bpp",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:126:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "RGB888/32bpp",
^~~~~~~~~~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:135:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "Bayer 8 BGGR",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:135:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "Bayer 8 BGGR",
^~~~~~~~~~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:145:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "Bayer 10 BGGR",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:145:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "Bayer 10 BGGR",
^~~~~~~~~~~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:155:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "Grey",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:155:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "Grey",
^~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:165:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "Grey 10bit",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:165:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "Grey 10bit",
^~~~~~~~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:175:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "Bayer 10 BGGR",
^~~~
drivers/staging//media/soc_camera/soc_mediabus.c:175:13: error: incompatible types when initializing type 'enum soc_mbus_packing' using type 'char *'
.name = "Bayer 10 BGGR",
^~~~~~~~~~~~~~~
drivers/staging//media/soc_camera/soc_mediabus.c:185:4: error: 'struct soc_mbus_pixelfmt' has no member named 'name'
.name = "Bayer 10 BGGR",
vim +/AX25_PROTO_DAMA_MASTER +121 include/net/ax25.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 113
^1da177e4c3f41 Linus Torvalds 2005-04-16 114 enum {
^1da177e4c3f41 Linus Torvalds 2005-04-16 115 AX25_PROTO_STD_SIMPLEX,
^1da177e4c3f41 Linus Torvalds 2005-04-16 116 AX25_PROTO_STD_DUPLEX,
c7c694d196a39a Ralf Baechle 2006-03-19 117 #ifdef CONFIG_AX25_DAMA_SLAVE
^1da177e4c3f41 Linus Torvalds 2005-04-16 118 AX25_PROTO_DAMA_SLAVE,
c7c694d196a39a Ralf Baechle 2006-03-19 119 #ifdef CONFIG_AX25_DAMA_MASTER
c7c694d196a39a Ralf Baechle 2006-03-19 120 AX25_PROTO_DAMA_MASTER,
c7c694d196a39a Ralf Baechle 2006-03-19 @121 #define AX25_PROTO_MAX AX25_PROTO_DAMA_MASTER
c7c694d196a39a Ralf Baechle 2006-03-19 122 #endif
c7c694d196a39a Ralf Baechle 2006-03-19 123 #endif
c7c694d196a39a Ralf Baechle 2006-03-19 124 __AX25_PROTO_MAX,
c7c694d196a39a Ralf Baechle 2006-03-19 125 AX25_PROTO_MAX = __AX25_PROTO_MAX -1
^1da177e4c3f41 Linus Torvalds 2005-04-16 126 };
^1da177e4c3f41 Linus Torvalds 2005-04-16 127
:::::: The code at line 121 was first introduced by commit
:::::: c7c694d196a39af6e644e24279953d04f30362db [AX.25]: Fix potencial memory hole.
:::::: TO: Ralf Baechle DL5RB <ralf(a)linux-mips.org>
:::::: CC: David S. Miller <davem(a)davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[joro:sev-es-client-v5.6-rc3 63/63] arch/x86/entry/entry_64.S:1485: Error: no such instruction: `sev_es_nmi_complete'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/joro/linux.git sev-es-client-v5.6-rc3
head: 0b50bb327cfa5fb70e2bd9b3ed1d6568b3e9f7f6
commit: 0b50bb327cfa5fb70e2bd9b3ed1d6568b3e9f7f6 [63/63] x86/sev-es: Add NMI state tracking
config: x86_64-randconfig-s1-20200301 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
git checkout 0b50bb327cfa5fb70e2bd9b3ed1d6568b3e9f7f6
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/x86/entry/entry_64.S: Assembler messages:
>> arch/x86/entry/entry_64.S:1485: Error: no such instruction: `sev_es_nmi_complete'
arch/x86/entry/entry_64.S:1612: Error: no such instruction: `sev_es_nmi_complete'
arch/x86/entry/entry_64.S:1705: Error: no such instruction: `sev_es_nmi_complete'
vim +1485 arch/x86/entry/entry_64.S
1389
1390 /*
1391 * Runs on exception stack. Xen PV does not go through this path at all,
1392 * so we can use real assembly here.
1393 *
1394 * Registers:
1395 * %r14: Used to save/restore the CR3 of the interrupted context
1396 * when PAGE_TABLE_ISOLATION is in use. Do not clobber.
1397 */
1398 SYM_CODE_START(nmi)
1399 UNWIND_HINT_IRET_REGS
1400
1401 /*
1402 * We allow breakpoints in NMIs. If a breakpoint occurs, then
1403 * the iretq it performs will take us out of NMI context.
1404 * This means that we can have nested NMIs where the next
1405 * NMI is using the top of the stack of the previous NMI. We
1406 * can't let it execute because the nested NMI will corrupt the
1407 * stack of the previous NMI. NMI handlers are not re-entrant
1408 * anyway.
1409 *
1410 * To handle this case we do the following:
1411 * Check the a special location on the stack that contains
1412 * a variable that is set when NMIs are executing.
1413 * The interrupted task's stack is also checked to see if it
1414 * is an NMI stack.
1415 * If the variable is not set and the stack is not the NMI
1416 * stack then:
1417 * o Set the special variable on the stack
1418 * o Copy the interrupt frame into an "outermost" location on the
1419 * stack
1420 * o Copy the interrupt frame into an "iret" location on the stack
1421 * o Continue processing the NMI
1422 * If the variable is set or the previous stack is the NMI stack:
1423 * o Modify the "iret" location to jump to the repeat_nmi
1424 * o return back to the first NMI
1425 *
1426 * Now on exit of the first NMI, we first clear the stack variable
1427 * The NMI stack will tell any nested NMIs at that point that it is
1428 * nested. Then we pop the stack normally with iret, and if there was
1429 * a nested NMI that updated the copy interrupt stack frame, a
1430 * jump will be made to the repeat_nmi code that will handle the second
1431 * NMI.
1432 *
1433 * However, espfix prevents us from directly returning to userspace
1434 * with a single IRET instruction. Similarly, IRET to user mode
1435 * can fault. We therefore handle NMIs from user space like
1436 * other IST entries.
1437 */
1438
1439 ASM_CLAC
1440
1441 /* Use %rdx as our temp variable throughout */
1442 pushq %rdx
1443
1444 testb $3, CS-RIP+8(%rsp)
1445 jz .Lnmi_from_kernel
1446
1447 /*
1448 * NMI from user mode. We need to run on the thread stack, but we
1449 * can't go through the normal entry paths: NMIs are masked, and
1450 * we don't want to enable interrupts, because then we'll end
1451 * up in an awkward situation in which IRQs are on but NMIs
1452 * are off.
1453 *
1454 * We also must not push anything to the stack before switching
1455 * stacks lest we corrupt the "NMI executing" variable.
1456 */
1457
1458 swapgs
1459 cld
1460 FENCE_SWAPGS_USER_ENTRY
1461 SWITCH_TO_KERNEL_CR3 scratch_reg=%rdx
1462 movq %rsp, %rdx
1463 movq PER_CPU_VAR(cpu_current_top_of_stack), %rsp
1464 UNWIND_HINT_IRET_REGS base=%rdx offset=8
1465 pushq 5*8(%rdx) /* pt_regs->ss */
1466 pushq 4*8(%rdx) /* pt_regs->rsp */
1467 pushq 3*8(%rdx) /* pt_regs->flags */
1468 pushq 2*8(%rdx) /* pt_regs->cs */
1469 pushq 1*8(%rdx) /* pt_regs->rip */
1470 UNWIND_HINT_IRET_REGS
1471 pushq $-1 /* pt_regs->orig_ax */
1472 PUSH_AND_CLEAR_REGS rdx=(%rdx)
1473 ENCODE_FRAME_POINTER
1474
1475 /*
1476 * At this point we no longer need to worry about stack damage
1477 * due to nesting -- we're on the normal thread stack and we're
1478 * done with the NMI stack.
1479 */
1480
1481 movq %rsp, %rdi
1482 movq $-1, %rsi
1483 call do_nmi
1484
> 1485 SEV_ES_NMI_COMPLETE
1486
1487 /*
1488 * Return back to user mode. We must *not* do the normal exit
1489 * work, because we don't want to enable interrupts.
1490 */
1491 jmp swapgs_restore_regs_and_return_to_usermode
1492
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[linux-review:UPDATE-20200221-182711/Peter-Zijlstra/tracing-vs-world/20200221-114341 22/22] arch/x86/kernel/alternative.c:977:30: error: inlining failed in call to always_inline 'text_poke_addr': function attribute mismatch
by kbuild test robot
tree: https://github.com/0day-ci/linux/commits/UPDATE-20200221-182711/Peter-Zij...
head: f4dfc8a95f29bf28eda9253734e8f6ffdc0c3d97
commit: f4dfc8a95f29bf28eda9253734e8f6ffdc0c3d97 [22/22] x86/int3: Ensure that poke_int3_handler() is not sanitized
config: x86_64-randconfig-e002-20200301 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-5) 7.5.0
reproduce:
git checkout f4dfc8a95f29bf28eda9253734e8f6ffdc0c3d97
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/preempt.h:78:0,
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 include/linux/context_tracking.h:5,
from arch/x86/kernel/traps.c:15:
arch/x86/kernel/traps.c: In function 'do_int3':
arch/x86/include/asm/preempt.h:24:28: error: inlining failed in call to always_inline 'preempt_count': function attribute mismatch
static __always_inline int preempt_count(void)
^~~~~~~~~~~~~
In file included from arch/x86/include/asm/current.h:5:0,
from include/linux/sched.h:12,
from include/linux/context_tracking.h:5,
from arch/x86/kernel/traps.c:15:
include/linux/preempt.h:102:20: note: called from here
#define in_nmi() (preempt_count() & NMI_MASK)
^~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
include/linux/hardirq.h:83:3: note: in expansion of macro 'BUG_ON'
BUG_ON(in_nmi() == NMI_MASK); \
^~~~~~
include/linux/hardirq.h:83:10: note: in expansion of macro 'in_nmi'
BUG_ON(in_nmi() == NMI_MASK); \
^~~~~~
arch/x86/kernel/traps.c:504:2: note: in expansion of macro 'nmi_enter'
nmi_enter();
^~~~~~~~~
In file included from include/linux/preempt.h:78:0,
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 include/linux/context_tracking.h:5,
from arch/x86/kernel/traps.c:15:
>> arch/x86/include/asm/preempt.h:77:29: error: inlining failed in call to always_inline '__preempt_count_add': function attribute mismatch
static __always_inline void __preempt_count_add(int val)
^~~~~~~~~~~~~~~~~~~
In file included from include/linux/interrupt.h:11:0,
from arch/x86/kernel/traps.c:16:
include/linux/hardirq.h:84:3: note: called from here
__preempt_count_add(NMI_OFFSET + HARDIRQ_OFFSET); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/traps.c:504:2: note: in expansion of macro 'nmi_enter'
nmi_enter();
^~~~~~~~~
In file included from include/linux/preempt.h:78:0,
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 include/linux/context_tracking.h:5,
from arch/x86/kernel/traps.c:15:
arch/x86/include/asm/preempt.h:24:28: error: inlining failed in call to always_inline 'preempt_count': function attribute mismatch
static __always_inline int preempt_count(void)
^~~~~~~~~~~~~
In file included from arch/x86/include/asm/current.h:5:0,
from include/linux/sched.h:12,
from include/linux/context_tracking.h:5,
from arch/x86/kernel/traps.c:15:
include/linux/preempt.h:102:20: note: called from here
#define in_nmi() (preempt_count() & NMI_MASK)
^~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
include/linux/hardirq.h:93:3: note: in expansion of macro 'BUG_ON'
BUG_ON(!in_nmi()); \
^~~~~~
include/linux/hardirq.h:93:11: note: in expansion of macro 'in_nmi'
BUG_ON(!in_nmi()); \
^~~~~~
arch/x86/kernel/traps.c:526:2: note: in expansion of macro 'nmi_exit'
nmi_exit();
^~~~~~~~
In file included from include/linux/preempt.h:78:0,
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 include/linux/context_tracking.h:5,
from arch/x86/kernel/traps.c:15:
>> arch/x86/include/asm/preempt.h:82:29: error: inlining failed in call to always_inline '__preempt_count_sub': function attribute mismatch
static __always_inline void __preempt_count_sub(int val)
^~~~~~~~~~~~~~~~~~~
In file included from include/linux/interrupt.h:11:0,
from arch/x86/kernel/traps.c:16:
include/linux/hardirq.h:94:3: note: called from here
__preempt_count_sub(NMI_OFFSET + HARDIRQ_OFFSET); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/traps.c:526:2: note: in expansion of macro 'nmi_exit'
nmi_exit();
^~~~~~~~
--
arch/x86/kernel/alternative.c: In function 'patch_cmp':
>> arch/x86/kernel/alternative.c:977:30: error: inlining failed in call to always_inline 'text_poke_addr': function attribute mismatch
static __always_inline void *text_poke_addr(struct text_poke_loc *tp)
^~~~~~~~~~~~~~
arch/x86/kernel/alternative.c:986:12: note: called from here
if (key < text_poke_addr(tp))
^~~~~~~~~~~~~~~~~~
>> arch/x86/kernel/alternative.c:977:30: error: inlining failed in call to always_inline 'text_poke_addr': function attribute mismatch
static __always_inline void *text_poke_addr(struct text_poke_loc *tp)
^~~~~~~~~~~~~~
arch/x86/kernel/alternative.c:988:12: note: called from here
if (key > text_poke_addr(tp))
^~~~~~~~~~~~~~~~~~
--
In file included from include/linux/preempt.h:78:0,
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 include/linux/context_tracking.h:5,
from arch/x86//kernel/traps.c:15:
arch/x86//kernel/traps.c: In function 'do_int3':
arch/x86/include/asm/preempt.h:24:28: error: inlining failed in call to always_inline 'preempt_count': function attribute mismatch
static __always_inline int preempt_count(void)
^~~~~~~~~~~~~
In file included from arch/x86/include/asm/current.h:5:0,
from include/linux/sched.h:12,
from include/linux/context_tracking.h:5,
from arch/x86//kernel/traps.c:15:
include/linux/preempt.h:102:20: note: called from here
#define in_nmi() (preempt_count() & NMI_MASK)
^~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
include/linux/hardirq.h:83:3: note: in expansion of macro 'BUG_ON'
BUG_ON(in_nmi() == NMI_MASK); \
^~~~~~
include/linux/hardirq.h:83:10: note: in expansion of macro 'in_nmi'
BUG_ON(in_nmi() == NMI_MASK); \
^~~~~~
arch/x86//kernel/traps.c:504:2: note: in expansion of macro 'nmi_enter'
nmi_enter();
^~~~~~~~~
In file included from include/linux/preempt.h:78:0,
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 include/linux/context_tracking.h:5,
from arch/x86//kernel/traps.c:15:
>> arch/x86/include/asm/preempt.h:77:29: error: inlining failed in call to always_inline '__preempt_count_add': function attribute mismatch
static __always_inline void __preempt_count_add(int val)
^~~~~~~~~~~~~~~~~~~
In file included from include/linux/interrupt.h:11:0,
from arch/x86//kernel/traps.c:16:
include/linux/hardirq.h:84:3: note: called from here
__preempt_count_add(NMI_OFFSET + HARDIRQ_OFFSET); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86//kernel/traps.c:504:2: note: in expansion of macro 'nmi_enter'
nmi_enter();
^~~~~~~~~
In file included from include/linux/preempt.h:78:0,
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 include/linux/context_tracking.h:5,
from arch/x86//kernel/traps.c:15:
arch/x86/include/asm/preempt.h:24:28: error: inlining failed in call to always_inline 'preempt_count': function attribute mismatch
static __always_inline int preempt_count(void)
^~~~~~~~~~~~~
In file included from arch/x86/include/asm/current.h:5:0,
from include/linux/sched.h:12,
from include/linux/context_tracking.h:5,
from arch/x86//kernel/traps.c:15:
include/linux/preempt.h:102:20: note: called from here
#define in_nmi() (preempt_count() & NMI_MASK)
^~~~~~~~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
include/linux/hardirq.h:93:3: note: in expansion of macro 'BUG_ON'
BUG_ON(!in_nmi()); \
^~~~~~
include/linux/hardirq.h:93:11: note: in expansion of macro 'in_nmi'
BUG_ON(!in_nmi()); \
^~~~~~
arch/x86//kernel/traps.c:526:2: note: in expansion of macro 'nmi_exit'
nmi_exit();
^~~~~~~~
In file included from include/linux/preempt.h:78:0,
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 include/linux/context_tracking.h:5,
from arch/x86//kernel/traps.c:15:
>> arch/x86/include/asm/preempt.h:82:29: error: inlining failed in call to always_inline '__preempt_count_sub': function attribute mismatch
static __always_inline void __preempt_count_sub(int val)
^~~~~~~~~~~~~~~~~~~
In file included from include/linux/interrupt.h:11:0,
from arch/x86//kernel/traps.c:16:
include/linux/hardirq.h:94:3: note: called from here
__preempt_count_sub(NMI_OFFSET + HARDIRQ_OFFSET); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86//kernel/traps.c:526:2: note: in expansion of macro 'nmi_exit'
nmi_exit();
^~~~~~~~
vim +/text_poke_addr +977 arch/x86/kernel/alternative.c
c0213b0ac03cf6 Daniel Bristot de Oliveira 2019-06-12 976
ff45b5770bc112 Thomas Gleixner 2020-02-19 @977 static __always_inline void *text_poke_addr(struct text_poke_loc *tp)
4531ef6a8aaf13 Peter Zijlstra 2019-10-09 978 {
4531ef6a8aaf13 Peter Zijlstra 2019-10-09 979 return _stext + tp->rel_addr;
4531ef6a8aaf13 Peter Zijlstra 2019-10-09 980 }
4531ef6a8aaf13 Peter Zijlstra 2019-10-09 981
:::::: The code at line 977 was first introduced by commit
:::::: ff45b5770bc1120b7faba9e52ea124b0c59375ec x86/int3: Ensure that poke_int3_handler() is not traced
:::::: TO: Thomas Gleixner <tglx(a)linutronix.de>
:::::: CC: 0day robot <lkp(a)intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[drm-drm-intel:topic/core-for-CI 18/20] drivers/pci/Kconfig:16:error: recursive dependency detected!
by kbuild test robot
tree: git://anongit.freedesktop.org/drm/drm-intel topic/core-for-CI
head: 8a61c65409b1993abccc2c379f30a047972a0622
commit: 19f102d485b9f5e03677f73133d9922e2650686f [18/20] Revert "drm/i915: Don't select BROKEN"
config: alpha-allnoconfig
compiler: alpha-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 19f102d485b9f5e03677f73133d9922e2650686f
GCC_VERSION=7.5.0 make.cross ARCH=alpha allnoconfig
GCC_VERSION=7.5.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/pci/Kconfig:16:error: recursive dependency detected!
drivers/pci/Kconfig:16: symbol PCI depends on HAVE_PCI
drivers/pci/Kconfig:7: symbol HAVE_PCI is selected by FORCE_PCI
>> drivers/pci/Kconfig:11: symbol FORCE_PCI is selected by ALPHA_JENSEN
>> arch/alpha/Kconfig:204: symbol ALPHA_JENSEN is part of choice <choice>
>> arch/alpha/Kconfig:83: choice <choice> contains symbol ALPHA_JENSEN
>> arch/alpha/Kconfig:204: symbol ALPHA_JENSEN is part of choice BROKEN
init/Kconfig:77: symbol BROKEN is selected by DRM_I915_DEBUG
drivers/gpu/drm/i915/Kconfig.debug:19: symbol DRM_I915_DEBUG depends on DRM_I915
drivers/gpu/drm/i915/Kconfig:2: symbol DRM_I915 depends on DRM
drivers/gpu/drm/Kconfig:8: symbol DRM depends on AGP
drivers/char/agp/Kconfig:2: symbol AGP depends on PCI
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
vim +16 drivers/pci/Kconfig
5f8fc43217a01c Bogicevic Sasa 2016-02-03 5
eb01d42a77785f Christoph Hellwig 2018-11-15 6 # select this to offer the PCI prompt
eb01d42a77785f Christoph Hellwig 2018-11-15 7 config HAVE_PCI
eb01d42a77785f Christoph Hellwig 2018-11-15 8 bool
eb01d42a77785f Christoph Hellwig 2018-11-15 9
eb01d42a77785f Christoph Hellwig 2018-11-15 10 # select this to unconditionally force on PCI support
eb01d42a77785f Christoph Hellwig 2018-11-15 @11 config FORCE_PCI
eb01d42a77785f Christoph Hellwig 2018-11-15 12 bool
eb01d42a77785f Christoph Hellwig 2018-11-15 13 select HAVE_PCI
eb01d42a77785f Christoph Hellwig 2018-11-15 14 select PCI
eb01d42a77785f Christoph Hellwig 2018-11-15 15
eb01d42a77785f Christoph Hellwig 2018-11-15 @16 menuconfig PCI
eb01d42a77785f Christoph Hellwig 2018-11-15 17 bool "PCI support"
eb01d42a77785f Christoph Hellwig 2018-11-15 18 depends on HAVE_PCI
eb01d42a77785f Christoph Hellwig 2018-11-15 19 help
eb01d42a77785f Christoph Hellwig 2018-11-15 20 This option enables support for the PCI local bus, including
eb01d42a77785f Christoph Hellwig 2018-11-15 21 support for PCI-X and the foundations for PCI Express support.
eb01d42a77785f Christoph Hellwig 2018-11-15 22 Say 'Y' here unless you know what you are doing.
eb01d42a77785f Christoph Hellwig 2018-11-15 23
:::::: The code at line 16 was first introduced by commit
:::::: eb01d42a77785ff96b6e66a2a2e7027fc6d78e4a PCI: consolidate PCI config entry in drivers/pci
:::::: TO: Christoph Hellwig <hch(a)lst.de>
:::::: CC: Masahiro Yamada <yamada.masahiro(a)socionext.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year