]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
powerpc/boot: Fix missing check of lseek() return value
authorBo YU <tsu.yubo@gmail.com>
Tue, 30 Oct 2018 13:21:55 +0000 (09:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 May 2019 13:44:55 +0000 (06:44 -0700)
commitfd040f4d8aba1fc5bc30aaf9cd5a1eb075a9fcf5
tree960c008d1d56a98227e0c84d5e44932fcd56a264
parent10101a25c784e6cfa9b3f459734e75b10d22625e
powerpc/boot: Fix missing check of lseek() return value

[ Upstream commit 5d085ec04a000fefb5182d3b03ee46ca96d8389b ]

This is detected by Coverity scan: CID: 1440481

Signed-off-by: Bo YU <tsu.yubo@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/boot/addnote.c