lkml.org 
[lkml]   [2022]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -next] tls: rx: Fix unsigned comparison with less than zero
On Thu, 28 Jul 2022 09:10:25 +0800 Yang Li wrote:
> struct tls_strparser *strp = (struct tls_strparser *)desc->arg.data;
> - size_t sz, len, chunk;
> + int sz;
> + size_t len, chunk;
> struct sk_buff *skb;
> skb_frag_t *frag;

Thanks for the fix, please keep the sorting of the variable lines from
longest to shortest. "int sz;" should be the last variable declaration
line and "size_t len, chunk;" goes after the skb.

\
 
 \ /
  Last update: 2022-07-28 04:07    [W:0.055 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site