From: Rupesh Gujare Date: Thu, 1 Aug 2013 17:45:01 +0000 (+0100) Subject: staging: ozwpan: Increase farewell report size. X-Git-Tag: firefly_0821_release~176^2~5471^2~362 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=baaaef1383d3708f02b2316d2d6f2bda0980fad7;p=firefly-linux-kernel-4.4.55.git staging: ozwpan: Increase farewell report size. Farewell report size can be bigger than one byte, increase array size to accomodate maximum 32 bytes of farewell report. Signed-off-by: Rupesh Gujare Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ozwpan/ozpd.h b/drivers/staging/ozwpan/ozpd.h index a281753774e6..57e98c897711 100644 --- a/drivers/staging/ozwpan/ozpd.h +++ b/drivers/staging/ozwpan/ozpd.h @@ -48,7 +48,7 @@ struct oz_farewell { struct list_head link; u8 ep_num; u8 index; - u8 report[1]; + u8 report[32]; u8 len; };