summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-yocto_5.4.bb
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2023-01-10 07:09:03 -1000
committerSteve Sakoman <steve@sakoman.com>2023-01-10 07:09:03 -1000
commita33abd759e2e9f41e056f87024de3b333e9b948b (patch)
treef8dbd82cee6b3f21fb9b3d7b4e1d62dd49273ad5 /meta/recipes-kernel/linux/linux-yocto_5.4.bb
parent25cc13c1016c2565694d0e0959a69c8b91054309 (diff)
downloadopenembedded-core-a33abd759e2e9f41e056f87024de3b333e9b948b.tar.gz
ovmf: fix gcc12 warning for device path handling
Backport [https://github.com/tianocore/edk2/commit/22130dcd98b4d4b76ac8d922adb4a2dbc86fa52c] Fixes: 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: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-yocto_5.4.bb')
0 files changed, 0 insertions, 0 deletions