ShellPkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
The implementation for Ping6 application.
|
||||
|
||||
Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
@ -50,7 +50,7 @@ typedef struct _PING6_PRIVATE_DATA {
|
||||
EFI_EVENT Timer;
|
||||
|
||||
UINT32 TimerPeriod;
|
||||
UINT32 RttTimerTick;
|
||||
UINT32 RttTimerTick;
|
||||
EFI_EVENT RttTimer;
|
||||
|
||||
EFI_STATUS Status;
|
||||
@ -199,7 +199,7 @@ Ping6InitRttTimer (
|
||||
if (Private->TimerPeriod == 0) {
|
||||
return EFI_ABORTED;
|
||||
}
|
||||
|
||||
|
||||
Private->RttTimerTick = 0;
|
||||
Status = gBS->CreateEvent (
|
||||
EVT_TIMER | EVT_NOTIFY_SIGNAL,
|
||||
@ -245,7 +245,7 @@ Ping6FreeRttTimer (
|
||||
|
||||
/**
|
||||
Read the current time.
|
||||
|
||||
|
||||
@param[in] Private The pointer to PING6_PRIVATE_DATA.
|
||||
|
||||
@retval the current tick value.
|
||||
@ -787,11 +787,11 @@ Ping6CreateIpInstance (
|
||||
|
||||
if (NetIp6IsUnspecifiedAddr (&Private->SrcAddress)) {
|
||||
//
|
||||
// SrcAddress is unspecified. So, both connected and configured interface will be automatic selected.
|
||||
// SrcAddress is unspecified. So, both connected and configured interface will be automatic selected.
|
||||
//
|
||||
UnspecifiedSrc = TRUE;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Source address is required when pinging a link-local address.
|
||||
//
|
||||
@ -800,7 +800,7 @@ Ping6CreateIpInstance (
|
||||
Status = EFI_INVALID_PARAMETER;
|
||||
goto ON_ERROR;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// For each ip6 protocol, check interface addresses list.
|
||||
//
|
||||
@ -899,7 +899,7 @@ Ping6CreateIpInstance (
|
||||
// Match a certain interface address.
|
||||
//
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (AddrIndex < IfInfo->AddressInfoCount) {
|
||||
|
Reference in New Issue
Block a user