]> git.openpandora.org Git - pandora-kernel.git/commitdiff
hyper-v: make uuid_le const
authorstephen hemminger <stephen@networkplumber.org>
Tue, 3 Jun 2014 15:38:15 +0000 (08:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jun 2014 01:18:38 +0000 (18:18 -0700)
The uuid structure could be managed as a const in several places.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/hv/channel_mgmt.c
drivers/hv/hyperv_vmbus.h
drivers/hv/vmbus_drv.c

index fa920469bf104fda2e57d9c2bce2f15f90d5b2a4..90d6545564378c35d55fcb7f71a635ca5cfc32d5 100644 (file)
@@ -365,7 +365,7 @@ static u32  next_vp;
  * performance critical channels (IDE, SCSI and Network) will be uniformly
  * distributed across all available CPUs.
  */
-static u32 get_vp_index(uuid_le *type_guid)
+static u32 get_vp_index(const uuid_le *type_guid)
 {
        u32 cur_cpu;
        int i;
Simple merge
Simple merge