[lkml]   [2018]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH net-next v7 28/28] net: WireGuard secure network tunnel
Wed, Oct 10, 2018 at 10:27:46PM CEST, wrote:
>Hey Jiri,
>Actually, in the end I went with the suggestion from Andrew and Lukas,
>which is to follow Dan's guideline:
> . It looks like this:

I prefer:
err = do_something();
if (err)
goto err_do_something;

But your style is also quite common. Up to you, I guess.


 \ /
  Last update: 2018-10-11 07:42    [W:0.098 / U:2.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site