diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-23 20:29:25 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-23 20:29:25 +0300 |
commit | e24ca92599cb73ea6d2f768632f4e30b6f9983cf (patch) | |
tree | 0f4adc06e26606a02417eb95f0aae81607666827 /drivers/misc/mei/hw.h | |
parent | 20f7151d63abbb5281ec036197ed822843be1ebf (diff) | |
download | linux-e24ca92599cb73ea6d2f768632f4e30b6f9983cf.tar.xz |
Revert "mei: Avoid the use of one-element arrays"
This reverts commit 3c3b7ddef7879abb2c42422e898145826c79e5f0, as it
turns out Tomas made a better series of patches for this same issue.
Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
Cc: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/hw.h')
-rw-r--r-- | drivers/misc/mei/hw.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h index 8c0297f0e7f3..b1a8d5ec88b3 100644 --- a/drivers/misc/mei/hw.h +++ b/drivers/misc/mei/hw.h @@ -346,13 +346,13 @@ struct hbm_add_client_request { * @hbm_cmd: bus message command header * @me_addr: address of the client in ME * @status: if HBMS_SUCCESS then the client can now accept connections. - * @reserved: reserved for alignment. + * @reserved: reserved */ struct hbm_add_client_response { u8 hbm_cmd; u8 me_addr; u8 status; - u8 reserved; + u8 reserved[1]; } __packed; /** @@ -461,7 +461,7 @@ struct hbm_notification { u8 hbm_cmd; u8 me_addr; u8 host_addr; - u8 reserved; + u8 reserved[1]; } __packed; /** |