Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
Linux-Kernel Archive: [axboe-block:io_uring-flags2 48/74] fs/io_uring.c:7388:28: warning: unused function 'io_file_from_index' [axboe-block:io_uring-flags2 48/74] fs/io_uring.c:7388:28: warning: unused function 'io_file_from_index' From: kernel test robot Date: Tue Apr 26 2022 - 17:40:08 EST Next message: Matthias Kaehlcke: "Re: [PATCH v11 3/4] arm64: dts: qcom: sc7280: add lpass lpi pin controller node" Previous message: Zi Yan: "Re: [PATCH v11 0/6] Use pageblock_order for cma and alloc_contig_range alignment." Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io_uring-flags2 head: bfbad055dcd5655d2258b97e8db1653e5109739f commit: 5e45690a1cb8cb591ccf4a517cdd6ad6cb369ac4 [48/74] io_uring: store SCM state in io_fixed_file->file_ptr config: mips-randconfig-r003-20220426 (https://download.01.org/0day-ci/archive/20220427/202204270552.OzdnvA4W-lkp@xxxxxxxxx/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 1cddcfdc3c683b393df1a5c9063252eb60e52818) 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 # install mips cross compiling tool for clang build # apt-get install binutils-mips-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?id=5e45690a1cb8cb591ccf4a517cdd6ad6cb369ac4 git remote add axboe-block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git git fetch --no-tags axboe-block io_uring-flags2 git checkout 5e45690a1cb8cb591ccf4a517cdd6ad6cb369ac4 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): fs/io_uring.c:8498:6: warning: unused variable 'i' int i; ^ >> fs/io_uring.c:7388:28: warning: unused function 'io_file_from_index' static inline struct file io_ring_ctx ^ fatal error: error in backend: Nested variants found in inline asm string: ' .set push .set mips64r2 .if ( 0x00 ) != -1)) 0x00 ) != -1)) : ($( static struct ftrace_branch_data __attribute__((__aligned__(4))) __attribute__((__section__("_ftrace_branch"))) __if_trace = $( .func = __func__, .file = "arch/mips/include/asm/atomic.h", .line = 155, $); 0x00 ) != -1)) : $))) ) && ( 0 ); .set push; .set mips64r2; .rept 1; sync 0x00; .endr; .set pop; .else; ; .endif 1: ll $0, $1 # atomic_add addu $0, $2 sc $0, $1 beqz $0, 1b .set pop ' PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: clang -Wp,-MMD,fs/.io_uring.o.d -nostdinc -Iarch/mips/include -I./arch/mips/include/generated -Iinclude -I./include -Iarch/mips/include/uapi -I./arch/mips/include/generated/uapi -Iinclude/uapi -I./include/generated/uapi -include include/linux/compiler-version.h -include include/linux/kconfig.h -include include/linux/compiler_types.h -D__KERNEL__ -DVMLINUX_LOAD_ADDRESS=0xffffffff80060000 -DLINKER_LOAD_ADDRESS=0x80060000 -DDATAOFFSET=0 -Qunused-arguments -fmacro-prefix-map== -DKBUILD_EXTRA_WARN1 -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 --target=mips-linux -fintegrated-as -Werror=unknown-warning-option -Werror=ignored-optimization-argument -mno-check-zero-division -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float -DGAS_HAS_SET_HARDFLOAT -Wa,-msoft-float -ffreestanding -EB -fno-stack-check -march=mips32r2 -Wa,--trap -DTOOLCHAIN_SUPPORTS_VIRT -Iarch/mips/include/asm/mach-ath79 -Iarch/mips/include/asm/mach-generic -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-address-of-packed-member -O2 -Wframe-larger-than=1024 -fstack-protector -Wimplicit-fallthrough -Wno-gnu -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-stack-clash-protection -pg -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -fno-strict-overflow -fno-stack-check -Werror=date-time -Werror=incompatible-pointer-types -Wextra -Wunused -Wno-unused-parameter -Wmissing-declarations -Wmissing-format-attribute -Wmissing-prototypes -Wold-style-definition -Wmissing-include-dirs -Wunused-but-set-variable -Wunused-const-variable -Wno-missing-field-initializers -Wno-sign-compare -Wno-type-limits -Wno-shift-negative-value -I fs -I ./fs -DKBUILD_MODFILE="fs/io_uring" -DKBUILD_BASENAME="io_uring" -DKBUILD_MODNAME="io_uring" -D__KBUILD_MODNAME=kmod_io_uring -c -o fs/io_uring.o fs/io_uring.c 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module 'fs/io_uring.c'. 4. Running pass 'Mips Assembly Printer' on function '@io_uring_cancel_generic' #0 0x000055798c800a2f Signals.cpp:0:0 #1 0x000055798c7fe854 llvm::sys::CleanupOnSignal(unsigned long) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x34bf854) #2 0x000055798c73dcf7 llvm::CrashRecoveryContext::HandleExit(int) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x33fecf7) #3 0x000055798c7f6e8e llvm::sys::Process::Exit(int, bool) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x34b7e8e) #4 0x000055798a4005db (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x10c15db) #5 0x000055798c74481c llvm::report_fatal_error(llvm::Twine const&, bool) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x340581c) #6 0x000055798d47aa30 llvm::AsmPrinter::emitInlineAsm(llvm::MachineInstr const (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x413ba30) #7 0x000055798d476932 llvm::AsmPrinter::emitFunctionBody() (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x4137932) #8 0x000055798ae8ef77 llvm::MipsAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x1b4ff77) #9 0x000055798bb70f8d llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.53) MachineFunctionPass.cpp:0:0 #10 0x000055798bfb7597 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x2c78597) #11 0x000055798bfb7711 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x2c78711) #12 0x000055798bfb828f llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x2c7928f) #13 0x000055798cb2b34f clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, clang::BackendAction, std::unique_ptr >) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x37ec34f) #14 0x000055798d79fe11 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x4460e11) #15 0x000055798e30e6b1 clang::ParseAST(clang::Sema&, bool, bool) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x4fcf6b1) #16 0x000055798d79f4d5 clang::CodeGenAction::ExecuteAction() (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x44604d5) #17 0x000055798d18ebe1 clang::FrontendAction::Execute() (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x3e4fbe1) #18 0x000055798d1235aa clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x3de45aa) #19 0x000055798d2562db (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x3f172db) #20 0x000055798a401b8c cc1_main(llvm::ArrayRef::callback_fn >, std::__cxx11::basic_string, std::allocator const::'lambda'()>(long) Job.cpp:0:0 #23 0x000055798c73dbb3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x33febb3) #24 0x000055798cfb4ede clang::driver::CC1Command::Execute(llvm::ArrayRef >, std::__cxx11::basic_string, std::allocator const (.part.216) Job.cpp:0:0 #25 0x000055798cf88757 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x3c49757) #26 0x000055798cf89137 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl&) const (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x3c4a137) #27 0x000055798cf92c59 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl&) (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x3c53c59) #28 0x000055798a34aa0f main (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x100ba0f) #29 0x00007f87e39be7fd __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x237fd) #30 0x000055798a3fe37a _start (/opt/cross/clang-1cddcfdc3c/bin/clang-15+0x10bf37a) clang-15: error: clang frontend command failed with exit code 70 (use -v to see invocation) clang version 15.0.0 (git://gitmirror/llvm_project 1cddcfdc3c683b393df1a5c9063252eb60e52818) Target: mips-unknown-linux Thread model: posix InstalledDir: /opt/cross/clang-1cddcfdc3c/bin clang-15: note: diagnostic msg: Makefile arch certs crypto drivers fs include init ipc kernel lib mm nr_bisected scripts security sound source usr virt vim +/io_file_from_index +7388 fs/io_uring.c dafecf19e25f9b Pavel Begunkov 2021-02-28 7387 65e19f54d29cd8 Jens Axboe 2019-10-26 @7388 static inline struct file *io_file_from_index(struct io_ring_ctx *ctx, 65e19f54d29cd8 Jens Axboe 2019-10-26 7389 int index) 09bb839434bd84 Jens Axboe 2019-03-13 7390 { aeca241b0bdd83 Pavel Begunkov 2021-04-11 7391 struct io_fixed_file *slot = io_fixed_file_slot(&ctx->file_table, index); 7b29f92da377c3 Jens Axboe 2021-03-12 7392 a04b0ac0cb64fc Pavel Begunkov 2021-04-01 7393 return (struct file *) (slot->file_ptr & FFS_MASK); 65e19f54d29cd8 Jens Axboe 2019-10-26 7394 } 65e19f54d29cd8 Jens Axboe 2019-10-26 7395 :::::: The code at line 7388 was first introduced by commit :::::: 65e19f54d29cd8559ce60cfd0d751bef7afbdc5c io_uring: support for larger fixed file sets :::::: TO: Jens Axboe :::::: CC: Jens Axboe -- 0-DAY CI Kernel Test Service https://01.org/lkp Next message: Matthias Kaehlcke: "Re: [PATCH v11 3/4] arm64: dts: qcom: sc7280: add lpass lpi pin controller node" Previous message: Zi Yan: "Re: [PATCH v11 0/6] Use pageblock_order for cma and alloc_contig_range alignment." Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]