[linux-next:master 4603/8600] drivers/usb/host/ehci-omap.c:64:19: warning: unused function 'ehci_read'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arnd,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   bb6ee10133faa3c4742ab8343b5e488cdb29445e
commit: 11e002924ddb6f12638532331195a8ab09bbbf7e [4603/8600] usb: omap: avoid mach/*.h headers
config: mips-randconfig-c004-20220505 (https://download.01.org/0day-ci/archive/20220505/202205051822.cnXJRnmL-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e004fb787698440a387750db7f8028e7cb14cfc)
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/next/linux-next.git/commit/?id=11e002924ddb6f12638532331195a8ab09bbbf7e
        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 11e002924ddb6f12638532331195a8ab09bbbf7e
        # 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 drivers/mfd/ drivers/usb/host/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> drivers/usb/host/ehci-omap.c:64:19: warning: unused function 'ehci_read'
   static inline u32 ehci_read(void __iomem u32 reg)
   ^
   fatal error: error in backend: Nested variants found in inline asm string: '.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/barrier.h", .line = 16, $); 0x00 ) != -1)) : $))) ) && ( (1 << 0) ); .set push; .set mips64r2; .rept 1; sync 0x00; .endr; .set pop; .else; ; .endif'
   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,drivers/usb/host/.ehci-omap.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=0xffffffff80100000 -DLINKER_LOAD_ADDRESS=0x80100000 -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=mipsel-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 -EL -fno-stack-check -march=mips32 -Wa,--trap -DTOOLCHAIN_SUPPORTS_VIRT -Iarch/mips/include/asm/mach-malta -Iarch/mips/include/asm/mach-generic -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-address-of-packed-member -Os -Wframe-larger-than=1024 -fstack-protector-strong -Wimplicit-fallthrough -Wno-gnu -Wno-unused-but-set-variable -Wno-unused-const-variable -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -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 -g -fno-var-tracking -DMODULE -mlong-calls -DKBUILD_BASENAME="ehci_omap" -DKBUILD_MODNAME="ehci_omap" -D__KBUILD_MODNAME=kmod_ehci_omap -c -o drivers/usb/host/ehci-omap.o drivers/usb/host/ehci-omap.c
   1. <eof> parser at end of file
   2. Code generation
   3. Running pass 'Function Pass Manager' on module 'drivers/usb/host/ehci-omap.c'.
   4. Running pass 'Mips Assembly Printer' on function '@ehci_hcd_omap_probe'
   #0 0x000055682e3d0c6f Signals.cpp:0:0
   #1 0x000055682e3cea94 llvm::sys::CleanupOnSignal(unsigned long) (/opt/cross/clang-5e004fb787/bin/clang-15+0x34bba94)
   #2 0x000055682e30ddf7 llvm::CrashRecoveryContext::HandleExit(int) (/opt/cross/clang-5e004fb787/bin/clang-15+0x33fadf7)
   #3 0x000055682e3c70ce llvm::sys::Process::Exit(int, bool) (/opt/cross/clang-5e004fb787/bin/clang-15+0x34b40ce)
   #4 0x000055682bfd62db (/opt/cross/clang-5e004fb787/bin/clang-15+0x10c32db)
   #5 0x000055682e31492c llvm::report_fatal_error(llvm::Twine const&, bool) (/opt/cross/clang-5e004fb787/bin/clang-15+0x340192c)
   #6 0x000055682f05e5d0 llvm::AsmPrinter::emitInlineAsm(llvm::MachineInstr const (/opt/cross/clang-5e004fb787/bin/clang-15+0x414b5d0)
   #7 0x000055682f05a4d2 llvm::AsmPrinter::emitFunctionBody() (/opt/cross/clang-5e004fb787/bin/clang-15+0x41474d2)
   #8 0x000055682ca71817 llvm::MipsAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x1b5e817)
   #9 0x000055682d75923d llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.53) MachineFunctionPass.cpp:0:0
   #10 0x000055682dba1ef7 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x2c8eef7)
   #11 0x000055682dba2071 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x2c8f071)
   #12 0x000055682dba2bef llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x2c8fbef)
   #13 0x000055682e70634f clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (/opt/cross/clang-5e004fb787/bin/clang-15+0x37f334f)
   #14 0x000055682f388011 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x4475011)
   #15 0x000055682ff110c1 clang::ParseAST(clang::Sema&, bool, bool) (/opt/cross/clang-5e004fb787/bin/clang-15+0x4ffe0c1)
   #16 0x000055682f3876d5 clang::CodeGenAction::ExecuteAction() (/opt/cross/clang-5e004fb787/bin/clang-15+0x44746d5)
   #17 0x000055682ed6d981 clang::FrontendAction::Execute() (/opt/cross/clang-5e004fb787/bin/clang-15+0x3e5a981)
   #18 0x000055682ed01f0a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x3deef0a)
   #19 0x000055682ee34f0b (/opt/cross/clang-5e004fb787/bin/clang-15+0x3f21f0b)
   #20 0x000055682bfd788c cc1_main(llvm::ArrayRef<char char (/opt/cross/clang-5e004fb787/bin/clang-15+0x10c488c)
   #21 0x000055682bfd455b ExecuteCC1Tool(llvm::SmallVectorImpl<char driver.cpp:0:0
   #22 0x000055682eb90c95 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> const::'lambda'()>(long) Job.cpp:0:0
   #23 0x000055682e30dcb3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/opt/cross/clang-5e004fb787/bin/clang-15+0x33facb3)
   #24 0x000055682eb9158e clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> const (.part.216) Job.cpp:0:0
   #25 0x000055682eb63917 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const (/opt/cross/clang-5e004fb787/bin/clang-15+0x3c50917)
   #26 0x000055682eb642f7 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command >&) const (/opt/cross/clang-5e004fb787/bin/clang-15+0x3c512f7)
   #27 0x000055682eb6d7ea clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command >&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x3c5a7ea)
   #28 0x000055682bf2099f main (/opt/cross/clang-5e004fb787/bin/clang-15+0x100d99f)
   #29 0x00007fdc7b5f57fd __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x237fd)
   #30 0x000055682bfd407a _start (/opt/cross/clang-5e004fb787/bin/clang-15+0x10c107a)
   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 5e004fb787698440a387750db7f8028e7cb14cfc)
   Target: mipsel-unknown-linux
   Thread model: posix
   InstalledDir: /opt/cross/clang-5e004fb787/bin
   clang-15: note: diagnostic msg:
   Makefile arch drivers include kernel nr_bisected scripts source usr
--
>> drivers/mfd/omap-usb-tll.c:128:18: warning: unused function 'usbtll_readb'
   static inline u8 usbtll_readb(void __iomem u32 reg)
   ^
   fatal error: error in backend: Nested variants found in inline asm string: '.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/barrier.h", .line = 16, $); 0x00 ) != -1)) : $))) ) && ( (1 << 0) ); .set push; .set mips64r2; .rept 1; sync 0x00; .endr; .set pop; .else; ; .endif'
   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,drivers/mfd/.omap-usb-tll.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=0xffffffff80100000 -DLINKER_LOAD_ADDRESS=0x80100000 -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=mipsel-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 -EL -fno-stack-check -march=mips32 -Wa,--trap -DTOOLCHAIN_SUPPORTS_VIRT -Iarch/mips/include/asm/mach-malta -Iarch/mips/include/asm/mach-generic -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-address-of-packed-member -Os -Wframe-larger-than=1024 -fstack-protector-strong -Wimplicit-fallthrough -Wno-gnu -Wno-unused-but-set-variable -Wno-unused-const-variable -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -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 -g -fno-var-tracking -I drivers/mfd -I ./drivers/mfd -DKBUILD_MODFILE="drivers/mfd/omap-usb-tll" -DKBUILD_BASENAME="omap_usb_tll" -DKBUILD_MODNAME="omap_usb_tll" -D__KBUILD_MODNAME=kmod_omap_usb_tll -c -o drivers/mfd/omap-usb-tll.o drivers/mfd/omap-usb-tll.c
   1. <eof> parser at end of file
   2. Code generation
   3. Running pass 'Function Pass Manager' on module 'drivers/mfd/omap-usb-tll.c'.
   4. Running pass 'Mips Assembly Printer' on function '@omap_tll_init'
   #0 0x0000560ab09c7c6f Signals.cpp:0:0
   #1 0x0000560ab09c5a94 llvm::sys::CleanupOnSignal(unsigned long) (/opt/cross/clang-5e004fb787/bin/clang-15+0x34bba94)
   #2 0x0000560ab0904df7 llvm::CrashRecoveryContext::HandleExit(int) (/opt/cross/clang-5e004fb787/bin/clang-15+0x33fadf7)
   #3 0x0000560ab09be0ce llvm::sys::Process::Exit(int, bool) (/opt/cross/clang-5e004fb787/bin/clang-15+0x34b40ce)
   #4 0x0000560aae5cd2db (/opt/cross/clang-5e004fb787/bin/clang-15+0x10c32db)
   #5 0x0000560ab090b92c llvm::report_fatal_error(llvm::Twine const&, bool) (/opt/cross/clang-5e004fb787/bin/clang-15+0x340192c)
   #6 0x0000560ab16555d0 llvm::AsmPrinter::emitInlineAsm(llvm::MachineInstr const (/opt/cross/clang-5e004fb787/bin/clang-15+0x414b5d0)
   #7 0x0000560ab16514d2 llvm::AsmPrinter::emitFunctionBody() (/opt/cross/clang-5e004fb787/bin/clang-15+0x41474d2)
   #8 0x0000560aaf068817 llvm::MipsAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x1b5e817)
   #9 0x0000560aafd5023d llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.53) MachineFunctionPass.cpp:0:0
   #10 0x0000560ab0198ef7 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x2c8eef7)
   #11 0x0000560ab0199071 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x2c8f071)
   #12 0x0000560ab0199bef llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x2c8fbef)
   #13 0x0000560ab0cfd34f clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (/opt/cross/clang-5e004fb787/bin/clang-15+0x37f334f)
   #14 0x0000560ab197f011 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x4475011)
   #15 0x0000560ab25080c1 clang::ParseAST(clang::Sema&, bool, bool) (/opt/cross/clang-5e004fb787/bin/clang-15+0x4ffe0c1)
   #16 0x0000560ab197e6d5 clang::CodeGenAction::ExecuteAction() (/opt/cross/clang-5e004fb787/bin/clang-15+0x44746d5)
   #17 0x0000560ab1364981 clang::FrontendAction::Execute() (/opt/cross/clang-5e004fb787/bin/clang-15+0x3e5a981)
   #18 0x0000560ab12f8f0a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x3deef0a)
   #19 0x0000560ab142bf0b (/opt/cross/clang-5e004fb787/bin/clang-15+0x3f21f0b)
   #20 0x0000560aae5ce88c cc1_main(llvm::ArrayRef<char char (/opt/cross/clang-5e004fb787/bin/clang-15+0x10c488c)
   #21 0x0000560aae5cb55b ExecuteCC1Tool(llvm::SmallVectorImpl<char driver.cpp:0:0
   #22 0x0000560ab1187c95 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> const::'lambda'()>(long) Job.cpp:0:0
   #23 0x0000560ab0904cb3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/opt/cross/clang-5e004fb787/bin/clang-15+0x33facb3)
   #24 0x0000560ab118858e clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> const (.part.216) Job.cpp:0:0
   #25 0x0000560ab115a917 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const (/opt/cross/clang-5e004fb787/bin/clang-15+0x3c50917)
   #26 0x0000560ab115b2f7 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command >&) const (/opt/cross/clang-5e004fb787/bin/clang-15+0x3c512f7)
   #27 0x0000560ab11647ea clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command >&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x3c5a7ea)
   #28 0x0000560aae51799f main (/opt/cross/clang-5e004fb787/bin/clang-15+0x100d99f)
   #29 0x00007f6de8a7a7fd __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x237fd)
   #30 0x0000560aae5cb07a _start (/opt/cross/clang-5e004fb787/bin/clang-15+0x10c107a)
   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 5e004fb787698440a387750db7f8028e7cb14cfc)
   Target: mipsel-unknown-linux
   Thread model: posix
   InstalledDir: /opt/cross/clang-5e004fb787/bin
   clang-15: note: diagnostic msg:
   Makefile arch drivers include kernel nr_bisected scripts source usr
--
>> drivers/usb/host/ehci-omap.c:64:19: warning: unused function 'ehci_read'
   static inline u32 ehci_read(void __iomem u32 reg)
   ^
   fatal error: error in backend: Nested variants found in inline asm string: '.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/barrier.h", .line = 16, $); 0x00 ) != -1)) : $))) ) && ( (1 << 0) ); .set push; .set mips64r2; .rept 1; sync 0x00; .endr; .set pop; .else; ; .endif'
   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,drivers/usb/host/.ehci-omap.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=0xffffffff80100000 -DLINKER_LOAD_ADDRESS=0x80100000 -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=mipsel-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 -EL -fno-stack-check -march=mips32 -Wa,--trap -DTOOLCHAIN_SUPPORTS_VIRT -Iarch/mips/include/asm/mach-malta -Iarch/mips/include/asm/mach-generic -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-address-of-packed-member -Os -Wframe-larger-than=1024 -fstack-protector-strong -Wimplicit-fallthrough -Wno-gnu -Wno-unused-but-set-variable -Wno-unused-const-variable -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -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 -g -fno-var-tracking -I drivers/usb/host -I ./drivers/usb/host -DMODULE -mlong-calls -DKBUILD_BASENAME="ehci_omap" -DKBUILD_MODNAME="ehci_omap" -D__KBUILD_MODNAME=kmod_ehci_omap -c -o drivers/usb/host/ehci-omap.o drivers/usb/host/ehci-omap.c
   1. <eof> parser at end of file
   2. Code generation
   3. Running pass 'Function Pass Manager' on module 'drivers/usb/host/ehci-omap.c'.
   4. Running pass 'Mips Assembly Printer' on function '@ehci_hcd_omap_probe'
   #0 0x000055d622a62c6f Signals.cpp:0:0
   #1 0x000055d622a60a94 llvm::sys::CleanupOnSignal(unsigned long) (/opt/cross/clang-5e004fb787/bin/clang-15+0x34bba94)
   #2 0x000055d62299fdf7 llvm::CrashRecoveryContext::HandleExit(int) (/opt/cross/clang-5e004fb787/bin/clang-15+0x33fadf7)
   #3 0x000055d622a590ce llvm::sys::Process::Exit(int, bool) (/opt/cross/clang-5e004fb787/bin/clang-15+0x34b40ce)
   #4 0x000055d6206682db (/opt/cross/clang-5e004fb787/bin/clang-15+0x10c32db)
   #5 0x000055d6229a692c llvm::report_fatal_error(llvm::Twine const&, bool) (/opt/cross/clang-5e004fb787/bin/clang-15+0x340192c)
   #6 0x000055d6236f05d0 llvm::AsmPrinter::emitInlineAsm(llvm::MachineInstr const (/opt/cross/clang-5e004fb787/bin/clang-15+0x414b5d0)
   #7 0x000055d6236ec4d2 llvm::AsmPrinter::emitFunctionBody() (/opt/cross/clang-5e004fb787/bin/clang-15+0x41474d2)
   #8 0x000055d621103817 llvm::MipsAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x1b5e817)
   #9 0x000055d621deb23d llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.53) MachineFunctionPass.cpp:0:0
   #10 0x000055d622233ef7 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x2c8eef7)
   #11 0x000055d622234071 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x2c8f071)
   #12 0x000055d622234bef llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x2c8fbef)
   #13 0x000055d622d9834f clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream> >) (/opt/cross/clang-5e004fb787/bin/clang-15+0x37f334f)
   #14 0x000055d623a1a011 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x4475011)
   #15 0x000055d6245a30c1 clang::ParseAST(clang::Sema&, bool, bool) (/opt/cross/clang-5e004fb787/bin/clang-15+0x4ffe0c1)
   #16 0x000055d623a196d5 clang::CodeGenAction::ExecuteAction() (/opt/cross/clang-5e004fb787/bin/clang-15+0x44746d5)
   #17 0x000055d6233ff981 clang::FrontendAction::Execute() (/opt/cross/clang-5e004fb787/bin/clang-15+0x3e5a981)
   #18 0x000055d623393f0a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x3deef0a)
   #19 0x000055d6234c6f0b (/opt/cross/clang-5e004fb787/bin/clang-15+0x3f21f0b)
   #20 0x000055d62066988c cc1_main(llvm::ArrayRef<char char (/opt/cross/clang-5e004fb787/bin/clang-15+0x10c488c)
   #21 0x000055d62066655b ExecuteCC1Tool(llvm::SmallVectorImpl<char driver.cpp:0:0
   #22 0x000055d623222c95 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> const::'lambda'()>(long) Job.cpp:0:0
   #23 0x000055d62299fcb3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/opt/cross/clang-5e004fb787/bin/clang-15+0x33facb3)
   #24 0x000055d62322358e clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> const (.part.216) Job.cpp:0:0
   #25 0x000055d6231f5917 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const (/opt/cross/clang-5e004fb787/bin/clang-15+0x3c50917)
   #26 0x000055d6231f62f7 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command >&) const (/opt/cross/clang-5e004fb787/bin/clang-15+0x3c512f7)
   #27 0x000055d6231ff7ea clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command >&) (/opt/cross/clang-5e004fb787/bin/clang-15+0x3c5a7ea)
   #28 0x000055d6205b299f main (/opt/cross/clang-5e004fb787/bin/clang-15+0x100d99f)
   #29 0x00007fa1ad7ee7fd __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x237fd)
   #30 0x000055d62066607a _start (/opt/cross/clang-5e004fb787/bin/clang-15+0x10c107a)
   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 5e004fb787698440a387750db7f8028e7cb14cfc)
   Target: mipsel-unknown-linux
   Thread model: posix
   InstalledDir: /opt/cross/clang-5e004fb787/bin
   clang-15: note: diagnostic msg:
   Makefile arch drivers include kernel nr_bisected scripts source usr


vim +/ehci_read +64 drivers/usb/host/ehci-omap.c

54ab2b02ef6a45 Felipe Balbi      2009-10-14  63  
19403165c272cc Keshava Munegowda 2011-03-01 @64  static inline u32 ehci_read(void __iomem *base, u32 reg)
54ab2b02ef6a45 Felipe Balbi      2009-10-14  65  {
54ab2b02ef6a45 Felipe Balbi      2009-10-14  66  	return __raw_readl(base + reg);
54ab2b02ef6a45 Felipe Balbi      2009-10-14  67  }
54ab2b02ef6a45 Felipe Balbi      2009-10-14  68  

:::::: The code at line 64 was first introduced by commit
:::::: 19403165c272cc4ed00c97973e7271714b009708 usb: host: omap: ehci and ohci simplification

:::::: TO: Keshava Munegowda <keshava_mgowda@xxxxxx>
:::::: CC: Felipe Balbi <balbi@xxxxxx>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux