diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-10-24 23:23:07 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-11-02 10:41:15 +0000 |
commit | 554713ee0a32cd8eabd75b276aeb82aa2570b030 (patch) | |
tree | 48492cb71a23d95d7d7e0b798a0d95f01a9fb82e /src/lib/lzmadecode.h | |
parent | 90cdf705aa36f51a997c9bf81cf40ae159b3ce46 (diff) |
azalia: Treat all negative return values as errors
Instead of checking whether the return value equals -1, just check if it
is negative. Some Azalia implementations already do it, but most do not.
Change-Id: I43ce72a01c07eff62d645db28c09584b386532ff
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46727
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/lib/lzmadecode.h')
0 files changed, 0 insertions, 0 deletions