Commit d26a42a9 authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'rpmsg-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc

Pull rpmsg updates from Bjorn Andersson:
 "This replaces a zero-length array with flexible-array and fixes a typo
  in a comment in the rpmsg core"

* tag 'rpmsg-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc:
  rpmsg: Replace zero-length array with flexible-array
  rpmsg: fix a comment typo for rpmsg_device_match()
parents 95288a9b 4f05fc33
...@@ -284,7 +284,7 @@ int rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst, ...@@ -284,7 +284,7 @@ int rpmsg_trysend_offchannel(struct rpmsg_endpoint *ept, u32 src, u32 dst,
EXPORT_SYMBOL(rpmsg_trysend_offchannel); EXPORT_SYMBOL(rpmsg_trysend_offchannel);
/* /*
* match an rpmsg channel with a channel info struct. * match a rpmsg channel with a channel info struct.
* this is used to make sure we're not creating rpmsg devices for channels * this is used to make sure we're not creating rpmsg devices for channels
* that already exist. * that already exist.
*/ */
......
...@@ -89,7 +89,7 @@ struct rpmsg_hdr { ...@@ -89,7 +89,7 @@ struct rpmsg_hdr {
u32 reserved; u32 reserved;
u16 len; u16 len;
u16 flags; u16 flags;
u8 data[0]; u8 data[];
} __packed; } __packed;
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment