Skip to contentSkip to conversation

coverity: put NUBus under m68k component

PATCH In review Paolo Bonzini 3 participants 3 messages Sep 5, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 coverity: put NUBus under m68k component

It is only used by the Q800 emulation, so put it under that architecture.

---
 scripts/coverity-scan/COMPONENTS.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/coverity-scan/COMPONENTS.md +1 -1
index fc1608932e..0e6ab4936e 100644
@@ -22,7 +22,7 @@ i386
   ~ (/qemu)?((/include)?/hw/i386/.*|/target/i386/.*|/hw/intc/[^/]*apic[^/]*\.c)
 
 m68k
-  ~ (/qemu)?((/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.*)
+  ~ (/qemu)?((/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.*|(/include)?/hw/nubus/.*)
 
 microblaze
   ~ (/qemu)?((/include)?/hw/microblaze/.*|/target/microblaze/.*)
Signature · 1 line
2.37.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Paolo Bonzini

It is only used by the Q800 emulation, so put it under that architecture.

---
 scripts/coverity-scan/COMPONENTS.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/coverity-scan/COMPONENTS.md +0 -0
index fc1608932e..0e6ab4936e 100644

scripts/coverity-scan/COMPONENTS.md i386 · line 28

Quoted 8 lines
scripts/coverity-scan/COMPONENTS.md +1 -1
@@ -22,7 +22,7 @@ i386
   ~ (/qemu)?((/include)?/hw/i386/.*|/target/i386/.*|/hw/intc/[^/]*apic[^/]*\.c)
 
 m68k
-  ~ (/qemu)?((/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.*)
+  ~ (/qemu)?((/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.*|(/include)?/hw/nubus/.*)
 
 microblaze
   ~ (/qemu)?((/include)?/hw/microblaze/.*|/target/microblaze/.*)

On the subject of coverity components:
* we should drop the 'capstone' component now we've removed that submodule
* https://scan.coverity.com/projects/qemu?tab=overview says the 'hvf' component has 0 lines in it, which suggests we got that regex wrong somehow, or there's an ordering issue and some higher-up component has already claimed all the files

thanks
-- PMM

Reviewed-by Philippe Mathieu-Daudé on v1 1/1
#2 lore raw
In reply to Paolo Bonzini
Quoted 12 lines · Paolo Bonzini

It is only used by the Q800 emulation, so put it under that architecture.

---
  scripts/coverity-scan/COMPONENTS.md | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
scripts/coverity-scan/COMPONENTS.md +0 -0
index fc1608932e..0e6ab4936e 100644

scripts/coverity-scan/COMPONENTS.md i386 · line 28

Quoted 8 lines
scripts/coverity-scan/COMPONENTS.md +1 -1
@@ -22,7 +22,7 @@ i386
    ~ (/qemu)?((/include)?/hw/i386/.*|/target/i386/.*|/hw/intc/[^/]*apic[^/]*\.c)
 
  m68k
-  ~ (/qemu)?((/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.*)
+  ~ (/qemu)?((/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.*|(/include)?/hw/nubus/.*)
 
  microblaze
    ~ (/qemu)?((/include)?/hw/microblaze/.*|/target/microblaze/.*)