On Sun, 2019-12-29 at 17:31 -0500, Matthew Hanzelik wrote: > Fix the 80 line limit warning on line 79 of hif_rx.c. > > Also fixes the missing blank line warning on line 305 of hif_rx.c after > the declaration of size_t len. [] > diff --git a/drivers/staging/wfx/hif_rx.c b/drivers/staging/wfx/hif_rx.c [] > @@ -76,7 +76,8 @@ static int hif_multi_tx_confirm(struct wfx_dev *wdev, struct hif_msg *hif, > void *buf) > { > struct hif_cnf_multi_transmit *body = buf; > - struct hif_cnf_tx *buf_loc = (struct hif_cnf_tx *) &body->tx_conf_payload; > + struct hif_cnf_tx *buf_loc = > + (struct hif_cnf_tx *) &body->tx_conf_payload; Just get rid of the cast instead struct hif_cnf_tx *buf_loc = body->tx_conf_payload; should work fine. _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel