summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-06-02 13:31:48 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-02 13:31:48 -0700
commit194098915ac74daddca9d6ed46fd11be57f45e16 (patch)
tree7d7ac53511aebdb457d33ed59b0788f528759900 /drivers
parent118d6e98293b30aee378a6b08d27a35320a3e34f (diff)
parent9361797c7696874a1136442b5ee69c62b0e54738 (diff)
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
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pnp/pnpbios/pnpbios.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/pnpbios/pnpbios.h b/drivers/pnp/pnpbios/pnpbios.h
index 37acb8378f39..2ce739ff9c1a 100644
--- a/drivers/pnp/pnpbios/pnpbios.h
+++ b/drivers/pnp/pnpbios/pnpbios.h
@@ -107,7 +107,7 @@ struct pnp_bios_node {
__u32 eisa_id;
__u8 type_code[3];
__u16 flags;
- __u8 data[0];
+ __u8 data[];
};
#pragma pack()