diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-27 12:37:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-27 12:37:12 -0400 |
commit | 79a17dd9d2491443a0d03745adbb3d76ab97a356 (patch) | |
tree | d1e8882799f1ba20470f169ac0b6d96f7dfc98ba | |
parent | 1993cbf06aa95c0fcf080f2e858c116306b6c29e (diff) | |
parent | b00e2fd10429eddf4a181ad30af010e56c2303f9 (diff) |
Merge tag 'staging-4.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
Pull staging fixes from Greg KH:
"Here are two staging driver fixups for 4.17-rc3.
The first is the remaining stragglers of the irda code removal that
you pointed out during the merge window. The second is a fix for the
wilc1000 driver due to a patch that got merged in 4.17-rc1.
Both of these have been in linux-next for a while with no reported
issues"
* tag 'staging-4.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging:
staging: wilc1000: fix NULL pointer exception in host_int_parse_assoc_resp_info()
staging: irda: remove remaining remants of irda code removal
-rw-r--r-- | Documentation/ioctl/ioctl-number.txt | 2 | ||||
-rw-r--r-- | Documentation/networking/ip-sysctl.txt | 15 | ||||
-rw-r--r-- | Documentation/process/magic-number.rst | 3 | ||||
-rw-r--r-- | MAINTAINERS | 10 | ||||
-rw-r--r-- | drivers/staging/wilc1000/host_interface.c | 2 | ||||
-rw-r--r-- | include/uapi/linux/sysctl.h | 18 | ||||
-rw-r--r-- | kernel/sysctl_binary.c | 20 |
7 files changed, 2 insertions, 68 deletions
diff --git a/Documentation/ioctl/ioctl-number.txt b/Documentation/ioctl/ioctl-number.txt index 84bb74dcae12..7f7413e597f3 100644 --- a/Documentation/ioctl/ioctl-number.txt +++ b/Documentation/ioctl/ioctl-number.txt | |||
@@ -217,7 +217,6 @@ Code Seq#(hex) Include File Comments | |||
217 | 'd' 02-40 pcmcia/ds.h conflict! | 217 | 'd' 02-40 pcmcia/ds.h conflict! |
218 | 'd' F0-FF linux/digi1.h | 218 | 'd' F0-FF linux/digi1.h |
219 | 'e' all linux/digi1.h conflict! | 219 | 'e' all linux/digi1.h conflict! |
220 | 'e' 00-1F drivers/net/irda/irtty-sir.h conflict! | ||
221 | 'f' 00-1F linux/ext2_fs.h conflict! | 220 | 'f' 00-1F linux/ext2_fs.h conflict! |
222 | 'f' 00-1F linux/ext3_fs.h conflict! | 221 | 'f' 00-1F linux/ext3_fs.h conflict! |
223 | 'f' 00-0F fs/jfs/jfs_dinode.h conflict! | 222 | 'f' 00-0F fs/jfs/jfs_dinode.h conflict! |
@@ -247,7 +246,6 @@ Code Seq#(hex) Include File Comments | |||
247 | 'm' all linux/synclink.h conflict! | 246 | 'm' all linux/synclink.h conflict! |
248 | 'm' 00-19 drivers/message/fusion/mptctl.h conflict! | 247 | 'm' 00-19 drivers/message/fusion/mptctl.h conflict! |
249 | 'm' 00 drivers/scsi/megaraid/megaraid_ioctl.h conflict! | 248 | 'm' 00 drivers/scsi/megaraid/megaraid_ioctl.h conflict! |
250 | 'm' 00-1F net/irda/irmod.h conflict! | ||
251 | 'n' 00-7F linux/ncp_fs.h and fs/ncpfs/ioctl.c | 249 | 'n' 00-7F linux/ncp_fs.h and fs/ncpfs/ioctl.c |
252 | 'n' 80-8F uapi/linux/nilfs2_api.h NILFS2 | 250 | 'n' 80-8F uapi/linux/nilfs2_api.h NILFS2 |
253 | 'n' E0-FF linux/matroxfb.h matroxfb | 251 | 'n' E0-FF linux/matroxfb.h matroxfb |
diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index b583a73cf95f..35ffaa281b26 100644 --- a/Documentation/networking/ip-sysctl.txt +++ b/Documentation/networking/ip-sysctl.txt | |||
@@ -2126,18 +2126,3 @@ max_dgram_qlen - INTEGER | |||
2126 | 2126 | ||
2127 | Default: 10 | 2127 | Default: 10 |
2128 | 2128 | ||
2129 | |||
2130 | UNDOCUMENTED: | ||
2131 | |||
2132 | /proc/sys/net/irda/* | ||
2133 | fast_poll_increase FIXME | ||
2134 | warn_noreply_time FIXME | ||
2135 | discovery_slots FIXME | ||
2136 | slot_timeout FIXME | ||
2137 | max_baud_rate FIXME | ||
2138 | discovery_timeout FIXME | ||
2139 | lap_keepalive_time FIXME | ||
2140 | max_noreply_time FIXME | ||
2141 | max_tx_data_size FIXME | ||
2142 | max_tx_window FIXME | ||
2143 | min_tx_turn_time FIXME | ||
diff --git a/Documentation/process/magic-number.rst b/Documentation/process/magic-number.rst index 00cecf1fcba9..633be1043690 100644 --- a/Documentation/process/magic-number.rst +++ b/Documentation/process/magic-number.rst | |||
@@ -157,8 +157,5 @@ memory management. See ``include/sound/sndmagic.h`` for complete list of them. M | |||
157 | OSS sound drivers have their magic numbers constructed from the soundcard PCI | 157 | OSS sound drivers have their magic numbers constructed from the soundcard PCI |
158 | ID - these are not listed here as well. | 158 | ID - these are not listed here as well. |
159 | 159 | ||
160 | IrDA subsystem also uses large number of own magic numbers, see | ||
161 | ``include/net/irda/irda.h`` for a complete list of them. | ||
162 | |||
163 | HFS is another larger user of magic numbers - you can find them in | 160 | HFS is another larger user of magic numbers - you can find them in |
164 | ``fs/hfs/hfs.h``. | 161 | ``fs/hfs/hfs.h``. |
diff --git a/MAINTAINERS b/MAINTAINERS index cc996af953b8..1901ef510b43 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -7410,16 +7410,6 @@ S: Obsolete | |||
7410 | F: include/uapi/linux/ipx.h | 7410 | F: include/uapi/linux/ipx.h |
7411 | F: drivers/staging/ipx/ | 7411 | F: drivers/staging/ipx/ |
7412 | 7412 | ||
7413 | IRDA SUBSYSTEM | ||
7414 | M: Samuel Ortiz <samuel@sortiz.org> | ||
7415 | L: irda-users@lists.sourceforge.net (subscribers-only) | ||
7416 | L: netdev@vger.kernel.org | ||
7417 | W: http://irda.sourceforge.net/ | ||
7418 | S: Obsolete | ||
7419 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/sameo/irda-2.6.git | ||
7420 | F: Documentation/networking/irda.txt | ||
7421 | F: drivers/staging/irda/ | ||
7422 | |||
7423 | IRQ DOMAINS (IRQ NUMBER MAPPING LIBRARY) | 7413 | IRQ DOMAINS (IRQ NUMBER MAPPING LIBRARY) |
7424 | M: Marc Zyngier <marc.zyngier@arm.com> | 7414 | M: Marc Zyngier <marc.zyngier@arm.com> |
7425 | S: Maintained | 7415 | S: Maintained |
diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 6b5300ca44a6..885f5fcead77 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c | |||
@@ -1390,7 +1390,7 @@ static inline void host_int_parse_assoc_resp_info(struct wilc_vif *vif, | |||
1390 | } | 1390 | } |
1391 | 1391 | ||
1392 | if (hif_drv->usr_conn_req.ies) { | 1392 | if (hif_drv->usr_conn_req.ies) { |
1393 | conn_info.req_ies = kmemdup(conn_info.req_ies, | 1393 | conn_info.req_ies = kmemdup(hif_drv->usr_conn_req.ies, |
1394 | hif_drv->usr_conn_req.ies_len, | 1394 | hif_drv->usr_conn_req.ies_len, |
1395 | GFP_KERNEL); | 1395 | GFP_KERNEL); |
1396 | if (conn_info.req_ies) | 1396 | if (conn_info.req_ies) |
diff --git a/include/uapi/linux/sysctl.h b/include/uapi/linux/sysctl.h index 0f272818a4d2..6b58371b1f0d 100644 --- a/include/uapi/linux/sysctl.h +++ b/include/uapi/linux/sysctl.h | |||
@@ -780,24 +780,6 @@ enum { | |||
780 | NET_BRIDGE_NF_FILTER_PPPOE_TAGGED = 5, | 780 | NET_BRIDGE_NF_FILTER_PPPOE_TAGGED = 5, |
781 | }; | 781 | }; |
782 | 782 | ||
783 | /* proc/sys/net/irda */ | ||
784 | enum { | ||
785 | NET_IRDA_DISCOVERY=1, | ||
786 | NET_IRDA_DEVNAME=2, | ||
787 | NET_IRDA_DEBUG=3, | ||
788 | NET_IRDA_FAST_POLL=4, | ||
789 | NET_IRDA_DISCOVERY_SLOTS=5, | ||
790 | NET_IRDA_DISCOVERY_TIMEOUT=6, | ||
791 | NET_IRDA_SLOT_TIMEOUT=7, | ||
792 | NET_IRDA_MAX_BAUD_RATE=8, | ||
793 | NET_IRDA_MIN_TX_TURN_TIME=9, | ||
794 | NET_IRDA_MAX_TX_DATA_SIZE=10, | ||
795 | NET_IRDA_MAX_TX_WINDOW=11, | ||
796 | NET_IRDA_MAX_NOREPLY_TIME=12, | ||
797 | NET_IRDA_WARN_NOREPLY_TIME=13, | ||
798 | NET_IRDA_LAP_KEEPALIVE_TIME=14, | ||
799 | }; | ||
800 | |||
801 | 783 | ||
802 | /* CTL_FS names: */ | 784 | /* CTL_FS names: */ |
803 | enum | 785 | enum |
diff --git a/kernel/sysctl_binary.c b/kernel/sysctl_binary.c index e8c0dab4fd65..07148b497451 100644 --- a/kernel/sysctl_binary.c +++ b/kernel/sysctl_binary.c | |||
@@ -704,24 +704,6 @@ static const struct bin_table bin_net_netfilter_table[] = { | |||
704 | {} | 704 | {} |
705 | }; | 705 | }; |
706 | 706 | ||
707 | static const struct bin_table bin_net_irda_table[] = { | ||
708 | { CTL_INT, NET_IRDA_DISCOVERY, "discovery" }, | ||
709 | { CTL_STR, NET_IRDA_DEVNAME, "devname" }, | ||
710 | { CTL_INT, NET_IRDA_DEBUG, "debug" }, | ||
711 | { CTL_INT, NET_IRDA_FAST_POLL, "fast_poll_increase" }, | ||
712 | { CTL_INT, NET_IRDA_DISCOVERY_SLOTS, "discovery_slots" }, | ||
713 | { CTL_INT, NET_IRDA_DISCOVERY_TIMEOUT, "discovery_timeout" }, | ||
714 | { CTL_INT, NET_IRDA_SLOT_TIMEOUT, "slot_timeout" }, | ||
715 | { CTL_INT, NET_IRDA_MAX_BAUD_RATE, "max_baud_rate" }, | ||
716 | { CTL_INT, NET_IRDA_MIN_TX_TURN_TIME, "min_tx_turn_time" }, | ||
717 | { CTL_INT, NET_IRDA_MAX_TX_DATA_SIZE, "max_tx_data_size" }, | ||
718 | { CTL_INT, NET_IRDA_MAX_TX_WINDOW, "max_tx_window" }, | ||
719 | { CTL_INT, NET_IRDA_MAX_NOREPLY_TIME, "max_noreply_time" }, | ||
720 | { CTL_INT, NET_IRDA_WARN_NOREPLY_TIME, "warn_noreply_time" }, | ||
721 | { CTL_INT, NET_IRDA_LAP_KEEPALIVE_TIME, "lap_keepalive_time" }, | ||
722 | {} | ||
723 | }; | ||
724 | |||
725 | static const struct bin_table bin_net_table[] = { | 707 | static const struct bin_table bin_net_table[] = { |
726 | { CTL_DIR, NET_CORE, "core", bin_net_core_table }, | 708 | { CTL_DIR, NET_CORE, "core", bin_net_core_table }, |
727 | /* NET_ETHER not used */ | 709 | /* NET_ETHER not used */ |
@@ -743,7 +725,7 @@ static const struct bin_table bin_net_table[] = { | |||
743 | { CTL_DIR, NET_LLC, "llc", bin_net_llc_table }, | 725 | { CTL_DIR, NET_LLC, "llc", bin_net_llc_table }, |
744 | { CTL_DIR, NET_NETFILTER, "netfilter", bin_net_netfilter_table }, | 726 | { CTL_DIR, NET_NETFILTER, "netfilter", bin_net_netfilter_table }, |
745 | /* NET_DCCP "dccp" no longer used */ | 727 | /* NET_DCCP "dccp" no longer used */ |
746 | { CTL_DIR, NET_IRDA, "irda", bin_net_irda_table }, | 728 | /* NET_IRDA "irda" no longer used */ |
747 | { CTL_INT, 2089, "nf_conntrack_max" }, | 729 | { CTL_INT, 2089, "nf_conntrack_max" }, |
748 | {} | 730 | {} |
749 | }; | 731 | }; |