Re: [PATCH qemu] ppc/vof: Fix Coverity issues

2021-07-19 Thread David Gibson
On Mon, Jul 19, 2021 at 06:25:53PM +1000, Alexey Kardashevskiy wrote: > > > On 7/19/21 13:57, David Gibson wrote: > > On Tue, Jul 13, 2021 at 11:46:38PM +1000, Alexey Kardashevskiy wrote: > > > This fixes NEGATIVE_RETURNS, OVERRUN issues reported by the Coverity. > > > > > > This adds a comment

Re: [PATCH qemu] ppc/vof: Fix Coverity issues

2021-07-19 Thread Alexey Kardashevskiy
On 7/19/21 13:57, David Gibson wrote: On Tue, Jul 13, 2021 at 11:46:38PM +1000, Alexey Kardashevskiy wrote: This fixes NEGATIVE_RETURNS, OVERRUN issues reported by the Coverity. This adds a comment about the return parameters number in the VOF hcall. The reason for such counting is to keep t

Re: [PATCH qemu] ppc/vof: Fix Coverity issues

2021-07-19 Thread Greg Kurz
On Tue, 13 Jul 2021 23:46:38 +1000 Alexey Kardashevskiy wrote: > This fixes NEGATIVE_RETURNS, OVERRUN issues reported by the Coverity. > > This adds a comment about the return parameters number in the VOF hcall. > The reason for such counting is to keep the numbers look the same in > vof_client_

Re: [PATCH qemu] ppc/vof: Fix Coverity issues

2021-07-18 Thread David Gibson
On Tue, Jul 13, 2021 at 11:46:38PM +1000, Alexey Kardashevskiy wrote: > This fixes NEGATIVE_RETURNS, OVERRUN issues reported by the Coverity. > > This adds a comment about the return parameters number in the VOF hcall. > The reason for such counting is to keep the numbers look the same in > vof_cl

[PATCH qemu] ppc/vof: Fix Coverity issues

2021-07-13 Thread Alexey Kardashevskiy
This fixes NEGATIVE_RETURNS, OVERRUN issues reported by the Coverity. This adds a comment about the return parameters number in the VOF hcall. The reason for such counting is to keep the numbers look the same in vof_client_handle() and the Linux (an OF client). Signed-off-by: Alexey Kardashevskiy