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:
@@ -209,7 +209,7 @@ struct fc_bsg_host_vendor {
|
||||
__u64 vendor_id;
|
||||
|
||||
/* start of vendor command area */
|
||||
__u32 vendor_cmd[];
|
||||
__u32 vendor_cmd[0];
|
||||
};
|
||||
|
||||
/* Response:
|
||||
|
Reference in New Issue
Block a user