security/tpm: Report tpm_unmarshal_response warning
In procedure tpm_unmarshal_response(), variable "rc" is used early to
decide if it should return NULL. Later however, the code proceeds to its
end even if one subroutine reports error. If "rc" is not 0, report that
there was a partial error in the procedure.
TEST=Build and boot grunt.
Signed-off-by: Richard Spiegel <email@example.com>
Reviewed-by: Martin Roth <firstname.lastname@example.org>
Reviewed-by: Marshall Dawson <email@example.com>
Reviewed-by: Philipp Deppenwiese <firstname.lastname@example.org>
Tested-by: build bot (Jenkins) <email@example.com>
1 file changed