Subject: Re: [PATCH v5 4/8] thunderbolt: Communication with the ICM (firmware)

From: Stephen Hemminger <[email-masked]>
Date: Fri, 29 Jul 2016 14:03:26 -0700

On Thu, 28 Jul 2016 11:15:17 +0300
Amir Levy <[email-masked]> wrote:

> +int nhi_send_message(struct tbt_nhi_ctxt *nhi_ctxt, enum pdf_value pdf,
> +		     u32 msg_len, const u8 *msg, bool ignore_icm_resp)
> +{

Why not make msg a void * and not have to do so many casts?