From 2a04a80afa52e3262e046c1c84cb4d5d0f0e101e Mon Sep 17 00:00:00 2001 From: fritsch Date: Sat, 22 Nov 2014 07:00:05 +0100 Subject: [PATCH 1/2] linux: Bump to 3.17.4 --- packages/linux/package.mk | 2 +- .../patches/{3.17.3 => 3.17.4}/linux-003-no_dev_console.patch | 0 .../patches/{3.17.3 => 3.17.4}/linux-050-rc_core-toggle.patch | 0 .../{3.17.3 => 3.17.4}/linux-051-ouya_controller_support.patch | 0 .../{3.17.3 => 3.17.4}/linux-052-XBOX_remote_support.patch | 0 .../{3.17.3 => 3.17.4}/linux-053-spinelplus-remote-0.2.patch | 0 ...ton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch | 0 .../linux-055-add_Formosa_eHome_Infrared_Receiver.patch | 0 .../linux-056-add_Adaptec_eHome_Infrared_Receiver.patch | 0 ...57-Removed-MCE-customer-code-restriction-in-rc6-decode.patch | 0 .../linux-057-add_SMK_Manufacturing_Inc_Infrared_Receiver.patch | 0 .../linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.patch | 0 .../{3.17.3 => 3.17.4}/linux-058.06-hid_sony-add_SMK_link.patch | 0 .../linux-059-remove_some_xpad_pids-0.2.patch | 0 .../{3.17.3 => 3.17.4}/linux-060-add_AUGUST_DVB-T205.patch | 0 .../{3.17.3 => 3.17.4}/linux-062-imon_pad_ignore_diagonal.patch | 0 .../linux-203-stb0899_enable_low_symbol_rate.patch | 0 .../linux/patches/{3.17.3 => 3.17.4}/linux-210-dvbsky.patch | 0 .../{3.17.3 => 3.17.4}/linux-211-dvbsky-s950v3-s952v3.patch | 0 .../linux-212-mantis_stb0899_faster_lock.patch | 0 .../patches/{3.17.3 => 3.17.4}/linux-221-ngene-octopus.patch | 0 .../{3.17.3 => 3.17.4}/linux-222-stb0899_signal_quality.patch | 0 .../linux-223-Fix-video-artifacts-with-tt-3600-s2-usb.patch | 0 .../{3.17.3 => 3.17.4}/linux-224-tt-ct2-usb-tuners.patch | 0 .../linux-225-dvbt2-support-for-dvbsky-t9580.patch | 0 .../{3.17.3 => 3.17.4}/linux-703-macmini2012-ethernet.patch | 0 .../linux-705-Support-for-Buffalo-WLI-UC-G300HP-V1.patch | 0 .../patches/{3.17.3 => 3.17.4}/linux-706-Sitecom-N300.patch | 0 .../patches/{3.17.3 => 3.17.4}/linux-900-hide_tsc_error.patch | 0 .../linux-950-saa716x_PCIe_interface_chipset.patch | 0 ...990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch | 0 .../{3.17.3 => 3.17.4}/linux-995-CX24120-13Z_frontend.patch | 0 ...999.02-0001-pm-disable-async-suspend-resume-by-default.patch | 0 .../{3.17.3 => 3.17.4}/linux-999.05-upstream-fixes.patch | 0 .../{3.17.3 => 3.17.4}/todo/linux-061-valve-xpad-rework.patch | 0 .../todo/linux-701-linksys_aes2500_brcmfmac.patch | 0 36 files changed, 1 insertion(+), 1 deletion(-) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-003-no_dev_console.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-050-rc_core-toggle.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-051-ouya_controller_support.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-052-XBOX_remote_support.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-053-spinelplus-remote-0.2.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-054-nuvoton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-055-add_Formosa_eHome_Infrared_Receiver.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-056-add_Adaptec_eHome_Infrared_Receiver.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-057-Removed-MCE-customer-code-restriction-in-rc6-decode.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-057-add_SMK_Manufacturing_Inc_Infrared_Receiver.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-058.06-hid_sony-add_SMK_link.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-059-remove_some_xpad_pids-0.2.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-060-add_AUGUST_DVB-T205.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-062-imon_pad_ignore_diagonal.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-203-stb0899_enable_low_symbol_rate.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-210-dvbsky.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-211-dvbsky-s950v3-s952v3.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-212-mantis_stb0899_faster_lock.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-221-ngene-octopus.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-222-stb0899_signal_quality.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-223-Fix-video-artifacts-with-tt-3600-s2-usb.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-224-tt-ct2-usb-tuners.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-225-dvbt2-support-for-dvbsky-t9580.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-703-macmini2012-ethernet.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-705-Support-for-Buffalo-WLI-UC-G300HP-V1.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-706-Sitecom-N300.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-900-hide_tsc_error.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-950-saa716x_PCIe_interface_chipset.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-995-CX24120-13Z_frontend.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/linux-999.05-upstream-fixes.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/todo/linux-061-valve-xpad-rework.patch (100%) rename packages/linux/patches/{3.17.3 => 3.17.4}/todo/linux-701-linksys_aes2500_brcmfmac.patch (100%) diff --git a/packages/linux/package.mk b/packages/linux/package.mk index 1a61c2b710..c66051393b 100644 --- a/packages/linux/package.mk +++ b/packages/linux/package.mk @@ -23,7 +23,7 @@ case "$LINUX" in PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" ;; *) - PKG_VERSION="3.17.3" + PKG_VERSION="3.17.4" PKG_URL="http://www.kernel.org/pub/linux/kernel/v3.x/$PKG_NAME-$PKG_VERSION.tar.xz" ;; esac diff --git a/packages/linux/patches/3.17.3/linux-003-no_dev_console.patch b/packages/linux/patches/3.17.4/linux-003-no_dev_console.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-003-no_dev_console.patch rename to packages/linux/patches/3.17.4/linux-003-no_dev_console.patch diff --git a/packages/linux/patches/3.17.3/linux-050-rc_core-toggle.patch b/packages/linux/patches/3.17.4/linux-050-rc_core-toggle.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-050-rc_core-toggle.patch rename to packages/linux/patches/3.17.4/linux-050-rc_core-toggle.patch diff --git a/packages/linux/patches/3.17.3/linux-051-ouya_controller_support.patch b/packages/linux/patches/3.17.4/linux-051-ouya_controller_support.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-051-ouya_controller_support.patch rename to packages/linux/patches/3.17.4/linux-051-ouya_controller_support.patch diff --git a/packages/linux/patches/3.17.3/linux-052-XBOX_remote_support.patch b/packages/linux/patches/3.17.4/linux-052-XBOX_remote_support.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-052-XBOX_remote_support.patch rename to packages/linux/patches/3.17.4/linux-052-XBOX_remote_support.patch diff --git a/packages/linux/patches/3.17.3/linux-053-spinelplus-remote-0.2.patch b/packages/linux/patches/3.17.4/linux-053-spinelplus-remote-0.2.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-053-spinelplus-remote-0.2.patch rename to packages/linux/patches/3.17.4/linux-053-spinelplus-remote-0.2.patch diff --git a/packages/linux/patches/3.17.3/linux-054-nuvoton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch b/packages/linux/patches/3.17.4/linux-054-nuvoton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-054-nuvoton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch rename to packages/linux/patches/3.17.4/linux-054-nuvoton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch diff --git a/packages/linux/patches/3.17.3/linux-055-add_Formosa_eHome_Infrared_Receiver.patch b/packages/linux/patches/3.17.4/linux-055-add_Formosa_eHome_Infrared_Receiver.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-055-add_Formosa_eHome_Infrared_Receiver.patch rename to packages/linux/patches/3.17.4/linux-055-add_Formosa_eHome_Infrared_Receiver.patch diff --git a/packages/linux/patches/3.17.3/linux-056-add_Adaptec_eHome_Infrared_Receiver.patch b/packages/linux/patches/3.17.4/linux-056-add_Adaptec_eHome_Infrared_Receiver.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-056-add_Adaptec_eHome_Infrared_Receiver.patch rename to packages/linux/patches/3.17.4/linux-056-add_Adaptec_eHome_Infrared_Receiver.patch diff --git a/packages/linux/patches/3.17.3/linux-057-Removed-MCE-customer-code-restriction-in-rc6-decode.patch b/packages/linux/patches/3.17.4/linux-057-Removed-MCE-customer-code-restriction-in-rc6-decode.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-057-Removed-MCE-customer-code-restriction-in-rc6-decode.patch rename to packages/linux/patches/3.17.4/linux-057-Removed-MCE-customer-code-restriction-in-rc6-decode.patch diff --git a/packages/linux/patches/3.17.3/linux-057-add_SMK_Manufacturing_Inc_Infrared_Receiver.patch b/packages/linux/patches/3.17.4/linux-057-add_SMK_Manufacturing_Inc_Infrared_Receiver.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-057-add_SMK_Manufacturing_Inc_Infrared_Receiver.patch rename to packages/linux/patches/3.17.4/linux-057-add_SMK_Manufacturing_Inc_Infrared_Receiver.patch diff --git a/packages/linux/patches/3.17.3/linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.patch b/packages/linux/patches/3.17.4/linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.patch rename to packages/linux/patches/3.17.4/linux-058.05-hid_sony-add_autorepeat_for_PS3_remotes.patch diff --git a/packages/linux/patches/3.17.3/linux-058.06-hid_sony-add_SMK_link.patch b/packages/linux/patches/3.17.4/linux-058.06-hid_sony-add_SMK_link.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-058.06-hid_sony-add_SMK_link.patch rename to packages/linux/patches/3.17.4/linux-058.06-hid_sony-add_SMK_link.patch diff --git a/packages/linux/patches/3.17.3/linux-059-remove_some_xpad_pids-0.2.patch b/packages/linux/patches/3.17.4/linux-059-remove_some_xpad_pids-0.2.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-059-remove_some_xpad_pids-0.2.patch rename to packages/linux/patches/3.17.4/linux-059-remove_some_xpad_pids-0.2.patch diff --git a/packages/linux/patches/3.17.3/linux-060-add_AUGUST_DVB-T205.patch b/packages/linux/patches/3.17.4/linux-060-add_AUGUST_DVB-T205.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-060-add_AUGUST_DVB-T205.patch rename to packages/linux/patches/3.17.4/linux-060-add_AUGUST_DVB-T205.patch diff --git a/packages/linux/patches/3.17.3/linux-062-imon_pad_ignore_diagonal.patch b/packages/linux/patches/3.17.4/linux-062-imon_pad_ignore_diagonal.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-062-imon_pad_ignore_diagonal.patch rename to packages/linux/patches/3.17.4/linux-062-imon_pad_ignore_diagonal.patch diff --git a/packages/linux/patches/3.17.3/linux-203-stb0899_enable_low_symbol_rate.patch b/packages/linux/patches/3.17.4/linux-203-stb0899_enable_low_symbol_rate.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-203-stb0899_enable_low_symbol_rate.patch rename to packages/linux/patches/3.17.4/linux-203-stb0899_enable_low_symbol_rate.patch diff --git a/packages/linux/patches/3.17.3/linux-210-dvbsky.patch b/packages/linux/patches/3.17.4/linux-210-dvbsky.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-210-dvbsky.patch rename to packages/linux/patches/3.17.4/linux-210-dvbsky.patch diff --git a/packages/linux/patches/3.17.3/linux-211-dvbsky-s950v3-s952v3.patch b/packages/linux/patches/3.17.4/linux-211-dvbsky-s950v3-s952v3.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-211-dvbsky-s950v3-s952v3.patch rename to packages/linux/patches/3.17.4/linux-211-dvbsky-s950v3-s952v3.patch diff --git a/packages/linux/patches/3.17.3/linux-212-mantis_stb0899_faster_lock.patch b/packages/linux/patches/3.17.4/linux-212-mantis_stb0899_faster_lock.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-212-mantis_stb0899_faster_lock.patch rename to packages/linux/patches/3.17.4/linux-212-mantis_stb0899_faster_lock.patch diff --git a/packages/linux/patches/3.17.3/linux-221-ngene-octopus.patch b/packages/linux/patches/3.17.4/linux-221-ngene-octopus.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-221-ngene-octopus.patch rename to packages/linux/patches/3.17.4/linux-221-ngene-octopus.patch diff --git a/packages/linux/patches/3.17.3/linux-222-stb0899_signal_quality.patch b/packages/linux/patches/3.17.4/linux-222-stb0899_signal_quality.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-222-stb0899_signal_quality.patch rename to packages/linux/patches/3.17.4/linux-222-stb0899_signal_quality.patch diff --git a/packages/linux/patches/3.17.3/linux-223-Fix-video-artifacts-with-tt-3600-s2-usb.patch b/packages/linux/patches/3.17.4/linux-223-Fix-video-artifacts-with-tt-3600-s2-usb.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-223-Fix-video-artifacts-with-tt-3600-s2-usb.patch rename to packages/linux/patches/3.17.4/linux-223-Fix-video-artifacts-with-tt-3600-s2-usb.patch diff --git a/packages/linux/patches/3.17.3/linux-224-tt-ct2-usb-tuners.patch b/packages/linux/patches/3.17.4/linux-224-tt-ct2-usb-tuners.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-224-tt-ct2-usb-tuners.patch rename to packages/linux/patches/3.17.4/linux-224-tt-ct2-usb-tuners.patch diff --git a/packages/linux/patches/3.17.3/linux-225-dvbt2-support-for-dvbsky-t9580.patch b/packages/linux/patches/3.17.4/linux-225-dvbt2-support-for-dvbsky-t9580.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-225-dvbt2-support-for-dvbsky-t9580.patch rename to packages/linux/patches/3.17.4/linux-225-dvbt2-support-for-dvbsky-t9580.patch diff --git a/packages/linux/patches/3.17.3/linux-703-macmini2012-ethernet.patch b/packages/linux/patches/3.17.4/linux-703-macmini2012-ethernet.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-703-macmini2012-ethernet.patch rename to packages/linux/patches/3.17.4/linux-703-macmini2012-ethernet.patch diff --git a/packages/linux/patches/3.17.3/linux-705-Support-for-Buffalo-WLI-UC-G300HP-V1.patch b/packages/linux/patches/3.17.4/linux-705-Support-for-Buffalo-WLI-UC-G300HP-V1.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-705-Support-for-Buffalo-WLI-UC-G300HP-V1.patch rename to packages/linux/patches/3.17.4/linux-705-Support-for-Buffalo-WLI-UC-G300HP-V1.patch diff --git a/packages/linux/patches/3.17.3/linux-706-Sitecom-N300.patch b/packages/linux/patches/3.17.4/linux-706-Sitecom-N300.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-706-Sitecom-N300.patch rename to packages/linux/patches/3.17.4/linux-706-Sitecom-N300.patch diff --git a/packages/linux/patches/3.17.3/linux-900-hide_tsc_error.patch b/packages/linux/patches/3.17.4/linux-900-hide_tsc_error.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-900-hide_tsc_error.patch rename to packages/linux/patches/3.17.4/linux-900-hide_tsc_error.patch diff --git a/packages/linux/patches/3.17.3/linux-950-saa716x_PCIe_interface_chipset.patch b/packages/linux/patches/3.17.4/linux-950-saa716x_PCIe_interface_chipset.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-950-saa716x_PCIe_interface_chipset.patch rename to packages/linux/patches/3.17.4/linux-950-saa716x_PCIe_interface_chipset.patch diff --git a/packages/linux/patches/3.17.3/linux-990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch b/packages/linux/patches/3.17.4/linux-990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch rename to packages/linux/patches/3.17.4/linux-990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch diff --git a/packages/linux/patches/3.17.3/linux-995-CX24120-13Z_frontend.patch b/packages/linux/patches/3.17.4/linux-995-CX24120-13Z_frontend.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-995-CX24120-13Z_frontend.patch rename to packages/linux/patches/3.17.4/linux-995-CX24120-13Z_frontend.patch diff --git a/packages/linux/patches/3.17.3/linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch b/packages/linux/patches/3.17.4/linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch rename to packages/linux/patches/3.17.4/linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch diff --git a/packages/linux/patches/3.17.3/linux-999.05-upstream-fixes.patch b/packages/linux/patches/3.17.4/linux-999.05-upstream-fixes.patch similarity index 100% rename from packages/linux/patches/3.17.3/linux-999.05-upstream-fixes.patch rename to packages/linux/patches/3.17.4/linux-999.05-upstream-fixes.patch diff --git a/packages/linux/patches/3.17.3/todo/linux-061-valve-xpad-rework.patch b/packages/linux/patches/3.17.4/todo/linux-061-valve-xpad-rework.patch similarity index 100% rename from packages/linux/patches/3.17.3/todo/linux-061-valve-xpad-rework.patch rename to packages/linux/patches/3.17.4/todo/linux-061-valve-xpad-rework.patch diff --git a/packages/linux/patches/3.17.3/todo/linux-701-linksys_aes2500_brcmfmac.patch b/packages/linux/patches/3.17.4/todo/linux-701-linksys_aes2500_brcmfmac.patch similarity index 100% rename from packages/linux/patches/3.17.3/todo/linux-701-linksys_aes2500_brcmfmac.patch rename to packages/linux/patches/3.17.4/todo/linux-701-linksys_aes2500_brcmfmac.patch From 62b106c14b14114e0df93336a31622d15049feeb Mon Sep 17 00:00:00 2001 From: fritsch Date: Sat, 22 Nov 2014 07:01:03 +0100 Subject: [PATCH 2/2] Radeon: Fix kfree of unitialized ptr - thx to Adam Williamson --- .../linux-999.09-radeon-upstream-fixes.patch | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 packages/linux/patches/3.17.4/linux-999.09-radeon-upstream-fixes.patch diff --git a/packages/linux/patches/3.17.4/linux-999.09-radeon-upstream-fixes.patch b/packages/linux/patches/3.17.4/linux-999.09-radeon-upstream-fixes.patch new file mode 100644 index 0000000000..f646dee485 --- /dev/null +++ b/packages/linux/patches/3.17.4/linux-999.09-radeon-upstream-fixes.patch @@ -0,0 +1,50 @@ +From 83d04c39f9048807a8500e575ae3f1718a3f45bb Mon Sep 17 00:00:00 2001 +From: Alex Deucher +Date: Mon, 13 Oct 2014 13:23:48 -0400 +Subject: drm/radeon: initialize sadb to NULL in the audio code + +Fixes kfree of the sadb buffer when it's NULL. + +Signed-off-by: Alex Deucher + +diff --git a/drivers/gpu/drm/radeon/dce3_1_afmt.c b/drivers/gpu/drm/radeon/dce3_1_afmt.c +index 950af15..6b1dbec 100644 +--- a/drivers/gpu/drm/radeon/dce3_1_afmt.c ++++ b/drivers/gpu/drm/radeon/dce3_1_afmt.c +@@ -32,7 +32,7 @@ static void dce3_2_afmt_write_speaker_allocation(struct drm_encoder *encoder) + struct drm_connector *connector; + struct radeon_connector *radeon_connector = NULL; + u32 tmp; +- u8 *sadb; ++ u8 *sadb = NULL; + int sad_count; + + list_for_each_entry(connector, &encoder->dev->mode_config.connector_list, head) { +diff --git a/drivers/gpu/drm/radeon/dce6_afmt.c b/drivers/gpu/drm/radeon/dce6_afmt.c +index c0bbf68..960a5f0 100644 +--- a/drivers/gpu/drm/radeon/dce6_afmt.c ++++ b/drivers/gpu/drm/radeon/dce6_afmt.c +@@ -155,7 +155,7 @@ void dce6_afmt_write_speaker_allocation(struct drm_encoder *encoder) + struct drm_connector *connector; + struct radeon_connector *radeon_connector = NULL; + u32 offset, tmp; +- u8 *sadb; ++ u8 *sadb = NULL; + int sad_count; + + if (!dig || !dig->afmt || !dig->afmt->pin) +diff --git a/drivers/gpu/drm/radeon/evergreen_hdmi.c b/drivers/gpu/drm/radeon/evergreen_hdmi.c +index 2514d65..f6a5c30 100644 +--- a/drivers/gpu/drm/radeon/evergreen_hdmi.c ++++ b/drivers/gpu/drm/radeon/evergreen_hdmi.c +@@ -133,7 +133,7 @@ static void dce4_afmt_write_speaker_allocation(struct drm_encoder *encoder) + struct drm_connector *connector; + struct radeon_connector *radeon_connector = NULL; + u32 tmp; +- u8 *sadb; ++ u8 *sadb = NULL; + int sad_count; + + list_for_each_entry(connector, &encoder->dev->mode_config.connector_list, head) { +-- +cgit v0.10.1