Commit 19409891 authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'pnp-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull PNP update from Rafael Wysocki:
 "Replace a zero-length array with a flexible-array (Gustavo A. R.
  Silva)"

* tag 'pnp-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  PNPBIOS: Replace zero-length array with flexible-array
parents 118d6e98 9361797c
...@@ -107,7 +107,7 @@ struct pnp_bios_node { ...@@ -107,7 +107,7 @@ struct pnp_bios_node {
__u32 eisa_id; __u32 eisa_id;
__u8 type_code[3]; __u8 type_code[3];
__u16 flags; __u16 flags;
__u8 data[0]; __u8 data[];
}; };
#pragma pack() #pragma pack()
......
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