hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/keys/user-type.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /* user-type.h: User-defined key type
23 *
34 * Copyright (C) 2005 Red Hat, Inc. All Rights Reserved.
45 * Written by David Howells (dhowells@redhat.com)
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License
8
- * as published by the Free Software Foundation; either version
9
- * 2 of the License, or (at your option) any later version.
106 */
117
128 #ifndef _KEYS_USER_TYPE_H
....@@ -31,7 +27,7 @@
3127 struct user_key_payload {
3228 struct rcu_head rcu; /* RCU destructor */
3329 unsigned short datalen; /* length of this data */
34
- char data[0] __aligned(__alignof__(u64)); /* actual data */
30
+ char data[] __aligned(__alignof__(u64)); /* actual data */
3531 };
3632
3733 extern struct key_type key_type_user;