On Tue, Mar 28, 2023 at 09:57:49AM +0800, Yu Zhe wrote: > static void devm_rproc_free(struct device *dev, void *res) > { > - rproc_free(*(struct rproc **)res); > + rproc_free(res); This introduces a bug. regards, dan carpenter
On Tue, Mar 28, 2023 at 09:57:49AM +0800, Yu Zhe wrote: > static void devm_rproc_free(struct device *dev, void *res) > { > - rproc_free(*(struct rproc **)res); > + rproc_free(res); This introduces a bug. regards, dan carpenter