staging: ozwpan: Fix farewell report.
[firefly-linux-kernel-4.4.55.git] / drivers / staging / ozwpan / ozpd.h
index 57e98c897711e79a35e838d329c5498f3858f3aa..996ef65ed315652fa25cf4a5e81684991b59033c 100644 (file)
@@ -48,8 +48,8 @@ struct oz_farewell {
        struct list_head link;
        u8 ep_num;
        u8 index;
-       u8 report[32];
        u8 len;
+       u8 report[0];
 };
 
 /* Data structure that holds information on a specific peripheral device (PD).