Re: [PATCH RFC v3 4/9] staging: most: move interface dev to private section

2020-01-15 Thread Christian.Gromm
On Wed, 2020-01-15 at 13:17 +0100, Greg KH wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you > know the content is safe > > On Tue, Jan 14, 2020 at 04:57:53PM +0100, Christian Gromm wrote: > > This patch moves the struct device of the interface structure to > > its > >

Re: [PATCH RFC v3 4/9] staging: most: move interface dev to private section

2020-01-15 Thread Greg KH
On Tue, Jan 14, 2020 at 04:57:53PM +0100, Christian Gromm wrote: > This patch moves the struct device of the interface structure to its > private section, because only the core should access it directly. For > other entities an API is provided. This feels "wrong". Shouldn't the struct device in

[PATCH RFC v3 4/9] staging: most: move interface dev to private section

2020-01-14 Thread Christian Gromm
This patch moves the struct device of the interface structure to its private section, because only the core should access it directly. For other entities an API is provided. Signed-off-by: Christian Gromm --- v3: This patch has been added to the series. drivers/staging/most/core.c