console: Fix qemu_default_pixelformat() for 24 bpp
PATCH 1/1 console: Fix qemu_default_pixelformat() for 24 bpp
Falls through to 32 bpp. Harmless, because the only difference is the alpha component, and we're not using that. Spotted by Coverity.
Signed-off-by Markus Armbruster <[email protected]>
--- console.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
console.c +1 -0
@@ -1688,6 +1688,7 @@ PixelFormat qemu_default_pixelformat(int bpp) pf.rbits =8 ; pf.gbits =8 ; pf.bbits =8 ; +break ;case 32 : pf.rmask =0x00FF0000 ; pf.gmask =0x0000FF00 ;
Signature · 1 line
1.7.6.4
Quoted 4 lines · Markus Armbruster
Falls through to 32 bpp. Harmless, because the only difference is the alpha component, and we're not using that. Spotted by Coverity.
Signed-off-by Markus Armbruster <[email protected]>
ack
Quoted 19 lines
console.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)console.c +1
-0@@ -1688,6 +1688,7 @@ PixelFormat qemu_default_pixelformat(int bpp) pf.rbits =8 ; pf.gbits =8 ; pf.bbits =8 ; +break ;case 32 : pf.rmask =0x00FF0000 ; pf.gmask =0x0000FF00 ;Signature · 1 line
1.7.6.4
Stefan Hajnoczi
AppliedQuoted 7 lines · Markus Armbruster
Falls through to 32 bpp. Harmless, because the only difference is the alpha component, and we're not using that. Spotted by Coverity.
Signed-off-by Markus Armbruster <[email protected]>--- console.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Thanks, applied to the trivial patches -next tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches-next
Stefan