[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190805.132219.833968941437361765.davem@davemloft.net>
Date: Mon, 05 Aug 2019 13:22:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: michael.chan@...adcom.com
Cc: netdev@...r.kernel.org, hslester96@...il.com, rmody@...vell.com,
GR-Linux-NIC-Dev@...vell.com
Subject: Re: [PATCH net-next] cnic: Explicitly initialize all reference
counts to 0.
From: Michael Chan <michael.chan@...adcom.com>
Date: Fri, 2 Aug 2019 02:17:51 -0400
> The driver is relying on zero'ed allocated memory and does not
> explicitly call atomic_set() to initialize the ref counts to 0. Add
> these atomic_set() calls so that it will be more straight forward
> to convert atomic ref counts to refcount_t.
>
> Reported-by: Chuhong Yuan <hslester96@...il.com>
> Cc: Rasesh Mody <rmody@...vell.com>
> Cc: <GR-Linux-NIC-Dev@...vell.com>
> Signed-off-by: Michael Chan <michael.chan@...adcom.com>
Applied.
Powered by blists - more mailing lists