| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * ISHTP bus layer messages handling |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (c) 2003-2016, Intel Corporation. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 7 | | - * under the terms and conditions of the GNU General Public License, |
|---|
| 8 | | - * version 2, as published by the Free Software Foundation. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is distributed in the hope it will be useful, but WITHOUT |
|---|
| 11 | | - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 12 | | - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|---|
| 13 | | - * more details. |
|---|
| 14 | 6 | */ |
|---|
| 15 | 7 | |
|---|
| 16 | 8 | #ifndef _ISHTP_HBM_H_ |
|---|
| .. | .. |
|---|
| 90 | 82 | |
|---|
| 91 | 83 | struct ishtp_bus_message { |
|---|
| 92 | 84 | uint8_t hbm_cmd; |
|---|
| 93 | | - uint8_t data[0]; |
|---|
| 85 | + uint8_t data[]; |
|---|
| 94 | 86 | } __packed; |
|---|
| 95 | 87 | |
|---|
| 96 | 88 | /** |
|---|
| .. | .. |
|---|
| 149 | 141 | } __packed; |
|---|
| 150 | 142 | |
|---|
| 151 | 143 | struct ishtp_client_properties { |
|---|
| 152 | | - uuid_le protocol_name; |
|---|
| 144 | + guid_t protocol_name; |
|---|
| 153 | 145 | uint8_t protocol_version; |
|---|
| 154 | 146 | uint8_t max_number_of_connections; |
|---|
| 155 | 147 | uint8_t fixed_address; |
|---|