* [PATCH] cryptodev: Fix build errors with v4.11
@ 2018-01-26 16:41 Daniel Schultz
2018-01-26 17:02 ` ✗ patchtest: failure for " Patchwork
2018-01-28 10:21 ` [PATCH] " Richard Purdie
0 siblings, 2 replies; 4+ messages in thread
From: Daniel Schultz @ 2018-01-26 16:41 UTC (permalink / raw)
To: Openembedded-core
Commit message from the included patch:
"Linux kernel has added -Werror=designated-init around 4.11 (c834f0e8a8b)
triggering build errors with gcc 5 and 6 (but not with gcc 4)"
Backport from https://github.com/cryptodev-linux/cryptodev-linux
Based on commit f0d69774afb27ffc62bf353465fba145e70cb85a
Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Acked-by: California Sullivan <california.l.sullivan@intel.com>
---
.../cryptodev/cryptodev-module_1.9.bb | 1 +
.../0001-ioctl.c-Fix-build-with-linux-4.13.patch | 49 ++++++++++++++++++++++
2 files changed, 50 insertions(+)
create mode 100644 meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-with-linux-4.13.patch
diff --git a/meta/recipes-kernel/cryptodev/cryptodev-module_1.9.bb b/meta/recipes-kernel/cryptodev/cryptodev-module_1.9.bb
index 552eb6a..ed6d0ec 100644
--- a/meta/recipes-kernel/cryptodev/cryptodev-module_1.9.bb
+++ b/meta/recipes-kernel/cryptodev/cryptodev-module_1.9.bb
@@ -9,6 +9,7 @@ DEPENDS += "cryptodev-linux"
SRC_URI += " \
file://0001-Disable-installing-header-file-provided-by-another-p.patch \
+file://0001-ioctl.c-Fix-build-with-linux-4.13.patch \
"
EXTRA_OEMAKE='KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"'
diff --git a/meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-with-linux-4.13.patch b/meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-with-linux-4.13.patch
new file mode 100644
index 0000000..a41efac
--- /dev/null
+++ b/meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-with-linux-4.13.patch
@@ -0,0 +1,49 @@
+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)
+
+Upstream-Status: Backport
+
+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)
+--
+2.7.4
+
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* ✗ patchtest: failure for cryptodev: Fix build errors with v4.11
2018-01-26 16:41 [PATCH] cryptodev: Fix build errors with v4.11 Daniel Schultz
@ 2018-01-26 17:02 ` Patchwork
2018-01-28 10:21 ` [PATCH] " Richard Purdie
1 sibling, 0 replies; 4+ messages in thread
From: Patchwork @ 2018-01-26 17:02 UTC (permalink / raw)
To: Daniel Schultz; +Cc: openembedded-core
== Series Details ==
Series: cryptodev: Fix build errors with v4.11
Revision: 1
URL : https://patchwork.openembedded.org/series/10722/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is
an automated response. Several tests have been executed on the proposed
series by patchtest resulting in the following failures:
* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at 8485438140)
If you believe any of these test results are incorrect, please reply to the
mailing list (openembedded-core@lists.openembedded.org) raising your concerns.
Otherwise we would appreciate you correcting the issues and submitting a new
version of the patchset if applicable. Please ensure you add/increment the
version number when sending the new version (i.e. [PATCH] -> [PATCH v2] ->
[PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] cryptodev: Fix build errors with v4.11
2018-01-26 16:41 [PATCH] cryptodev: Fix build errors with v4.11 Daniel Schultz
2018-01-26 17:02 ` ✗ patchtest: failure for " Patchwork
@ 2018-01-28 10:21 ` Richard Purdie
2018-01-29 8:30 ` Daniel Schultz
1 sibling, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2018-01-28 10:21 UTC (permalink / raw)
To: Daniel Schultz, Openembedded-core
On Fri, 2018-01-26 at 17:41 +0100, Daniel Schultz wrote:
> Commit message from the included patch:
> "Linux kernel has added -Werror=designated-init around 4.11
> (c834f0e8a8b)
> triggering build errors with gcc 5 and 6 (but not with gcc 4)"
>
> Backport from https://github.com/cryptodev-linux/cryptodev-linux
> Based on commit f0d69774afb27ffc62bf353465fba145e70cb85a
>
> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
> Acked-by: California Sullivan <california.l.sullivan@intel.com>
> ---
> .../cryptodev/cryptodev-module_1.9.bb | 1 +
> .../0001-ioctl.c-Fix-build-with-linux-4.13.patch | 49
> ++++++++++++++++++++++
> 2 files changed, 50 insertions(+)
> create mode 100644 meta/recipes-kernel/cryptodev/files/0001-ioctl.c-
> Fix-build-with-linux-4.13.patch
This merged 10 days ago:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1e5e38f1e7f09dd12a24e62142da747c760ce0c3
?
Cheers,
Richrd
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] cryptodev: Fix build errors with v4.11
2018-01-28 10:21 ` [PATCH] " Richard Purdie
@ 2018-01-29 8:30 ` Daniel Schultz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Schultz @ 2018-01-29 8:30 UTC (permalink / raw)
To: Richard Purdie, Openembedded-core, akuster808
ah sorry, I checked rocko-next instead of next! Thanks for applying. Can
you also backport this patch to rocko, please?
Daniel
On 01/28/2018 11:21 AM, Richard Purdie wrote:
> On Fri, 2018-01-26 at 17:41 +0100, Daniel Schultz wrote:
>> Commit message from the included patch:
>> "Linux kernel has added -Werror=designated-init around 4.11
>> (c834f0e8a8b)
>> triggering build errors with gcc 5 and 6 (but not with gcc 4)"
>>
>> Backport from https://github.com/cryptodev-linux/cryptodev-linux
>> Based on commit f0d69774afb27ffc62bf353465fba145e70cb85a
>>
>> Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
>> Acked-by: California Sullivan <california.l.sullivan@intel.com>
>> ---
>> .../cryptodev/cryptodev-module_1.9.bb | 1 +
>> .../0001-ioctl.c-Fix-build-with-linux-4.13.patch | 49
>> ++++++++++++++++++++++
>> 2 files changed, 50 insertions(+)
>> create mode 100644 meta/recipes-kernel/cryptodev/files/0001-ioctl.c-
>> Fix-build-with-linux-4.13.patch
> This merged 10 days ago:
>
> http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=1e5e38f1e7f09dd12a24e62142da747c760ce0c3
>
> ?
>
> Cheers,
>
> Richrd
--
Mit freundlichen Grüßen,
With best regards,
Daniel Schultz
- Entwicklung -
Tel.: +49 6131 92 21 457
d.schultz@phytec.de
www.phytec.de
Sie finden uns auch auf: Facebook, LinkedIn, Xing, YouTube
PHYTEC Messtechnik GmbH | Robert-Koch-Str. 39 | 55129 Mainz, Germany
Geschäftsführer: Dipl.-Ing. Michael Mitezki, Dipl.-Ing. Bodo Huber |
Handelsregister Mainz HRB 4656 | Finanzamt Mainz-Mitte | St.Nr. 266500608,
DE 149059855
This E-Mail may contain confidential or privileged information. If you are
not the intended recipient (or have received this E-Mail in error) please
notify the sender immediately and destroy this E-Mail. Any unauthorized
copying, disclosure or distribution of the material in this E-Mail is
strictly forbidden.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-01-29 8:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-26 16:41 [PATCH] cryptodev: Fix build errors with v4.11 Daniel Schultz
2018-01-26 17:02 ` ✗ patchtest: failure for " Patchwork
2018-01-28 10:21 ` [PATCH] " Richard Purdie
2018-01-29 8:30 ` Daniel Schultz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox