Skip to contentSkip to conversation

cryptodev: Fix build errors with v4.11

PATCH In review Daniel Schultz 3 participants 4 messages Jan 26, 2018 – Jan 29, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cryptodev: Fix build errors with v4.11

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

---
 .../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
meta/recipes-kernel/cryptodev/cryptodev-module_1.9.bb +1 -0
index 552eb6a..ed6d0ec 100644
@@ -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}"'
meta/recipes-kernel/cryptodev/files/0001-ioctl.c-Fix-build-with-linux-4.13.patch new file +49 -0

49 lines not on this page · raw message

Signature · 1 line
2.7.4
#1 lore raw

✗ patchtest: failure for cryptodev: Fix build errors with v4.11

== 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 ([email protected]) 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
#2 lore raw
In reply to Daniel Schultz
Quoted 10 lines · Daniel Schultz

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

Quoted 7 lines

---
 .../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

#3 lore raw

ah sorry, I checked rocko-next instead of next! Thanks for applying. Can you also backport this patch to rocko, please?

Daniel

Quoted 27 lines · Richard Purdie
Quoted 10 lines · Daniel Schultz

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

Quoted 7 lines
---
  .../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

Signature · 20 lines
Mit freundlichen Grüßen,
With best regards,
  Daniel Schultz

- Entwicklung -
Tel.: 	+49 6131 92 21 457
[email protected]
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.