mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: Change the macro name to fit coding style
Change a macro name to fit EDK2 naming conventions: Use all capital letters for #define. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: fanwang2 <fan.wang@intel.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Qiu Shumin <shumin.qiu@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18200 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
5ae7578af6
commit
00f6c6cf9f
|
@ -820,7 +820,7 @@ IScsiGetTcpConnDevicePath (
|
||||||
// do not exist.
|
// do not exist.
|
||||||
// In new version of IPv4_DEVICE_PATH, structcure length is 27.
|
// In new version of IPv4_DEVICE_PATH, structcure length is 27.
|
||||||
//
|
//
|
||||||
if (DevicePathNodeLength (&DPathNode->Ipv4) == IPv4_NODE_LEN_NEW_VERSIONS) {
|
if (DevicePathNodeLength (&DPathNode->Ipv4) == IP4_NODE_LEN_NEW_VERSIONS) {
|
||||||
|
|
||||||
IP4_COPY_ADDRESS (
|
IP4_COPY_ADDRESS (
|
||||||
&DPathNode->Ipv4.GatewayIpAddress,
|
&DPathNode->Ipv4.GatewayIpAddress,
|
||||||
|
|
|
@ -22,7 +22,7 @@ typedef struct _ISCSI_SESSION_CONFIG_DATA ISCSI_SESSION_CONFIG_DATA;
|
||||||
///
|
///
|
||||||
/// IPv4 Device Path Node Length
|
/// IPv4 Device Path Node Length
|
||||||
///
|
///
|
||||||
#define IPv4_NODE_LEN_NEW_VERSIONS 27
|
#define IP4_NODE_LEN_NEW_VERSIONS 27
|
||||||
|
|
||||||
#pragma pack(1)
|
#pragma pack(1)
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Loading…
Reference in New Issue