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)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 16:54:57 +0000 (02:54 +1000)
commit5d085ec04a000fefb5182d3b03ee46ca96d8389b
treedff3a541a35e08ed36162214bffb0b7170ec6a05
parent90437bffa5f9b1440ba03e023f4875d1814b9360
powerpc/boot: Fix missing check of lseek() return value

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>
arch/powerpc/boot/addnote.c