Richard Spiegel has uploaded this change for review. ( https://review.coreboot.org/28021
Change subject: lib/lzmadecode.c: : Avoid static analysis error for unused value
......................................................................
lib/lzmadecode.c: : Avoid static analysis error for unused value
Within procedure LzmaDecode(), the variable len can be assigned a value
that is never read after, thus causing a static analysis error. Tell the
static analysis we know it can happen.
BUG=b:112253891
TEST=Build and boot grunt.
Change-Id: I37bc3ff19ca85f819ba1cbb2a281c1ad55619da9
Signed-off-by: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
---
M src/lib/lzmadecode.c
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/21/28021/1
diff --git a/src/lib/lzmadecode.c b/src/lib/lzmadecode.c
index 6d21f6c..0a5d038 100644
--- a/src/lib/lzmadecode.c
+++ b/src/lib/lzmadecode.c
@@ -422,6 +422,10 @@
}
}
RC_NORMALIZE;
+ /*
+ * Tell static analysis we know len can have a dead assignment.
+ */
+ (void)len;
*inSizeProcessed = (SizeT)(Buffer - inStream);
--
To view, visit https://review.coreboot.org/28021
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I37bc3ff19ca85f819ba1cbb2a281c1ad55619da9
Gerrit-Change-Number: 28021
Gerrit-PatchSet: 1
Gerrit-Owner: Richard Spiegel <richard.spiegel(a)silverbackltd.com>
John Zhao has abandoned this change. ( https://review.coreboot.org/28019 )
Change subject: intel/common/block: Fix issues found by klockwork
......................................................................
Abandoned
need rebase
--
To view, visit https://review.coreboot.org/28019
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: abandon
Gerrit-Change-Id: Ia79d6c08c3b75dfd638a75563fb06a4916b7b218
Gerrit-Change-Number: 28019
Gerrit-PatchSet: 3
Gerrit-Owner: John Zhao <john.zhao(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/28019
to look at the new patch set (#2).
Change subject: intel/common/block: Fix issues found by klockwork
......................................................................
intel/common/block: Fix issues found by klockwork
src/soc/intel/common/block/cpu/mp_init.c
Function init_cpus: Pointer dev checked for NULL may be
deferenced.
src/soc/intel/common/block/graphics/graphics.c
Function graphics_get_bar: Pointer dev returned from
call may be NULL and will be deferenced.
BRANCH=None
TEST=Built & booted Yorp board.
Change-Id: Ia79d6c08c3b75dfd638a75563fb06a4916b7b218
Signed-off-by: John Zhao <john.zhao(a)intel.com>
---
M 3rdparty/blobs
M src/soc/intel/common/block/cpu/mp_init.c
M src/soc/intel/common/block/graphics/graphics.c
3 files changed, 6 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/28019/2
--
To view, visit https://review.coreboot.org/28019
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ia79d6c08c3b75dfd638a75563fb06a4916b7b218
Gerrit-Change-Number: 28019
Gerrit-PatchSet: 2
Gerrit-Owner: John Zhao <john.zhao(a)intel.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply(a)coreboot.org>
Angel Pons has uploaded this change for review. ( https://review.coreboot.org/28018
Change subject: sb/intel/{bd82x6x,ibexpeak}: Don't build with FAKE_IFD by default
......................................................................
sb/intel/{bd82x6x,ibexpeak}: Don't build with FAKE_IFD by default
FAKE_IFD depends on out tree flashrom patches for which there are better
alternatives available now, so don't build with FAKE_IFD by default.
Change-Id: I2c6a6586da9a6d26b0a5bf7d3ba8f3ffe3205647
Signed-off-by: Angel Pons <th3fanbus(a)gmail.com>
---
M src/southbridge/intel/bd82x6x/Kconfig
M src/southbridge/intel/ibexpeak/Kconfig
2 files changed, 0 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/18/28018/1
diff --git a/src/southbridge/intel/bd82x6x/Kconfig b/src/southbridge/intel/bd82x6x/Kconfig
index 3033e20..c028595 100644
--- a/src/southbridge/intel/bd82x6x/Kconfig
+++ b/src/southbridge/intel/bd82x6x/Kconfig
@@ -66,9 +66,6 @@
hex
default 0x80
-config BUILD_WITH_FAKE_IFD
- def_bool !HAVE_IFD_BIN
-
endif
if SOUTHBRIDGE_INTEL_BD82X6X || SOUTHBRIDGE_INTEL_C216 || SOUTHBRIDGE_INTEL_IBEXPEAK
diff --git a/src/southbridge/intel/ibexpeak/Kconfig b/src/southbridge/intel/ibexpeak/Kconfig
index 5cf402c..d377950 100644
--- a/src/southbridge/intel/ibexpeak/Kconfig
+++ b/src/southbridge/intel/ibexpeak/Kconfig
@@ -58,9 +58,6 @@
If you set this option to y, the serial IRQ machine will be
operated in continuous mode.
-config BUILD_WITH_FAKE_IFD
- def_bool !HAVE_IFD_BIN
-
config HPET_MIN_TICKS
hex
default 0x80
--
To view, visit https://review.coreboot.org/28018
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2c6a6586da9a6d26b0a5bf7d3ba8f3ffe3205647
Gerrit-Change-Number: 28018
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus(a)gmail.com>