[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200506.134940.1001463900310607910.davem@davemloft.net>
Date: Wed, 06 May 2020 13:49:40 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: manivannan.sadhasivam@...aro.org
Cc: kvalo@...eaurora.org, bjorn.andersson@...aro.org,
hemantk@...eaurora.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, clew@...eaurora.org,
gregkh@...uxfoundation.org, netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] net: qrtr: Add MHI transport layer
From: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
Date: Wed, 6 May 2020 10:20:14 +0530
> +/* From QRTR to MHI */
> +static void qcom_mhi_qrtr_ul_callback(struct mhi_device *mhi_dev,
> + struct mhi_result *mhi_res)
> +{
> + struct sk_buff *skb = (struct sk_buff *)mhi_res->buf_addr;
You never need to cast to another pointer type from "void *", that's
the whole point of a void pointer.
So please remove this "struct sk_buff *" cast, thank you.
Please audit your entire submission for this problem.
Powered by blists - more mailing lists