Skip to content

Commit

Permalink
Merge tag 'pnp-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/…
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
torvalds committed Jun 2, 2020
2 parents 118d6e9 + 9361797 commit 1940989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pnp/pnpbios/pnpbios.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ struct pnp_bios_node {
__u32 eisa_id;
__u8 type_code[3];
__u16 flags;
__u8 data[0];
__u8 data[];
};
#pragma pack()

Expand Down

0 comments on commit 1940989

Please sign in to comment.