Patch "[PATCH] Revert "tty: goldfish: Fix a parameter of a call to free_irq"" has been added to the 4.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    [PATCH] Revert "tty: goldfish: Fix a parameter of a call to free_irq"

to the 4.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     revert-tty-goldfish-fix-a-parameter-of-a-call-to-free_irq.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 037c9ebf920ab339593aaf240135c15d66854dc1 Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 19 Oct 2017 15:28:08 +0200
Subject: [PATCH] Revert "tty: goldfish: Fix a parameter of a call to free_irq"

From: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

This reverts commit 01b3db29ba1edd79b9c3e7cd294739b70257d278 which is
commit 1a5c2d1de7d35f5eb9793266237903348989502b upstream.

Ben writes:
	This fixes a bug introduced in 4.6 by commit 465893e18878 "tty:
	goldfish: support platform_device with id -1".  For earlier
	kernel versions, it *introduces* a bug.

So let's drop it.

Reported-by: Ben Hutchings <ben.hutchings@xxxxxxxxxxxxxxx>
Cc: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Cc: Sasha Levin <alexander.levin@xxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman gregkh@xxxxxxxxxxxxxxxxxxx
---
 drivers/tty/goldfish.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/tty/goldfish.c
+++ b/drivers/tty/goldfish.c
@@ -293,7 +293,7 @@ static int goldfish_tty_probe(struct pla
 	return 0;
 
 err_tty_register_device_failed:
-	free_irq(irq, qtty);
+	free_irq(irq, pdev);
 err_request_irq_failed:
 	goldfish_tty_current_line_count--;
 	if (goldfish_tty_current_line_count == 0)


Patches currently in stable-queue which might be from gregkh@xxxxxxxxxxxxxxxxxxx are

queue-4.4/net-mlx4_core-fix-vf-overwrite-of-module-param-which-disables-dmfs-on-new-probed-pfs.patch
queue-4.4/packet-in-packet_do_bind-test-fanout-with-bind_lock-held.patch
queue-4.4/scsi-scsi_dh_emc-return-success-in-clariion_std_inquiry.patch
queue-4.4/revert-tty-goldfish-fix-a-parameter-of-a-call-to-free_irq.patch
queue-4.4/mac80211-fix-power-saving-clients-handling-in-iwlwifi.patch
queue-4.4/isdn-i4l-fetch-the-ppp_write-buffer-in-one-shot.patch
queue-4.4/mips-fix-minimum-alignment-requirement-of-irq-stack.patch
queue-4.4/l2tp-fix-race-condition-in-l2tp_tunnel_delete.patch
queue-4.4/net-mvpp2-release-reference-to-txq_cpu-entry-after-unmapping.patch
queue-4.4/vti-fix-use-after-free-in-vti_tunnel_xmit-vti6_tnl_xmit.patch
queue-4.4/uapi-fix-linux-mroute6.h-userspace-compilation-errors.patch
queue-4.4/irqchip-crossbar-fix-incorrect-type-of-local-variables.patch
queue-4.4/watchdog-kempld-fix-gcc-4.3-build.patch
queue-4.4/percpu-make-this_cpu_generic_read-atomic-w.r.t.-interrupts.patch
queue-4.4/md-linear-shutup-lockdep-warnning.patch
queue-4.4/revert-bsg-lib-don-t-free-job-in-bsg_prepare_job.patch
queue-4.4/netfilter-nf_ct_expect-change-__nf_ct_expect_check-return-value.patch
queue-4.4/net-emac-fix-napi-poll-list-corruption.patch
queue-4.4/nfsd-callback-cleanup-callback-cred-on-shutdown.patch
queue-4.4/ocfs2-dlmglue-prepare-tracking-logic-to-avoid-recursive-cluster-lock.patch
queue-4.4/packet-only-test-po-has_vnet_hdr-once-in-packet_snd.patch
queue-4.4/iio-adc-xilinx-fix-error-handling.patch
queue-4.4/uapi-fix-linux-rds.h-userspace-compilation-errors.patch
queue-4.4/udpv6-fix-the-checksum-computation-when-hw-checksum-does-not-apply.patch
queue-4.4/bpf-one-perf-event-close-won-t-free-bpf-program-attached-by-another-perf-event.patch
queue-4.4/sctp-potential-read-out-of-bounds-in-sctp_ulpevent_type_enabled.patch
queue-4.4/drm-dp-mst-save-vcpi-with-payloads.patch
queue-4.4/l2tp-avoid-schedule-while-atomic-in-exit_net.patch
queue-4.4/crypto-xts-add-ecb-dependency.patch
queue-4.4/target-iscsi-fix-unsolicited-data-seq_end_offset-calculation.patch
queue-4.4/btrfs-send-fix-failure-to-rename-top-level-inode-due-to-name-collision.patch
queue-4.4/net-mlx4_en-fix-overflow-in-mlx4_en_init_timestamp.patch
queue-4.4/bpf-verifier-reject-bpf_alu64-bpf_end.patch
queue-4.4/slub-do-not-merge-cache-if-slub_debug-contains-a-never-merge-flag.patch
queue-4.4/ip6_gre-skb_push-ipv6hdr-before-packing-the-header-in-ip6gre_header.patch
queue-4.4/tipc-use-only-positive-error-codes-in-messages.patch
queue-4.4/tun-bail-out-from-tun_get_user-if-the-skb-is-empty.patch
queue-4.4/i2c-at91-ensure-state-is-restored-after-suspending.patch
queue-4.4/net-set-sk_prot_creator-when-cloning-sockets-to-the-right-proto.patch
queue-4.4/mac80211_hwsim-check-hwsim_attr_radio_name-length.patch
queue-4.4/cpufreq-cppc-add-acpi_processor-dependency.patch
queue-4.4/ceph-clean-up-unsafe-d_parent-accesses-in-build_dentry_path.patch
queue-4.4/f2fs-do-not-wait-for-writeback-in-write_begin.patch
queue-4.4/sparc64-migrate-hvcons-irq-to-panicked-cpu.patch
queue-4.4/packet-hold-bind-lock-when-rebinding-to-fanout-hook.patch
queue-4.4/locking-lockdep-add-nest_lock-integrity-test.patch



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]