.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. |
---|
3 | 4 | * Copyright (C) 2017 Linaro Ltd. |
---|
4 | | - * |
---|
5 | | - * This program is free software; you can redistribute it and/or modify |
---|
6 | | - * it under the terms of the GNU General Public License version 2 and |
---|
7 | | - * only version 2 as published by the Free Software Foundation. |
---|
8 | | - * |
---|
9 | | - * This program is distributed in the hope that it will be useful, |
---|
10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
12 | | - * GNU General Public License for more details. |
---|
13 | | - * |
---|
14 | 5 | */ |
---|
15 | 6 | #ifndef __VENUS_HFI_CMDS_H__ |
---|
16 | 7 | #define __VENUS_HFI_CMDS_H__ |
---|
.. | .. |
---|
116 | 107 | struct hfi_session_set_property_pkt { |
---|
117 | 108 | struct hfi_session_hdr_pkt shdr; |
---|
118 | 109 | u32 num_properties; |
---|
119 | | - u32 data[0]; |
---|
| 110 | + u32 data[]; |
---|
120 | 111 | }; |
---|
121 | 112 | |
---|
122 | 113 | struct hfi_session_set_buffers_pkt { |
---|