lkml.org 
[lkml]   [2023]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC PATCH net-next 2/6] net/smc: add vendor unique experimental options area in clc handshake
From

I will fix it in the next version.

Thanks,
Guangguan Wang

On 2023/8/4 01:45, Simon Horman wrote:
> On Thu, Aug 03, 2023 at 09:24:18PM +0800, Guangguan Wang wrote:
>
> ...
>
> Hi Guangguan Wang,
>
>> @@ -987,12 +991,12 @@ static int smc_clc_send_confirm_accept(struct smc_sock *smc,
>> {
>> struct smc_connection *conn = &smc->conn;
>> struct smc_clc_msg_accept_confirm *clc;
>> - struct smc_clc_first_contact_ext fce;
>> + struct smc_clc_first_contact_ext_v2x fce;
>> struct smc_clc_fce_gid_ext gle;
>> struct smc_clc_msg_trail trl;
>> struct kvec vec[5];
>> struct msghdr msg;
>> - int i, len;
>> + int i, len, fce_len;
>
> Please preserve reverse xmas tree - longest line to shortest -
> for local variable declarations: this is Networking code.
>
> https://github.com/ecree-solarflare/xmastree is your friend here.
>
> ...

\
 
 \ /
  Last update: 2023-08-04 06:02    [W:0.025 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site