diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2023-11-27 00:22:11 +0100 |
---|---|---|
committer | Christoph Müllner <christophm30@gmail.com> | 2023-11-27 12:08:13 +0100 |
commit | b905f4be23124470520e30005b9d29a9f4219e5a (patch) | |
tree | 626f2856204cd277940f51f1b7706a957a0d0573 /linux-headers/include/linux/jffs2.h | |
parent | c2b4923917aa334f83606d08e0eaf3dddc2c9589 (diff) | |
download | riscv-gnu-toolchain-b905f4be23124470520e30005b9d29a9f4219e5a.zip riscv-gnu-toolchain-b905f4be23124470520e30005b9d29a9f4219e5a.tar.gz riscv-gnu-toolchain-b905f4be23124470520e30005b9d29a9f4219e5a.tar.bz2 |
Update Linux headers from v5.10.5 to v6.6
This patch imports the Linux kernel from v5.10.5 to v6.6.
Important RISC-V specific changes are:
* hwprobe support
* V support (ptrace and prctl calls)
* KVM support
There are patches on the glibc list that introduce code which uses the
hwprobe interface. Let's update the kernel headers to be ready for these
changes.
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'linux-headers/include/linux/jffs2.h')
-rw-r--r-- | linux-headers/include/linux/jffs2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux-headers/include/linux/jffs2.h b/linux-headers/include/linux/jffs2.h index 784ba0b..637ee4a 100644 --- a/linux-headers/include/linux/jffs2.h +++ b/linux-headers/include/linux/jffs2.h @@ -123,7 +123,7 @@ struct jffs2_raw_dirent __u8 unused[2]; jint32_t node_crc; jint32_t name_crc; - __u8 name[0]; + __u8 name[]; }; /* The JFFS2 raw inode structure: Used for storage on physical media. */ @@ -155,7 +155,7 @@ struct jffs2_raw_inode jint16_t flags; /* See JFFS2_INO_FLAG_* */ jint32_t data_crc; /* CRC for the (compressed) data. */ jint32_t node_crc; /* CRC for the raw inode (excluding data) */ - __u8 data[0]; + __u8 data[]; }; struct jffs2_raw_xattr { @@ -170,7 +170,7 @@ struct jffs2_raw_xattr { jint16_t value_len; jint32_t data_crc; jint32_t node_crc; - __u8 data[0]; + __u8 data[]; } __attribute__((packed)); struct jffs2_raw_xref @@ -196,7 +196,7 @@ struct jffs2_raw_summary jint32_t padded; /* sum of the size of padding nodes */ jint32_t sum_crc; /* summary information crc */ jint32_t node_crc; /* node crc */ - jint32_t sum[0]; /* inode summary info */ + jint32_t sum[]; /* inode summary info */ }; union jffs2_node_union |