[PATCH v2 1/8] soc: qcom: Make qcom_smem_get() return a pointer

Bjorn Andersson bjorn.andersson at sonymobile.com
Thu Sep 3 10:02:08 PDT 2015


On Wed 02 Sep 15:46 PDT 2015, Stephen Boyd wrote:

> Passing a void ** almost always requires a cast at the call site.
> Instead of littering the code with casts every time this function
> is called, have qcom_smem_get() return a void pointer to the
> location of the smem item. This frees the caller from having to
> cast the pointer.
> 
Reviewed-by: Bjorn Andersson <bjorn.andersson at sonymobile.com>



More information about the linux-arm-kernel mailing list