From: Alexey Dobriyan Date: Mon, 22 May 2017 21:20:26 +0000 (+0300) Subject: net: make struct inet_frags::qsize unsigned X-Git-Tag: v4.14-rc1~596^2~383 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c0ebd6fed66388584abb27d7b0f188cc1ec01fe;p=platform%2Fkernel%2Flinux-rpi.git net: make struct inet_frags::qsize unsigned This field is sizeof of corresponding kmem_cache so it can't be negative. Prepare for 32-bit kmem_cache_create(). Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- diff --git a/include/net/inet_frag.h b/include/net/inet_frag.h index 5894730..975779d 100644 --- a/include/net/inet_frag.h +++ b/include/net/inet_frag.h @@ -92,7 +92,7 @@ struct inet_frags { */ u32 rnd; seqlock_t rnd_seqlock; - int qsize; + unsigned int qsize; unsigned int (*hashfn)(const struct inet_frag_queue *); bool (*match)(const struct inet_frag_queue *q,