lkml.org 
[lkml]   [2023]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3] remoteproc: remove unnecessary (void*) conversions
    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

    \
     
     \ /
      Last update: 2023-03-28 09:40    [W:2.452 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site