[linux] 01/01: s390/qeth: Avoid ABI change in 4.9.62.

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sun Dec 3 13:00:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

aurel32 pushed a commit to branch stretch
in repository linux.

commit cd37d7550db5dfe3bd5f6ff8d9b2d9b28babc485
Author: Aurelien Jarno <aurelien at aurel32.net>
Date:   Sun Dec 3 13:28:51 2017 +0100

    s390/qeth: Avoid ABI change in 4.9.62.
---
 debian/changelog                                   |  7 ++++
 .../s390-qeth-avoid-abi-change-in-4.9.62.patch     | 43 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 51 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e4ce1f7..d2dad73 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+linux (4.9.65-2) UNRELEASED; urgency=medium
+
+  [ Aurelien Jarno ]
+  * s390/qeth: Avoid ABI change in 4.9.62.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Sun, 03 Dec 2017 13:27:14 +0100
+
 linux (4.9.65-1) stretch; urgency=medium
 
   * New upstream stable update:
diff --git a/debian/patches/debian/s390-qeth-avoid-abi-change-in-4.9.62.patch b/debian/patches/debian/s390-qeth-avoid-abi-change-in-4.9.62.patch
new file mode 100644
index 0000000..1de2f7a
--- /dev/null
+++ b/debian/patches/debian/s390-qeth-avoid-abi-change-in-4.9.62.patch
@@ -0,0 +1,43 @@
+From: Aurelien Jarno <aurelien at aurel32.net>
+Date: Sun, 03 Dec 2017 13:17:05 +0100
+Subject: s390/qeth: Avoid ABI change in 4.9.62
+Forwarded: not-needed
+
+Commit 1034051045d1 's390/qeth: issue STARTLAN as first IPA command'
+changed qeth_send_startlan to static and stopped exporting it.
+Following the changes needed to issue STARTLAN as first IPA command,
+it is indeed used in single place.
+
+This patch partially reverts the change so that qeth_send_startlan is
+kept being exported.
+
+---
+--- a/drivers/s390/net/qeth_core.h
++++ b/drivers/s390/net/qeth_core.h
+@@ -921,6 +921,7 @@
+ int qeth_core_hardsetup_card(struct qeth_card *);
+ void qeth_print_status_message(struct qeth_card *);
+ int qeth_init_qdio_queues(struct qeth_card *);
++int qeth_send_startlan(struct qeth_card *);
+ int qeth_send_ipa_cmd(struct qeth_card *, struct qeth_cmd_buffer *,
+ 		  int (*reply_cb)
+ 		  (struct qeth_card *, struct qeth_reply *, unsigned long),
+--- a/drivers/s390/net/qeth_core_main.c
++++ b/drivers/s390/net/qeth_core_main.c
+@@ -2944,7 +2944,7 @@
+ }
+ EXPORT_SYMBOL_GPL(qeth_send_ipa_cmd);
+ 
+-static int qeth_send_startlan(struct qeth_card *card)
++int qeth_send_startlan(struct qeth_card *card)
+ {
+ 	int rc;
+ 	struct qeth_cmd_buffer *iob;
+@@ -2957,6 +2957,7 @@
+ 	rc = qeth_send_ipa_cmd(card, iob, NULL, NULL);
+ 	return rc;
+ }
++EXPORT_SYMBOL_GPL(qeth_send_startlan);
+ 
+ static int qeth_default_setadapterparms_cb(struct qeth_card *card,
+ 		struct qeth_reply *reply, unsigned long data)
diff --git a/debian/patches/series b/debian/patches/series
index 265c6c0..ca6cd9f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -180,3 +180,4 @@ debian/netfilter-nat-avoid-abi-change-in-4.9.63.patch
 debian/mm-page_alloc-avoid-abi-change-in-4.9.65.patch
 debian/revert-phy-increase-size-of-mii_bus_id_size-and-bus_id.patch
 debian/revert-bpf-one-perf-event-close-won-t-free-bpf-program-atta.patch
+debian/s390-qeth-avoid-abi-change-in-4.9.62.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list