01 Nov, 2016

1 commit

  • This subsystem consistently fails to drop the device reference taken by
    class_find_device().

    Note that some of these lookup functions already take a reference to the
    returned data, while others claim no reference is needed (or does not
    seem need one).

    Fixes: 183b9b592a62 ("uwb: add the UWB stack (core files)")
    Signed-off-by: Johan Hovold
    Signed-off-by: Greg Kroah-Hartman

    Johan Hovold
     

13 Aug, 2013

1 commit

  • In the disconnect routine for the hwa_hc interface, it calls
    uwb_pal_unregister to unregister itself from the UWB subsystem. This
    function attempts to clean up the link to the host controller directory in
    the device's UWB radio control interface directory. If the disconnect
    routine for the radio control interface has already run, the uwb directory
    will be gone so the call to sysfs_remove_link generates a warning.

    Signed-off-by: Thomas Pugliese
    Signed-off-by: Greg Kroah-Hartman

    Thomas Pugliese
     

25 Jun, 2013

1 commit

  • This patch fixes a race condition that caused the HWA_HC interface probe
    function to occasionally fail. The HWA_HC would attempt to register
    itself with the HWA_RC by searching for a uwb_rc class device with the
    same parent device ptr. If the probe function for the HWA_RC interface
    had yet to run, the uwb_rc class device would not have been created
    causing the look up to fail and the HWA_HC probe function to return an
    error causing the device to be unusable.

    The fix is for the HWA to delay registering with the HWA_RC until
    receiving the command from userspace to start the wireless channel. It
    is the responsibility of userspace to ensure that the uwb_rc class
    device has been created before starting the HWA channel.

    Signed-off-by: Thomas Pugliese
    Signed-off-by: Greg Kroah-Hartman

    Thomas Pugliese
     

01 Nov, 2011

1 commit

  • These macros are no longer in module.h and module.h is no longer
    present everywhere. Call out export.h for the real users who
    are making use of these macros, or else we'll get things like:

    CC drivers/uwb/umc-drv.o
    drivers/uwb/umc-dev.c:42: warning: data definition has no type or storage class
    drivers/uwb/umc-dev.c:42: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’
    drivers/uwb/umc-dev.c:42: warning: parameter names (without types) in function declaration

    Signed-off-by: Paul Gortmaker

    Paul Gortmaker