git: bus: Clear device description when we set driver.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Jul 12 20:02:34 PDT 2015


commit 72a106143adcdaba68f58c91ae7a91f967916721
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Jul 13 10:59:09 2015 +0800

    bus: Clear device description when we set driver.
    
    This fixes several places that driver is detached, but device desc set
    by driver is not cleared, e.g. module unload.
    
    Minor cleanup, while I'm here.
    
    Reported-by: swildner@

Summary of changes:
 sys/kern/subr_bus.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/72a106143adcdaba68f58c91ae7a91f967916721


-- 
DragonFly BSD source repository



More information about the Commits mailing list