Message ID | 20200508210805.GA24170@embeddedor (mailing list archive) |
---|---|
State | Accepted |
Commit | c20977721631602eafb263fd89fbafaa11de1ebe |
Headers | show |
Series | firmware: qcom_scm-legacy: Replace zero-length array with flexible-array | expand |
diff --git a/drivers/firmware/qcom_scm-legacy.c b/drivers/firmware/qcom_scm-legacy.c index 8532e7c78ef7..eba6b60bfb61 100644 --- a/drivers/firmware/qcom_scm-legacy.c +++ b/drivers/firmware/qcom_scm-legacy.c @@ -56,7 +56,7 @@ struct scm_legacy_command { __le32 buf_offset; __le32 resp_hdr_offset; __le32 id; - __le32 buf[0]; + __le32 buf[]; }; /**