File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -215,20 +215,20 @@ ifdef CONFIG_LTO_CLANG
215
215
# to the kernel and/or modules at the end.
216
216
cmd_modversions_c = \
217
217
if $(OBJDUMP) -h $(@D)/.tmp_$(@F) >/dev/null 2>/dev/null; then \
218
- if $(OBJDUMP) -h $(@D)/.tmp_$(@F) | grep -q __ksymtab; then \
218
+ if $(OBJDUMP) -h $(@D)/.tmp_$(@F) 2>/dev/null | grep -q __ksymtab; then \
219
219
$(call cmd_gensymtypes_c,$(KBUILD_SYMTYPES),$(@:.o=.symtypes)) \
220
220
> $(@D)/$(@F).symversions; \
221
221
fi; \
222
222
else \
223
- if $(LLVM_DIS) -o=- $(@D)/.tmp_$(@F) | grep -q __ksymtab; then \
223
+ if $(LLVM_DIS) -o=- $(@D)/.tmp_$(@F) 2>/dev/null | grep -q __ksymtab; then \
224
224
$(call cmd_gensymtypes_c,$(KBUILD_SYMTYPES),$(@:.o=.symtypes)) \
225
225
> $(@D)/$(@F).symversions; \
226
226
fi; \
227
227
fi; \
228
228
mv -f $(@D)/.tmp_$(@F) $@;
229
229
else
230
230
cmd_modversions_c = \
231
- if $(OBJDUMP) -h $(@D)/.tmp_$(@F) | grep -q __ksymtab; then \
231
+ if $(OBJDUMP) -h $(@D)/.tmp_$(@F) 2>/dev/null | grep -q __ksymtab; then \
232
232
$(call cmd_gensymtypes_c,$(KBUILD_SYMTYPES),$(@:.o=.symtypes)) \
233
233
> $(@D)/.tmp_$(@F:.o=.ver); \
234
234
\
You can’t perform that action at this time.
0 commit comments