Re: [PATCH] ravb: Fixed the problem that rmmod can not be done

2020-07-30 Thread kernel test robot
Hi Yuusuke, Thank you for the patch! Yet something to improve: [auto build test ERROR on ipvs/master] [also build test ERROR on linus/master v5.8-rc7 next-20200729] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as doc

[PATCH] ravb: Fixed the problem that rmmod can not be done

2020-07-29 Thread Yuusuke Ashizuka
ravb is a module driver, but I cannot rmmod it after insmod it. ravb does mdio_init() at the time of probe, and module->refcnt is incremented by alloc_mdio_bitbang() called after that. Therefore, even if ifup is not performed, the driver is in use and rmmod cannot be performed. $ lsmod Module