Backports Archive mirror
 help / color / mirror / Atom feed
From: Alban Bedel <alban.bedel@avionic-design.de>
To: <hauke@hauke-m.de>, <mcgrof@kernel.org>
Cc: <backports@vger.kernel.org>, Alban Bedel <alban.bedel@avionic-design.de>
Subject: [PATCH] backports: crypto_memneq has been backported to 3.12 and 3.10
Date: Mon, 10 Sep 2018 15:14:48 +0200	[thread overview]
Message-ID: <20180910131448.23225-1-alban.bedel@avionic-design.de> (raw)

crypto_memneq has been backported in 3.12.59 and 3.10.106, it
shouldn't be built for these kernels.

Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
---
 backport/backport-include/crypto/algapi.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/backport/backport-include/crypto/algapi.h b/backport/backport-include/crypto/algapi.h
index b6fbdd9b..ac6ea848 100644
--- a/backport/backport-include/crypto/algapi.h
+++ b/backport/backport-include/crypto/algapi.h
@@ -3,7 +3,9 @@
 #include <linux/version.h>
 #include_next <crypto/algapi.h>
 
-#if LINUX_VERSION_IS_LESS(3,13,0)
+#if LINUX_VERSION_IS_LESS(3,13,0) && \
+    !LINUX_VERSION_IN_RANGE(3,12,59, 3,12,255) && \
+    !LINUX_VERSION_IN_RANGE(3,10,106, 3,10,255)
 #define __crypto_memneq LINUX_BACKPORT(__crypto_memneq)
 noinline unsigned long __crypto_memneq(const void *a, const void *b, size_t size);
 #define crypto_memneq LINUX_BACKPORT(crypto_memneq)
-- 
2.17.1

--
To unsubscribe from this list: send the line "unsubscribe backports" in

             reply	other threads:[~2018-09-10 18:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-10 13:14 Alban Bedel [this message]
2018-10-02 19:24 ` [PATCH] backports: crypto_memneq has been backported to 3.12 and 3.10 Johannes Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180910131448.23225-1-alban.bedel@avionic-design.de \
    --to=alban.bedel@avionic-design.de \
    --cc=backports@vger.kernel.org \
    --cc=hauke@hauke-m.de \
    --cc=mcgrof@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).