From: Hauke Mehrtens <hauke@hauke-m.de>
To: johannes@sipsolutions.net
Cc: backports@vger.kernel.org, Hauke Mehrtens <hauke@hauke-m.de>
Subject: [PATCH 4/8] header: add IOMEM_ERR_PTR()
Date: Mon, 11 Sep 2017 00:10:16 +0200 [thread overview]
Message-ID: <20170910221020.13067-5-hauke@hauke-m.de> (raw)
In-Reply-To: <20170910221020.13067-1-hauke@hauke-m.de>
This was added in kernel 3.17 in commit efd342fb0031a1 ("of: Provide a
function to request and map memory")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
backport/backport-include/linux/io.h | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100644 backport/backport-include/linux/io.h
diff --git a/backport/backport-include/linux/io.h b/backport/backport-include/linux/io.h
new file mode 100644
index 00000000..78ae4650
--- /dev/null
+++ b/backport/backport-include/linux/io.h
@@ -0,0 +1,9 @@
+#ifndef __BP_LINUX_IO_H
+#define __BP_LINUX_IO_H
+#include_next <linux/io.h>
+
+#ifndef IOMEM_ERR_PTR
+#define IOMEM_ERR_PTR(err) (__force void __iomem *)ERR_PTR(err)
+#endif
+
+#endif /* __BP_LINUX_IO_H */
--
2.11.0
--
To unsubscribe from this list: send the line "unsubscribe backports" in
next prev parent reply other threads:[~2017-09-10 22:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-10 22:10 [PATCH 0/8] backports: misc fixes Hauke Mehrtens
2017-09-10 22:10 ` [PATCH 1/8] patches: export bp_usbnet_get_stats64() only if function is added Hauke Mehrtens
2017-09-10 22:10 ` [PATCH 2/8] patches: brcmfmac: Fix netdev_set_priv_destructor Hauke Mehrtens
2017-09-10 22:10 ` [PATCH 3/8] backport: add ethtool_convert_legacy_u32_to_link_mode() Hauke Mehrtens
2017-09-10 22:10 ` Hauke Mehrtens [this message]
2017-09-10 22:10 ` [PATCH 5/8] header: add __get_dynamic_array_len Hauke Mehrtens
2017-09-10 22:10 ` [PATCH 6/8] header: add pm_system_wakeup() Hauke Mehrtens
2017-09-12 9:35 ` Johannes Berg
2017-09-12 21:39 ` Hauke Mehrtens
2017-09-15 7:32 ` Johannes Berg
2017-09-10 22:10 ` [PATCH 7/8] dependencies: make NFC_TRF7970A depend on kernel > 3.17 Hauke Mehrtens
2017-09-10 22:10 ` [PATCH 8/8] dependencies: make MWIFIEX_PCIE depend on kernel > 3.16 Hauke Mehrtens
2017-09-11 14:48 ` [PATCH 0/8] backports: misc fixes 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=20170910221020.13067-5-hauke@hauke-m.de \
--to=hauke@hauke-m.de \
--cc=backports@vger.kernel.org \
--cc=johannes@sipsolutions.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.