On Sun, Aug 04, 2024 at 10:23:53PM +0800, luzhixing12345 wrote:
> rewrite with if-else instead of goto
>
> and I have a question, in two incorrent cases
>
> - need reply but no reply_requested
> - no need reply but has reply_requested
>
> should we call vu_panic or print warning message?
this i
On Mon, Aug 05, 2024 at 11:27:27PM +0800, luzhixing12345 wrote:
> Signed-off-by: luzhixing12345
>
> >On Sun, Aug 04, 2024 at 10:23:53PM GMT, luzhixing12345 wrote:
> >>rewrite with if-else instead of goto
> >
> >Why?
> >
> >IMHO was better before this patch with a single error path.
>
> I think t
Signed-off-by: luzhixing12345
>On Sun, Aug 04, 2024 at 10:23:53PM GMT, luzhixing12345 wrote:
>>rewrite with if-else instead of goto
>
>Why?
>
>IMHO was better before this patch with a single error path.
I think this if-else version is more clear for me, and it's good to
keep things the way they
On Sun, Aug 04, 2024 at 10:23:53PM GMT, luzhixing12345 wrote:
rewrite with if-else instead of goto
Why?
IMHO was better before this patch with a single error path.
and I have a question, in two incorrent cases
- need reply but no reply_requested
- no need reply but has reply_requested
sho
rewrite with if-else instead of goto
and I have a question, in two incorrent cases
- need reply but no reply_requested
- no need reply but has reply_requested
should we call vu_panic or print warning message?
---
subprojects/libvhost-user/libvhost-user.c | 39 +--
subprojec