• Greg Kroah-Hartman's avatar
    Staging: hv: file2alias: fix up alias creation logic for hv_vmbus_device_id · ebf16e38
    Greg Kroah-Hartman authored
    When I added the driver_data field to hv_vmbus_device_id, I forgot to
    take into the account how the alias was created, so it would append the
    kernel pointer to the end of the alias, which is not correct.
    
    This changes how the hv_vmbus_device_id alias is created to proper
    account for the driver_data field.  As no module yet uses this alias, it
    is safe to fix this up at this point in the commit stream.
    
    Cc: K. Y. Srinivasan <kys@microsoft.com>
    Cc: Haiyang Zhang <haiyangz@microsoft.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    ebf16e38
file2alias.c 30.9 KB