mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
uapi: revert flexible-array conversions
These structures can get embedded in other structures in user-space and cause all sorts of warnings and problems. So, we better don't take any chances and keep the zero-length arrays in place for now. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
This commit is contained in:
parent
0e698dfa28
commit
1e6e9d0f48
8 changed files with 12 additions and 12 deletions
|
@ -45,13 +45,13 @@ struct dlm_lock_params {
|
|||
void __user *bastaddr;
|
||||
struct dlm_lksb __user *lksb;
|
||||
char lvb[DLM_USER_LVB_LEN];
|
||||
char name[];
|
||||
char name[0];
|
||||
};
|
||||
|
||||
struct dlm_lspace_params {
|
||||
__u32 flags;
|
||||
__u32 minor;
|
||||
char name[];
|
||||
char name[0];
|
||||
};
|
||||
|
||||
struct dlm_purge_params {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue