Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (6 weeks ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/drivers/media/usb/dvb-usb-v2/dvb_usb_core.c

    r25370 r31885  
    953953{
    954954        struct dvb_usb_device *d = usb_get_intfdata(intf);
    955         const char *name = d->name;
    956         struct device dev = d->udev->dev;
     955        const char *devname = kstrdup(dev_name(&d->udev->dev), GFP_KERNEL);
     956        const char *drvname = d->name;
     957
    957958        dev_dbg(&d->udev->dev, "%s: bInterfaceNumber=%d\n", __func__,
    958959                        intf->cur_altsetting->desc.bInterfaceNumber);
     
    963964        dvb_usbv2_exit(d);
    964965
    965         dev_info(&dev, "%s: '%s' successfully deinitialized and disconnected\n",
    966                         KBUILD_MODNAME, name);
     966        pr_info("%s: '%s:%s' successfully deinitialized and disconnected\n",
     967                KBUILD_MODNAME, drvname, devname);
     968        kfree(devname);
    967969}
    968970EXPORT_SYMBOL(dvb_usbv2_disconnect);
Note: See TracChangeset for help on using the changeset viewer.