refcount_t is better for reference counters since its
implementation can prevent overflows.
So convert atomic_t ref counters to refcount_t.
Signed-off-by: Chuhong Yuan
---
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c | 8
drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.h | 2 +-
2 files ch
On Wed, Jul 31, 2019 at 8:22 AM Chuhong Yuan wrote:
>
> refcount_t is better for reference counters since its
> implementation can prevent overflows.
> So convert atomic_t ref counters to refcount_t.
>
> Signed-off-by: Chuhong Yuan
> ---
> drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c | 8 --
On Wed, Jul 31, 2019 at 9:06 AM Willem de Bruijn
wrote:
>
> On Wed, Jul 31, 2019 at 8:22 AM Chuhong Yuan wrote:
> >
> > refcount_t is better for reference counters since its
> > implementation can prevent overflows.
> > So convert atomic_t ref counters to refcount_t.
> >
> > Signed-off-by: Chuhon
3 matches
Mail list logo