audk/BaseTools/Source/C/DevicePath
Gerd Hoffmann 22130dcd98 Basetools: turn off gcc12 warning
In function ?SetDevicePathEndNode?,
    inlined from ?FileDevicePath? at DevicePathUtilities.c:857:5:
DevicePathUtilities.c:321:3: error: writing 4 bytes into a region of size 1 [-Werror=stringop-overflow=]
  321 |   memcpy (Node, &mUefiDevicePathLibEndDevicePath, sizeof (mUefiDevicePathLibEndDevicePath));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from UefiDevicePathLib.h:22,
                 from DevicePathUtilities.c:16:
../Include/Protocol/DevicePath.h: In function ?FileDevicePath?:
../Include/Protocol/DevicePath.h:51:9: note: destination object ?Type? of size 1
   51 |   UINT8 Type;       ///< 0x01 Hardware Device Path.
      |         ^~~~

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2022-03-28 00:51:30 +00:00
..
DevicePath.c BaseTools: Increase the DevicePath length for support more PCD value. 2021-12-09 00:43:16 +00:00
DevicePathFromText.c BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
DevicePathUtilities.c BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GNUmakefile Basetools: turn off gcc12 warning 2022-03-28 00:51:30 +00:00
Makefile BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
UefiDevicePathLib.c BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
UefiDevicePathLib.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00