KSPP / linux

Linux kernel source tree (Kernel Self Protection Project)
https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project
Other
81 stars 5 forks source link

Use DECLARE_FLEX_ARRAY() helper in drivers/md/bcache/bcache_ondisk.h #213

Closed GustavoARSilva closed 1 year ago

GustavoARSilva commented 1 year ago
diff -u -p ./drivers/md/bcache/bcache_ondisk.h /tmp/nothing/drivers/md/bcache/bcache_ondisk.h
--- ./drivers/md/bcache/bcache_ondisk.h
+++ /tmp/nothing/drivers/md/bcache/bcache_ondisk.h
@@ -360,7 +360,6 @@ struct jset {

        union {
                struct bkey     start[0];
-               __u64           d[0];
        };
 };

@@ -425,7 +424,6 @@ struct bset {

        union {
                struct bkey     start[0];
-               __u64           d[0];
        };
 };