Re: [PATCH] arch: fix without checked-return value with lseek

2019-05-03 Thread Michael Ellerman
On Tue, 2018-10-30 at 13:21:55 UTC, Bo YU wrote: > lseek should have returned value but we miss it maybe. > This is detected by Coverity scan: > CID: 1440481 > > Signed-off-by: Bo YU Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/5d085ec04a000fefb5182d3b03ee46ca cheers

[PATCH] arch: fix without checked-return value with lseek

2018-10-30 Thread Bo YU
lseek should have returned value but we miss it maybe. This is detected by Coverity scan: CID: 1440481 Signed-off-by: Bo YU --- arch/powerpc/boot/addnote.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/boot/addnote.c b/arch/powerpc/boot/addnote.c index