Skip to content

Commit 1940989

Browse files
committed
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
2 parents 118d6e9 + 9361797 commit 1940989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pnp/pnpbios/pnpbios.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ struct pnp_bios_node {
107107
__u32 eisa_id;
108108
__u8 type_code[3];
109109
__u16 flags;
110-
__u8 data[0];
110+
__u8 data[];
111111
};
112112
#pragma pack()
113113

0 commit comments

Comments
 (0)