Re: [PATCH] remoteproc: core: Remove casting to rproc_handle_resource_t

2021-02-23 Thread Mathieu Poirier
On Tue, 23 Feb 2021 at 09:49, Sami Tolvanen wrote: > > On Tue, Feb 23, 2021 at 8:41 AM Mathieu Poirier > wrote: > > > > On Mon, 22 Feb 2021 at 15:48, Sami Tolvanen wrote: > > > > > > Hi, > > > > > > On Sun, Feb 21, 2021 at 11:18 PM Jindong Yue wrote: > > > > > > > > There are four different

Re: [PATCH] remoteproc: core: Remove casting to rproc_handle_resource_t

2021-02-23 Thread Sami Tolvanen
On Tue, Feb 23, 2021 at 8:41 AM Mathieu Poirier wrote: > > On Mon, 22 Feb 2021 at 15:48, Sami Tolvanen wrote: > > > > Hi, > > > > On Sun, Feb 21, 2021 at 11:18 PM Jindong Yue wrote: > > > > > > There are four different callback functions that are used for the > > > rproc_handle_resource_t

Re: [PATCH] remoteproc: core: Remove casting to rproc_handle_resource_t

2021-02-23 Thread Mathieu Poirier
On Mon, 22 Feb 2021 at 15:48, Sami Tolvanen wrote: > > Hi, > > On Sun, Feb 21, 2021 at 11:18 PM Jindong Yue wrote: > > > > There are four different callback functions that are used for the > > rproc_handle_resource_t callback that all have different second > > parameter types. > > > >

Re: [PATCH] remoteproc: core: Remove casting to rproc_handle_resource_t

2021-02-22 Thread Sami Tolvanen
Hi, On Sun, Feb 21, 2021 at 11:18 PM Jindong Yue wrote: > > There are four different callback functions that are used for the > rproc_handle_resource_t callback that all have different second > parameter types. > > rproc_handle_vdev -> struct fw_rsc_vdev > rproc_handle_trace -> struct