]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Merge pull request #23531 from yuwata/sd-bus-drop-version-2
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 1 Jun 2022 05:51:44 +0000 (14:51 +0900)
committerGitHub <noreply@github.com>
Wed, 1 Jun 2022 05:51:44 +0000 (14:51 +0900)
sd-bus: drop version 2 format support

1  2 
src/boot/efi/cpio.c
src/boot/efi/stub.c
src/fundamental/macro-fundamental.h

Simple merge
index 36becafa0836e71cb90d1b991f5ec287ea8fa29e,afcc106b52dabeb27fa0e68bf5fb97b82e7ebd84..f335d3782d58b4accde45233807107dff2064bf5
@@@ -68,12 -68,12 +68,12 @@@ static EFI_STATUS combine_initrd
  
                  /* Order matters, the real initrd must come first, since it might include microcode updates
                   * which the kernel only looks for in the first cpio archive */
 -                CopyMem(p, PHYSICAL_ADDRESS_TO_POINTER(initrd_base), initrd_size);
 +                memcpy(p, PHYSICAL_ADDRESS_TO_POINTER(initrd_base), initrd_size);
                  p += initrd_size;
  
-                 pad = ALIGN_TO(initrd_size, 4) - initrd_size;
+                 pad = ALIGN4(initrd_size) - initrd_size;
                  if (pad > 0)  {
 -                        ZeroMem(p, pad);
 +                        memset(p, 0, pad);
                          p += pad;
                  }
          }
Simple merge