mkiss: Use refcount_t for refcount
authorChuhong Yuan <hslester96@gmail.com>
Fri, 2 Aug 2019 16:48:21 +0000 (00:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2019 00:58:40 +0000 (17:58 -0700)
commit4b4de39850474350bfc2f3df33ee1c23d0475c59
treefcd84345e0df1e14c8d32b371661b7467ce597d3
parent31168a6d129aebc02f92d4b7cc9946c0b6364c2b
mkiss: Use refcount_t for refcount

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 <hslester96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hamradio/mkiss.c