Re: [PATCH v2 03/11] staging: mt7621-mmc: Fix warning when reloading module with debug msgs enabled

2019-03-20 Thread Greg Kroah-Hartman
On Mon, Mar 18, 2019 at 08:20:04PM -0600, George Hilliard wrote: > The kernel complained: > > [ 510.277151] WARNING: CPU: 0 PID: 395 at fs/proc/generic.c:360 > proc_register+0xf0/0x108 > [ 510.292891] proc_dir_entry '/proc/msdc_debug' already registered > > when doing a

[PATCH v2 03/11] staging: mt7621-mmc: Fix warning when reloading module with debug msgs enabled

2019-03-18 Thread George Hilliard
The kernel complained: [ 510.277151] WARNING: CPU: 0 PID: 395 at fs/proc/generic.c:360 proc_register+0xf0/0x108 [ 510.292891] proc_dir_entry '/proc/msdc_debug' already registered when doing a modprobe/rmmod/modprobe of this module if debug messages are compiled in. Fix this by