]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Remove trailing white space
authorStar Zeng <star.zeng@intel.com>
Wed, 5 Sep 2018 01:03:32 +0000 (09:03 +0800)
committerStar Zeng <star.zeng@intel.com>
Thu, 6 Sep 2018 01:17:03 +0000 (09:17 +0800)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1144

Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
MdeModulePkg/Core/Pei/Ppi/Ppi.c
MdeModulePkg/Include/Library/NetLib.h
MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
MdeModulePkg/Library/DxeNetLib/DxeNetLib.c
MdeModulePkg/Universal/EsrtFmpDxe/EsrtFmp.c
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4If.c
MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Impl.c

index d8ba2dd42b5919f99afb300d9a2135a36ab473e1..6f03858b8a94e282d56e5b2c367ddaf9fc5d8885 100644 (file)
@@ -143,7 +143,7 @@ ConvertPointerInRanges (
 \r
   Migrate Single PPI Pointer from the temporary memory to PEI installed memory.\r
 \r
-  @param SecCoreData     Points to a data structure containing SEC to PEI handoff data, such as the size \r
+  @param SecCoreData     Points to a data structure containing SEC to PEI handoff data, such as the size\r
                          and location of temporary RAM, the stack location and the BFV location.\r
   @param PrivateData     Pointer to PeiCore's private data structure.\r
   @param PpiPointer      Pointer to Ppi\r
@@ -179,7 +179,7 @@ ConvertSinglePpiPointer (
 \r
   Migrate PPI Pointers from the temporary memory to PEI installed memory.\r
 \r
-  @param SecCoreData     Points to a data structure containing SEC to PEI handoff data, such as the size \r
+  @param SecCoreData     Points to a data structure containing SEC to PEI handoff data, such as the size\r
                          and location of temporary RAM, the stack location and the BFV location.\r
   @param PrivateData     Pointer to PeiCore's private data structure.\r
 \r
index b7ef99c7b568e016682c289e7edbe37565635e33..09779739213e5196474e35f15349db59af0c06ff 100644 (file)
@@ -424,7 +424,7 @@ NetGetIpClass (
   except when the originator is one of the endpoints of a point-to-point link with a 31-bit\r
   mask (RFC3021), or a 32bit NetMask (all 0xFF) is used for special network environment (e.g.\r
   PPP link).\r
-  \r
+\r
   @param[in]  Ip                    The IP to check against.\r
   @param[in]  NetMask               The mask of the IP.\r
 \r
index 91c6849a46588bf2d89f000d08d68a8462cb0579..20fd29a3a87ff0e5559f88ba6e674dc5f1319fef 100644 (file)
@@ -765,7 +765,7 @@ GetFmpHandleBufferByType (
             MatchedHandleBuffer[MatchedNumberOfHandles] = HandleBuffer[Index];\r
           }\r
           if (MatchedResetRequiredBuffer != NULL) {\r
-            MatchedResetRequiredBuffer[MatchedNumberOfHandles] = (((TempFmpImageInfo->AttributesSupported & \r
+            MatchedResetRequiredBuffer[MatchedNumberOfHandles] = (((TempFmpImageInfo->AttributesSupported &\r
                                                                  IMAGE_ATTRIBUTE_RESET_REQUIRED) != 0) &&\r
                                                                  ((TempFmpImageInfo->AttributesSetting &\r
                                                                  IMAGE_ATTRIBUTE_RESET_REQUIRED) != 0));\r
index 63f4724062e9d1c1b09aa22bf169588551ff211f..9e3ea2490928442f1841d3e5d66597d4cd3f68fe 100644 (file)
@@ -656,7 +656,7 @@ NetGetIpClass (
   except when the originator is one of the endpoints of a point-to-point link with a 31-bit\r
   mask (RFC3021), or a 32bit NetMask (all 0xFF) is used for special network environment (e.g.\r
   PPP link).\r
-  \r
+\r
   @param[in]  Ip                    The IP to check against.\r
   @param[in]  NetMask               The mask of the IP.\r
 \r
@@ -671,7 +671,7 @@ NetIp4IsUnicast (
   )\r
 {\r
   INTN   MaskLength;\r
-  \r
+\r
   ASSERT (NetMask != 0);\r
 \r
   if (Ip == 0 || IP4_IS_LOCAL_BROADCAST (Ip)) {\r
index 219059760e97a97a924dafd2b37289d6c7bef75b..129e90ca11b424b60262c6fb472bbc923f681a04 100644 (file)
@@ -296,7 +296,7 @@ CreateFmpBasedEsrt (
 \r
   Table->FwResourceCount    = 0;\r
   Table->FwResourceCountMax = GROWTH_STEP;\r
-  Table->FwResourceVersion  = EFI_SYSTEM_RESOURCE_TABLE_FIRMWARE_RESOURCE_VERSION; \r
+  Table->FwResourceVersion  = EFI_SYSTEM_RESOURCE_TABLE_FIRMWARE_RESOURCE_VERSION;\r
 \r
   for (Index = 0; Index < NoProtocols; Index++) {\r
     Fmp = (EFI_FIRMWARE_MANAGEMENT_PROTOCOL *) Buffer[Index];\r
index 499a486a8b5d64d05ecbbb101e0842877ea52af6..4e3988132d6bf379a2c87b097343690ef4ccb552 100644 (file)
@@ -796,14 +796,14 @@ Ip4FreeInterface (
 }\r
 \r
 /**\r
-  This function tries to send all the queued frames in ArpQue to the default gateway if \r
+  This function tries to send all the queued frames in ArpQue to the default gateway if\r
   the ARP resolve for direct destination address is failed when using /32 subnet mask.\r
 \r
   @param[in]   ArpQue           The ARP queue of a failed request.\r
-  \r
+\r
   @retval EFI_SUCCESS           All the queued frames have been send to the default route.\r
   @retval Others                Failed to send the queued frames.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 Ip4SendFrameToDefaultRoute (\r
@@ -817,7 +817,7 @@ Ip4SendFrameToDefaultRoute (
   IP4_ADDR                  Gateway;\r
   EFI_STATUS                Status;\r
   IP4_ROUTE_ENTRY           *DefaultRoute;\r
-  \r
+\r
   //\r
   // ARP resolve failed when using /32 subnet mask.\r
   //\r
@@ -850,7 +850,7 @@ Ip4SendFrameToDefaultRoute (
     Gateway = DefaultRoute->NextHop;\r
     if (ArpQue->Ip == Gateway) {\r
       //\r
-      // ARP resolve for the default route is failed, return error to caller. \r
+      // ARP resolve for the default route is failed, return error to caller.\r
       //\r
       Status= EFI_NO_MAPPING;\r
       goto ON_ERROR;\r
@@ -865,7 +865,7 @@ Ip4SendFrameToDefaultRoute (
   }\r
 \r
   return EFI_SUCCESS;\r
-  \r
+\r
 ON_ERROR:\r
   if (RtCacheEntry != NULL) {\r
     Ip4FreeRouteCacheEntry (RtCacheEntry);\r
@@ -905,7 +905,7 @@ Ip4OnArpResolvedDpc (
   RemoveEntryList (&ArpQue->Link);\r
 \r
   //\r
-  // ARP resolve failed for some reason. \r
+  // ARP resolve failed for some reason.\r
   //\r
   if (NET_MAC_EQUAL (&ArpQue->Mac, &mZeroMacAddress, ArpQue->Interface->HwaddrLen)) {\r
     if (ArpQue->Interface->SubnetMask != IP4_ALLONE_ADDRESS) {\r
index 7c27db6753d0fdaf966d3aaff1a947a7131b070c..87aadf13e4703fab2a320548d47aff0561dd0342 100644 (file)
@@ -682,7 +682,7 @@ Ip4ConfigProtocol (
     //\r
     if (IpSb->State == IP4_SERVICE_UNSTARTED) {\r
       //\r
-      // Trigger the EFI_IP4_CONFIG2_PROTOCOL to retrieve the \r
+      // Trigger the EFI_IP4_CONFIG2_PROTOCOL to retrieve the\r
       // default IPv4 address if it is not available yet.\r
       //\r
       Policy = IpSb->Ip4Config2Instance.Policy;\r
@@ -1660,7 +1660,7 @@ EfiIp4Transmit (
     }\r
 \r
     RawHdrLen = (UINT8) (RawHdrLen << 2);\r
-    \r
+\r
     CopyMem (&Head, FirstFragment, IP4_MIN_HEADLEN);\r
 \r
     Ip4NtohHead (&Head);\r
@@ -2250,8 +2250,8 @@ Ip4SentPacketTicking (
 }\r
 \r
 /**\r
-  This heart beat timer of IP4 service instance times out all of its IP4 children's \r
-  received-but-not-delivered and transmitted-but-not-recycle packets, and provides \r
+  This heart beat timer of IP4 service instance times out all of its IP4 children's\r
+  received-but-not-delivered and transmitted-but-not-recycle packets, and provides\r
   time input for its IGMP protocol.\r
 \r
   @param[in]  Event                  The IP4 service instance's heart beat timer.\r
@@ -2269,17 +2269,17 @@ Ip4TimerTicking (
 \r
   IpSb = (IP4_SERVICE *) Context;\r
   NET_CHECK_SIGNATURE (IpSb, IP4_SERVICE_SIGNATURE);\r
-  \r
+\r
   Ip4PacketTimerTicking (IpSb);\r
   Ip4IgmpTicking (IpSb);\r
 }\r
 \r
 /**\r
-  This dedicated timer is used to poll underlying network media status. In case \r
-  of cable swap or wireless network switch, a new round auto configuration will \r
-  be initiated. The timer will signal the IP4 to run DHCP configuration again. \r
-  IP4 driver will free old IP address related resource, such as route table and \r
-  Interface, then initiate a DHCP process to acquire new IP, eventually create \r
+  This dedicated timer is used to poll underlying network media status. In case\r
+  of cable swap or wireless network switch, a new round auto configuration will\r
+  be initiated. The timer will signal the IP4 to run DHCP configuration again.\r
+  IP4 driver will free old IP address related resource, such as route table and\r
+  Interface, then initiate a DHCP process to acquire new IP, eventually create\r
   route table for new IP address.\r
 \r
   @param[in]  Event                  The IP4 service instance's heart beat timer.\r
@@ -2300,12 +2300,12 @@ Ip4TimerReconfigChecking (
 \r
   IpSb = (IP4_SERVICE *) Context;\r
   NET_CHECK_SIGNATURE (IpSb, IP4_SERVICE_SIGNATURE);\r
-  \r
+\r
   OldMediaPresent = IpSb->MediaPresent;\r
 \r
   //\r
-  // Get fresh mode data from MNP, since underlying media status may change. \r
-  // Here, it needs to mention that the MediaPresent can also be checked even if \r
+  // Get fresh mode data from MNP, since underlying media status may change.\r
+  // Here, it needs to mention that the MediaPresent can also be checked even if\r
   // EFI_NOT_STARTED returned while this MNP child driver instance isn't configured.\r
   //\r
   Status = IpSb->Mnp->GetModeData (IpSb->Mnp, NULL, &SnpModeData);\r
@@ -2320,8 +2320,8 @@ Ip4TimerReconfigChecking (
   if (!OldMediaPresent && IpSb->MediaPresent && (IpSb->Ip4Config2Instance.Policy == Ip4Config2PolicyDhcp)) {\r
     //\r
     // Signal the IP4 to run the dhcp configuration again. IP4 driver will free\r
-    // old IP address related resource, such as route table and Interface, then \r
-    // initiate a DHCP round to acquire new IP, eventually \r
+    // old IP address related resource, such as route table and Interface, then\r
+    // initiate a DHCP round to acquire new IP, eventually\r
     // create route table for new IP address.\r
     //\r
     if (IpSb->ReconfigEvent != NULL) {\r