lkml.org 
[lkml]   [2011]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 07/49] Staging: hv: stor: Rename the vriable gStorVscDeviceType in storvsc_drv.c
    Date
    Rename the vriable gStorVscDeviceType in storvsc_drv.c.

    Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
    Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
    Signed-off-by: Abhishek Kane <v-abkane@microsoft.com>
    ---
    drivers/staging/hv/storvsc_drv.c | 4 ++--
    1 files changed, 2 insertions(+), 2 deletions(-)
    diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c
    index 73fbded..9e51356 100644
    --- a/drivers/staging/hv/storvsc_drv.c
    +++ b/drivers/staging/hv/storvsc_drv.c
    @@ -44,7 +44,7 @@ MODULE_PARM_DESC(storvsc_ringbuffer_size, "Ring buffer size (bytes)");
    static const char *driver_name = "storvsc";

    /* {ba6163d9-04a1-4d29-b605-72e2ffb1dc7f} */
    -static const struct hv_guid gStorVscDeviceType = {
    +static const struct hv_guid stor_vsci_device_type = {
    .data = {
    0xd9, 0x63, 0x61, 0xba, 0xa1, 0x04, 0x29, 0x4d,
    0xb6, 0x05, 0x72, 0xe2, 0xff, 0xb1, 0xdc, 0x7f
    @@ -742,7 +742,7 @@ static int __init storvsc_drv_init(void)
    sizeof(struct vstor_packet) + sizeof(u64),
    sizeof(u64)));

    - memcpy(&drv->dev_type, &gStorVscDeviceType,
    + memcpy(&drv->dev_type, &stor_vsci_device_type,
    sizeof(struct hv_guid));

    if (max_outstanding_req_per_channel <
    --
    1.7.4.1


    \
     
     \ /
      Last update: 2011-06-07 00:39    [from the cache]
    ©2003-2011 Jasper Spaans