Staging: hv: netvsc: Change the jump label Cleanup to cleanup
authorK. Y. Srinivasan <kys@microsoft.com>
Thu, 25 Aug 2011 16:49:24 +0000 (09:49 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 22:32:25 +0000 (15:32 -0700)
Change the jump label "Cleanup" to "cleanup".

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/rndis_filter.c

index f0d1362913ef1b61b545b98a618672e589ad8018..79dfe78807b6089a887459607bbd5929bfe9d3ea 100644 (file)
@@ -438,7 +438,7 @@ static int rndis_filter_query_device(struct rndis_device *dev, u32 oid,
                        RNDIS_MESSAGE_SIZE(struct rndis_query_request));
        if (!request) {
                ret = -ENOMEM;
-               goto Cleanup;
+               goto cleanup;
        }
 
        /* Setup the rndis query */
@@ -450,12 +450,12 @@ static int rndis_filter_query_device(struct rndis_device *dev, u32 oid,
 
        ret = rndis_filter_send_request(dev, request);
        if (ret != 0)
-               goto Cleanup;
+               goto cleanup;
 
        t = wait_for_completion_timeout(&request->wait_event, 5*HZ);
        if (t == 0) {
                ret = -ETIMEDOUT;
-               goto Cleanup;
+               goto cleanup;
        }
 
        /* Copy the response back */
@@ -463,7 +463,7 @@ static int rndis_filter_query_device(struct rndis_device *dev, u32 oid,
 
        if (query_complete->info_buflen > inresult_size) {
                ret = -1;
-               goto Cleanup;
+               goto cleanup;
        }
 
        memcpy(result,
@@ -473,7 +473,7 @@ static int rndis_filter_query_device(struct rndis_device *dev, u32 oid,
 
        *result_size = query_complete->info_buflen;
 
-Cleanup:
+cleanup:
        if (request)
                put_rndis_request(dev, request);
 
@@ -512,7 +512,7 @@ static int rndis_filter_set_packet_filter(struct rndis_device *dev,
                        sizeof(u32));
        if (!request) {
                ret = -ENOMEM;
-               goto Cleanup;
+               goto cleanup;
        }
 
        /* Setup the rndis set */
@@ -526,7 +526,7 @@ static int rndis_filter_set_packet_filter(struct rndis_device *dev,
 
        ret = rndis_filter_send_request(dev, request);
        if (ret != 0)
-               goto Cleanup;
+               goto cleanup;
 
        t = wait_for_completion_timeout(&request->wait_event, 5*HZ);
 
@@ -543,7 +543,7 @@ static int rndis_filter_set_packet_filter(struct rndis_device *dev,
                status = set_complete->status;
        }
 
-Cleanup:
+cleanup:
        if (request)
                put_rndis_request(dev, request);
 Exit:
@@ -563,7 +563,7 @@ static int rndis_filter_init_device(struct rndis_device *dev)
                        RNDIS_MESSAGE_SIZE(struct rndis_initialize_request));
        if (!request) {
                ret = -ENOMEM;
-               goto Cleanup;
+               goto cleanup;
        }
 
        /* Setup the rndis set */
@@ -578,7 +578,7 @@ static int rndis_filter_init_device(struct rndis_device *dev)
        ret = rndis_filter_send_request(dev, request);
        if (ret != 0) {
                dev->state = RNDIS_DEV_UNINITIALIZED;
-               goto Cleanup;
+               goto cleanup;
        }
 
 
@@ -586,7 +586,7 @@ static int rndis_filter_init_device(struct rndis_device *dev)
 
        if (t == 0) {
                ret = -ETIMEDOUT;
-               goto Cleanup;
+               goto cleanup;
        }
 
        init_complete = &request->response_msg.msg.init_complete;
@@ -599,7 +599,7 @@ static int rndis_filter_init_device(struct rndis_device *dev)
                ret = -EINVAL;
        }
 
-Cleanup:
+cleanup:
        if (request)
                put_rndis_request(dev, request);
 
@@ -615,7 +615,7 @@ static void rndis_filter_halt_device(struct rndis_device *dev)
        request = get_rndis_request(dev, REMOTE_NDIS_HALT_MSG,
                                RNDIS_MESSAGE_SIZE(struct rndis_halt_request));
        if (!request)
-               goto Cleanup;
+               goto cleanup;
 
        /* Setup the rndis set */
        halt = &request->request_msg.msg.halt_req;
@@ -626,7 +626,7 @@ static void rndis_filter_halt_device(struct rndis_device *dev)
 
        dev->state = RNDIS_DEV_UNINITIALIZED;
 
-Cleanup:
+cleanup:
        if (request)
                put_rndis_request(dev, request);
        return;