.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2014-2015 Hisilicon Limited. |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License as published by |
---|
6 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
7 | | - * (at your option) any later version. |
---|
8 | 4 | */ |
---|
9 | 5 | |
---|
10 | 6 | #ifndef _HNS_DSAF_RCB_H |
---|
.. | .. |
---|
112 | 108 | u32 ring_num; |
---|
113 | 109 | u32 desc_num; /* desc num per queue*/ |
---|
114 | 110 | |
---|
115 | | - struct ring_pair_cb ring_pair_cb[0]; |
---|
| 111 | + struct ring_pair_cb ring_pair_cb[]; |
---|
116 | 112 | }; |
---|
117 | 113 | |
---|
118 | 114 | int hns_rcb_buf_size2type(u32 buf_size); |
---|