diff options
author | Sven Wegener <swegener@gentoo.org> | 2021-04-01 20:46:27 +0200 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2021-04-01 20:46:27 +0200 |
commit | 9476f32feb9b4aa803d4b47c4fb927000203e1f6 (patch) | |
tree | 42f165853c19de363e20a9516a169966d058b802 /sys-kernel/cryptodev/files/cryptodev-1.9-fix-build-with-4.14-629958.patch | |
parent | sys-kernel/cryptodev: Version bump to 1.12 (diff) | |
download | gentoo-9476f32feb9b4aa803d4b47c4fb927000203e1f6.tar.gz gentoo-9476f32feb9b4aa803d4b47c4fb927000203e1f6.tar.bz2 gentoo-9476f32feb9b4aa803d4b47c4fb927000203e1f6.zip |
sys-kernel/cryptodev: Cleanup
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'sys-kernel/cryptodev/files/cryptodev-1.9-fix-build-with-4.14-629958.patch')
-rw-r--r-- | sys-kernel/cryptodev/files/cryptodev-1.9-fix-build-with-4.14-629958.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/sys-kernel/cryptodev/files/cryptodev-1.9-fix-build-with-4.14-629958.patch b/sys-kernel/cryptodev/files/cryptodev-1.9-fix-build-with-4.14-629958.patch deleted file mode 100644 index 8a78d5ec8765..000000000000 --- a/sys-kernel/cryptodev/files/cryptodev-1.9-fix-build-with-4.14-629958.patch +++ /dev/null @@ -1,44 +0,0 @@ -From f0d69774afb27ffc62bf353465fba145e70cb85a Mon Sep 17 00:00:00 2001 -From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> -Date: Mon, 4 Sep 2017 11:05:08 +0200 -Subject: [PATCH] ioctl.c: Fix build with linux 4.13 - -git/ioctl.c:1127:3: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] - {0, }, - ^ -note: (near initialization for 'verbosity_ctl_dir[1]') -git/ioctl.c:1136:3: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init] - {0, }, - ^ - -Linux kernel has added -Werror=designated-init around 4.11 (c834f0e8a8b) -triggering build errors with gcc 5 and 6 (but not with gcc 4) - -Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> -Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> ---- - ioctl.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/ioctl.c b/ioctl.c -index 0385203..8d4a162 100644 ---- a/ioctl.c -+++ b/ioctl.c -@@ -1124,7 +1124,7 @@ static struct ctl_table verbosity_ctl_dir[] = { - .mode = 0644, - .proc_handler = proc_dointvec, - }, -- {0, }, -+ {}, - }; - - static struct ctl_table verbosity_ctl_root[] = { -@@ -1133,7 +1133,7 @@ static struct ctl_table verbosity_ctl_root[] = { - .mode = 0555, - .child = verbosity_ctl_dir, - }, -- {0, }, -+ {}, - }; - static struct ctl_table_header *verbosity_sysctl_header; - static int __init init_cryptodev(void) |