diff options
| author | Huazhong Tan <[email protected]> | 2019-04-25 20:42:49 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-04-26 12:13:28 -0400 |
| commit | 30780a8b1677e7409b32ae52a9a84f7d41ae6b43 (patch) | |
| tree | f29dec84e702f0c6ad21b19e14256b3c2cb01cb1 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 1416d333a4ec9ab05c37b94628cb476b32326858 (diff) | |
net: hns3: use atomic_t replace u32 for arq's count
Since irq handler and mailbox task will both update arq's count,
so arq's count should use atomic_t instead of u32, otherwise
its value may go wrong finally.
Fixes: 07a0556a3a73 ("net: hns3: Changes to support ARQ(Asynchronous Receive Queue)")
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions