[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230818200436.7625c590@kernel.org>
Date: Fri, 18 Aug 2023 20:04:36 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>, Paolo Abeni
<pabeni@...hat.com>, netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next] net: annotate data-races around
sk->sk_lingertime
On Sat, 19 Aug 2023 05:03:47 +0200 Eric Dumazet wrote:
> > net/core/sock.c:1238:14: warning: result of comparison of constant 36893488147419103 with expression of type 'unsigned int' is always false [-Wtautological-constant-out-of-range-compare]
> > if (t_sec >= MAX_SCHEDULE_TIMEOUT / HZ)
> > ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
> >
>
> Ah... I thought I was using clang.... Let me check again.
Could be a W=1 warning.
Powered by blists - more mailing lists