Re: [BUG 4.17] reloading etnaviv module causes kernel warning

2018-06-23 Thread Fabio Estevam
On Sat, Jun 23, 2018 at 6:20 PM, Fabio Estevam wrote: > Hi Russell, > > On Thu, Jun 21, 2018 at 7:23 AM, Russell King - ARM Linux > wrote: >> When removing and reloading the etnaviv module, the following splat >> occurs: > > We are missing to call platform_device_unregister() in etnaviv_exit(). >

Re: [BUG 4.17] reloading etnaviv module causes kernel warning

2018-06-23 Thread Fabio Estevam
Hi Russell, On Thu, Jun 21, 2018 at 7:23 AM, Russell King - ARM Linux wrote: > When removing and reloading the etnaviv module, the following splat > occurs: We are missing to call platform_device_unregister() in etnaviv_exit(). Calling platform_device_unregister() like in the patch from the lin

[BUG 4.17] reloading etnaviv module causes kernel warning

2018-06-22 Thread Russell King - ARM Linux
When removing and reloading the etnaviv module, the following splat occurs: sysfs: cannot create duplicate filename '/devices/platform/etnaviv' CPU: 0 PID: 1471 Comm: modprobe Not tainted 4.17.0+ #1608 Hardware name: Marvell Dove (Cubox) Backtrace: [] (dump_backtrace) from [] (show_stack+0x18/0x1c