hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/hid/intel-ish-hid/ishtp/hbm.h
....@@ -1,16 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * ISHTP bus layer messages handling
34 *
45 * 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.
146 */
157
168 #ifndef _ISHTP_HBM_H_
....@@ -90,7 +82,7 @@
9082
9183 struct ishtp_bus_message {
9284 uint8_t hbm_cmd;
93
- uint8_t data[0];
85
+ uint8_t data[];
9486 } __packed;
9587
9688 /**
....@@ -149,7 +141,7 @@
149141 } __packed;
150142
151143 struct ishtp_client_properties {
152
- uuid_le protocol_name;
144
+ guid_t protocol_name;
153145 uint8_t protocol_version;
154146 uint8_t max_number_of_connections;
155147 uint8_t fixed_address;