diff options
| -rw-r--r-- | meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Use-asm-type.h-for-kernel-types.patch | 65 | ||||
| -rw-r--r-- | meta-filesystems/recipes-utils/ufs-utils/ufs-utils_3.12.3.bb (renamed from meta-filesystems/recipes-utils/ufs-utils/ufs-utils_1.9.bb) | 5 |
2 files changed, 2 insertions, 68 deletions
diff --git a/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Use-asm-type.h-for-kernel-types.patch b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Use-asm-type.h-for-kernel-types.patch deleted file mode 100644 index 08cf870169..0000000000 --- a/meta-filesystems/recipes-utils/ufs-utils/ufs-utils/0001-Use-asm-type.h-for-kernel-types.patch +++ /dev/null | |||
| @@ -1,65 +0,0 @@ | |||
| 1 | From 517f841ccac59b0579e706dd768d6c7b1a7e7552 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 12 Mar 2021 10:37:21 -0800 | ||
| 4 | Subject: [PATCH] Use asm/type.h for kernel types | ||
| 5 | |||
| 6 | This ensures that right headers for types is included otherwise it can | ||
| 7 | conflict for some platforms e.g. ppc64 where it includes the underlying | ||
| 8 | files conditionally | ||
| 9 | |||
| 10 | asm/types.h is | ||
| 11 | |||
| 12 | if !defined(__SANE_USERSPACE_TYPES__) && defined(__powerpc64__) && !defined(__KERNEL__) | ||
| 13 | include <asm-generic/int-l64.h> | ||
| 14 | else | ||
| 15 | include <asm-generic/int-ll64.h> | ||
| 16 | endif | ||
| 17 | |||
| 18 | Upstream-Status: Submitted [https://github.com/westerndigitalcorporation/ufs-utils/pull/29] | ||
| 19 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 20 | --- | ||
| 21 | ufs.h | 1 - | ||
| 22 | ufs_cmds.h | 2 +- | ||
| 23 | ufs_ffu.c | 1 - | ||
| 24 | 3 files changed, 1 insertion(+), 3 deletions(-) | ||
| 25 | |||
| 26 | diff --git a/ufs.h b/ufs.h | ||
| 27 | index dc51367..0321c54 100644 | ||
| 28 | --- a/ufs.h | ||
| 29 | +++ b/ufs.h | ||
| 30 | @@ -4,7 +4,6 @@ | ||
| 31 | |||
| 32 | #ifndef UFS_H_ | ||
| 33 | #define UFS_H_ | ||
| 34 | -#include <asm-generic/int-ll64.h> | ||
| 35 | #include "ioctl.h" | ||
| 36 | #include "scsi_bsg_util.h" | ||
| 37 | |||
| 38 | diff --git a/ufs_cmds.h b/ufs_cmds.h | ||
| 39 | index 1e7e24d..5c5b045 100644 | ||
| 40 | --- a/ufs_cmds.h | ||
| 41 | +++ b/ufs_cmds.h | ||
| 42 | @@ -5,7 +5,7 @@ | ||
| 43 | #define UFS_CMNDS_H_ | ||
| 44 | |||
| 45 | #include "options.h" | ||
| 46 | -#include <asm-generic/int-ll64.h> | ||
| 47 | +#include <asm/types.h> | ||
| 48 | |||
| 49 | |||
| 50 | enum field_width { | ||
| 51 | diff --git a/ufs_ffu.c b/ufs_ffu.c | ||
| 52 | index 2bcec44..99b479c 100644 | ||
| 53 | --- a/ufs_ffu.c | ||
| 54 | +++ b/ufs_ffu.c | ||
| 55 | @@ -12,7 +12,6 @@ | ||
| 56 | #include <unistd.h> | ||
| 57 | #include <stdint.h> | ||
| 58 | #include <errno.h> | ||
| 59 | -#include <asm-generic/int-ll64.h> | ||
| 60 | |||
| 61 | #include "ufs.h" | ||
| 62 | #include "ufs_cmds.h" | ||
| 63 | -- | ||
| 64 | 2.30.2 | ||
| 65 | |||
diff --git a/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_1.9.bb b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_3.12.3.bb index f6aa872fde..342661c9a5 100644 --- a/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_1.9.bb +++ b/meta-filesystems/recipes-utils/ufs-utils/ufs-utils_3.12.3.bb | |||
| @@ -4,11 +4,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | |||
| 4 | 4 | ||
| 5 | BRANCH ?= "dev" | 5 | BRANCH ?= "dev" |
| 6 | 6 | ||
| 7 | SRCREV = "517c0b01e47d4441cc45be351509fb4c96843d5a" | 7 | SRCREV = "40c0bdfa7f4e922a4bcdf431ef72b321648d2d9f" |
| 8 | 8 | ||
| 9 | SRC_URI = "git://github.com/westerndigitalcorporation/ufs-utils.git;protocol=https;branch=${BRANCH} \ | 9 | SRC_URI = "git://github.com/westerndigitalcorporation/ufs-utils.git;protocol=https;branch=${BRANCH} \ |
| 10 | file://0001-Use-asm-type.h-for-kernel-types.patch \ | 10 | " |
| 11 | " | ||
| 12 | 11 | ||
| 13 | UPSTREAM_CHECK_COMMITS = "1" | 12 | UPSTREAM_CHECK_COMMITS = "1" |
| 14 | 13 | ||
