loongarch: Make patches meet specification requirements

As described in [1], the ifarch macro is no longer recommanded for use,
and the number of architecture related patch should start from 1000.

[1] https://gitee.com/openeuler/TC/pulls/71

Signed-off-by: Yingkun Meng <mengyingkun@loongson.cn>
This commit is contained in:
Yingkun Meng 2023-12-06 10:57:04 +08:00
parent c2dd5e0bce
commit 781871c861
9 changed files with 8 additions and 18 deletions

View File

@ -286,13 +286,9 @@ Patch0286: backport-font-Fix-an-integer-underflow-in-blit_comb.patch
Patch0287: backport-font-Harden-grub_font_blit_glyph-and-grub_font_blit_.patch Patch0287: backport-font-Harden-grub_font_blit_glyph-and-grub_font_blit_.patch
Patch0288: backport-font-Assign-null_font-to-glyphs-in-ascii_font_glyph.patch Patch0288: backport-font-Assign-null_font-to-glyphs-in-ascii_font_glyph.patch
Patch0289: backport-normal-charset-Fix-an-integer-overflow-in-grub_unico.patch Patch0289: backport-normal-charset-Fix-an-integer-overflow-in-grub_unico.patch
%ifarch loongarch64 Patch0290: 1000-port-Add-LoongArch-support.patch
Patch0290: port-Add-LoongArch-support.patch
%endif
Patch0291: disable-some-unsupported-filesystems.patch Patch0291: disable-some-unsupported-filesystems.patch
%ifarch loongarch64 Patch0292: 1001-loongarch-Modify-the-location-where-initrd-is-loaded.patch
Patch0292: loongarch-Modify-the-location-where-initrd-is-loaded.patch
%endif
Patch0293: backport-disk-diskfilter-Check-calloc-result-for-NULL.patch Patch0293: backport-disk-diskfilter-Check-calloc-result-for-NULL.patch
Patch0294: backport-kern-buffer-Handle-NULL-input-pointer-in-grub_buffer.patch Patch0294: backport-kern-buffer-Handle-NULL-input-pointer-in-grub_buffer.patch
Patch0295: backport-disk-diskfilter-Don-t-make-a-RAID-array-with-more-th.patch Patch0295: backport-disk-diskfilter-Don-t-make-a-RAID-array-with-more-th.patch
@ -304,16 +300,12 @@ Patch0300: backport-kern-file-Fix-error-handling-in-grub_file_open.patch
Patch0301: backport-fs-xfs-Fix-memory-leaks-in-XFS-module.patch Patch0301: backport-fs-xfs-Fix-memory-leaks-in-XFS-module.patch
Patch0302: backport-fs-squash4-Fix-memory-leaks-in-grub_squash_iterate_d.patch Patch0302: backport-fs-squash4-Fix-memory-leaks-in-grub_squash_iterate_d.patch
Patch0303: backport-fs-iso9660-Fix-memory-leaks-in-grub_iso9660_susp_ite.patch Patch0303: backport-fs-iso9660-Fix-memory-leaks-in-grub_iso9660_susp_ite.patch
%ifarch loongarch64 Patch0304: 1002-loongarch-Add-EFI-frame-buffer-support.patch
Patch0304: loongarch-Add-EFI-frame-buffer-support.patch Patch0305: 1003-loongarch-Add-support-for-v4.0-interface.patch
Patch0305: loongarch-Add-support-for-v4.0-interface.patch Patch0306: 1004-loongarch-Add-support-for-new-EFI-screen-info-GUID.patch
Patch0306: loongarch-Add-support-for-new-EFI-screen-info-GUID.patch
%endif
Patch0307: 0202-rpm-sort-add-prereqs-for-declaration-of-strchrnul.patch Patch0307: 0202-rpm-sort-add-prereqs-for-declaration-of-strchrnul.patch
%ifarch loongarch64 Patch0308: 1005-loongarch-Force-initrd-load-address-64KiB-alignment.patch
Patch0308: loongarch-Force-initrd-load-address-64KiB-alignment.patch Patch0309: 1006-loongarch-Implement-cache-synchronization-operation.patch
Patch0309: loongarch-Implement-cache-synchronization-operation.patch
%endif
Patch0310: backport-font-Check-return-value-of-grub_malloc-in-ascii_glyph_lookup.patch Patch0310: backport-font-Check-return-value-of-grub_malloc-in-ascii_glyph_lookup.patch
Patch0311: backport-font-Assign-null_font-to-unknown_glyph.patch Patch0311: backport-font-Assign-null_font-to-unknown_glyph.patch
Patch0312: backport-font-Reject-fonts-with-negative-max_char_width-or-max_char_height.patch Patch0312: backport-font-Reject-fonts-with-negative-max_char_width-or-max_char_height.patch
@ -331,9 +323,7 @@ Patch0323: Revert-EFI-allocate-kernel-in-EFI_RUNTIME_SERVICES_C.patch
Patch0324: backport-commands-acpi-Use-xsdt_addr-if-present.patch Patch0324: backport-commands-acpi-Use-xsdt_addr-if-present.patch
Patch0325: backport-kern-acpi-Use-xsdt_addr-if-present.patch Patch0325: backport-kern-acpi-Use-xsdt_addr-if-present.patch
Patch0326: remove-the-items-of-unsupported-filesystems-in-fs.ls.patch Patch0326: remove-the-items-of-unsupported-filesystems-in-fs.ls.patch
%ifarch loongarch64 Patch0327: 1007-loongarch-Fix-the-initrd-parameter-passing.patch
Patch0327: loongarch-Fix-the-initrd-parameter-passing.patch
%endif
Patch0328: backport-net-dns-Fix-removal-of-DNS-server.patch Patch0328: backport-net-dns-Fix-removal-of-DNS-server.patch
Patch0329: backport-net-dns-Simplify-error-handling-of-recv_hook-function.patch Patch0329: backport-net-dns-Simplify-error-handling-of-recv_hook-function.patch
Patch0330: backport-net-dns-Fix-lookup-error-when-no-IPv6-is-returned.patch Patch0330: backport-net-dns-Fix-lookup-error-when-no-IPv6-is-returned.patch