diff options
author | sirlucjan | 2017-12-29 18:41:50 +0100 |
---|---|---|
committer | sirlucjan | 2017-12-29 18:41:50 +0100 |
commit | 7fb45220b32e7183089f8f49034df699b92a420e (patch) | |
tree | 82505cc8b34a95a86665beec8ed8ca8e6a61e75d | |
parent | 779d8349f0cbb5995dce8d6881ace8ba1a30914a (diff) | |
download | aur-7fb45220b32e7183089f8f49034df699b92a420e.tar.gz |
Bump to 4.14.10-1
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | 0001-ALSA-usb-audio-Fix-the-missing-ctl-name-suffix-at-pa.patch | 77 | ||||
-rw-r--r-- | PKGBUILD | 19 |
3 files changed, 21 insertions, 103 deletions
@@ -1,6 +1,6 @@ pkgbase = linux-bfq-mq - pkgver = 4.14.9 - pkgrel = 4 + pkgver = 4.14.10 + pkgrel = 1 url = https://github.com/Algodev-github/bfq-mq/ arch = x86_64 license = GPL2 @@ -12,8 +12,8 @@ pkgbase = linux-bfq-mq options = !strip source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.14.tar.xz source = https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.14.tar.sign - source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.14.9.xz - source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.14.9.sign + source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.14.10.xz + source = https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.14.10.sign source = https://raw.githubusercontent.com/sirlucjan/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v4.9+_kernel_v4.13+.patch source = https://gitlab.com/sirlucjan/kernel-patches/raw/master/4.14/4.14-bfq-sq-mq-git-20171228.patch source = https://gitlab.com/tom81094/custom-patches/raw/master/bfq-mq/tentative/T0001-Check-presence-on-tree-of-every-entity-after-every-a.patch @@ -35,12 +35,11 @@ pkgbase = linux-bfq-mq source = 0001-Revert-xfrm-Fix-stack-out-of-bounds-read-in-xfrm_sta.patch source = 0002-xfrm-Fix-stack-out-of-bounds-read-on-socket-policy-l.patch source = 0003-cgroup-fix-css_task_iter-crash-on-CSS_TASK_ITER_PROC.patch - source = 0001-ALSA-usb-audio-Fix-the-missing-ctl-name-suffix-at-pa.patch validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886 validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E sha256sums = f81d59477e90a130857ce18dc02f4fbe5725854911db1e7ba770c7cd350f96a7 sha256sums = SKIP - sha256sums = 5edc955bb67b04c7ed426b1df17a3e322e32ad9fdda9c6abb53ab6eca7faf704 + sha256sums = 16f560aa713b46c707f04a226f67dc31fdd280aae57dd19e0413d61df5336c74 sha256sums = SKIP sha256sums = 8b00041911e67654b0bd9602125853a1a94f6155c5cac4f886507554c8324ee8 sha256sums = e04958faa40e3a20f7e7e2bd9580b4c4c45d4d576ea3c6537d2e19de25ae5160 @@ -63,7 +62,6 @@ pkgbase = linux-bfq-mq sha256sums = ed3266ab03f836f57de0faf8a10ffd7566c909515c2649de99adaab2fac4aa32 sha256sums = 64a014f7e1b4588728b3ea9538beee67ec63fb792d890c7be9cc13ddc2121b00 sha256sums = 3d4c41086c077fbd515d04f5e59c0c258f700433c5da3365d960b696c2e56efb - sha256sums = 95f0d0a94983b0dafd295f660a663f9be5ef2fcb9646098426a5d12b59f50638 pkgname = linux-bfq-mq pkgdesc = The Linux-bfq-mq kernel and modules with the BFQ-MQ scheduler @@ -74,19 +72,19 @@ pkgname = linux-bfq-mq depends = mkinitcpio>=0.7 optdepends = crda: to set the correct wireless channels of your country optdepends = modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig - provides = linux-bfq-mq=4.14.9 - provides = linux=4.14.9 + provides = linux-bfq-mq=4.14.10 + provides = linux=4.14.10 backup = etc/mkinitcpio.d/linux-bfq-mq.preset pkgname = linux-bfq-mq-headers pkgdesc = Header files and scripts for building modules for Linux-bfq-mq kernel - depends = linux-bfq-mq=4.14.9 - provides = linux-bfq-mq-headers=4.14.9 - provides = linux-headers=4.14.9 + depends = linux-bfq-mq=4.14.10 + provides = linux-bfq-mq-headers=4.14.10 + provides = linux-headers=4.14.10 pkgname = linux-bfq-mq-docs pkgdesc = Kernel hackers manual - HTML documentation that comes with the Linux-bfq-mq kernel - depends = linux-bfq-mq=4.14.9 - provides = linux-bfq-mq-docs=4.14.9 - provides = linux-docs=4.14.9 + depends = linux-bfq-mq=4.14.10 + provides = linux-bfq-mq-docs=4.14.10 + provides = linux-docs=4.14.10 diff --git a/0001-ALSA-usb-audio-Fix-the-missing-ctl-name-suffix-at-pa.patch b/0001-ALSA-usb-audio-Fix-the-missing-ctl-name-suffix-at-pa.patch deleted file mode 100644 index fe62f65af163..000000000000 --- a/0001-ALSA-usb-audio-Fix-the-missing-ctl-name-suffix-at-pa.patch +++ /dev/null @@ -1,77 +0,0 @@ -From 16b5ff888e251b8c4dedd3994d2e85ab25ea7fa4 Mon Sep 17 00:00:00 2001 -Message-Id: <16b5ff888e251b8c4dedd3994d2e85ab25ea7fa4.1514245036.git.jan.steffens@gmail.com> -From: Takashi Iwai <tiwai@suse.de> -Date: Mon, 18 Dec 2017 23:36:57 +0100 -Subject: [PATCH] ALSA: usb-audio: Fix the missing ctl name suffix at parsing - SU - -The commit 89b89d121ffc ("ALSA: usb-audio: Add check return value for -usb_string()") added the check of the return value from -snd_usb_copy_string_desc(), which is correct per se, but it introduced -a regression. In the original code, either the "Clock Source", -"Playback Source" or "Capture Source" suffix is added after the -terminal string, while the commit changed it to add the suffix only -when get_term_name() is failing. It ended up with an incorrect ctl -name like "PCM" instead of "PCM Capture Source". - -Also, even the original code has a similar bug: when the ctl name is -generated from snd_usb_copy_string_desc() for the given iSelector, it -also doesn't put the suffix. - -This patch addresses these issues: the suffix is added always when no -static mapping is found. Also the patch tries to put more comments -and cleans up the if/else block for better readability in order to -avoid the same pitfall again. - -Fixes: 89b89d121ffc ("ALSA: usb-audio: Add check return value for usb_string()") -Reported-and-tested-by: Mauro Santos <registo.mailling@gmail.com> -Cc: <stable@vger.kernel.org> -Signed-off-by: Takashi Iwai <tiwai@suse.de> ---- - sound/usb/mixer.c | 27 ++++++++++++++++----------- - 1 file changed, 16 insertions(+), 11 deletions(-) - -diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c -index 4fde4f8d4444a597..75bce127d768c613 100644 ---- a/sound/usb/mixer.c -+++ b/sound/usb/mixer.c -@@ -2173,20 +2173,25 @@ static int parse_audio_selector_unit(struct mixer_build *state, int unitid, - kctl->private_value = (unsigned long)namelist; - kctl->private_free = usb_mixer_selector_elem_free; - -- nameid = uac_selector_unit_iSelector(desc); -+ /* check the static mapping table at first */ - len = check_mapped_name(map, kctl->id.name, sizeof(kctl->id.name)); -- if (len) -- ; -- else if (nameid) -- len = snd_usb_copy_string_desc(state, nameid, kctl->id.name, -- sizeof(kctl->id.name)); -- else -- len = get_term_name(state, &state->oterm, -- kctl->id.name, sizeof(kctl->id.name), 0); -- - if (!len) { -- strlcpy(kctl->id.name, "USB", sizeof(kctl->id.name)); -+ /* no mapping ? */ -+ /* if iSelector is given, use it */ -+ nameid = uac_selector_unit_iSelector(desc); -+ if (nameid) -+ len = snd_usb_copy_string_desc(state, nameid, -+ kctl->id.name, -+ sizeof(kctl->id.name)); -+ /* ... or pick up the terminal name at next */ -+ if (!len) -+ len = get_term_name(state, &state->oterm, -+ kctl->id.name, sizeof(kctl->id.name), 0); -+ /* ... or use the fixed string "USB" as the last resort */ -+ if (!len) -+ strlcpy(kctl->id.name, "USB", sizeof(kctl->id.name)); - -+ /* and add the proper suffix */ - if (desc->bDescriptorSubtype == UAC2_CLOCK_SELECTOR) - append_ctl_name(kctl, " Clock Source"); - else if ((state->oterm.type & 0xff00) == 0x0100) --- -2.15.1 - @@ -66,10 +66,10 @@ _mq_enable= pkgbase=linux-bfq-mq #pkgbase=linux-custom # Build kernel with a different name -pkgver=4.14.9 +pkgver=4.14.10 _srcpatch="${pkgver##*\.*\.}" _srcname="linux-${pkgver%%\.${_srcpatch}}" -pkgrel=4 +pkgrel=1 arch=('x86_64') url="https://github.com/Algodev-github/bfq-mq/" license=('GPL2') @@ -134,12 +134,11 @@ source=(# mainline kernel patches '0002-dccp-CVE-2017-8824-use-after-free-in-DCCP-code.patch' '0001-Revert-xfrm-Fix-stack-out-of-bounds-read-in-xfrm_sta.patch' '0002-xfrm-Fix-stack-out-of-bounds-read-on-socket-policy-l.patch' - '0003-cgroup-fix-css_task_iter-crash-on-CSS_TASK_ITER_PROC.patch' - '0001-ALSA-usb-audio-Fix-the-missing-ctl-name-suffix-at-pa.patch') + '0003-cgroup-fix-css_task_iter-crash-on-CSS_TASK_ITER_PROC.patch') sha256sums=('f81d59477e90a130857ce18dc02f4fbe5725854911db1e7ba770c7cd350f96a7' 'SKIP' - '5edc955bb67b04c7ed426b1df17a3e322e32ad9fdda9c6abb53ab6eca7faf704' + '16f560aa713b46c707f04a226f67dc31fdd280aae57dd19e0413d61df5336c74' 'SKIP' '8b00041911e67654b0bd9602125853a1a94f6155c5cac4f886507554c8324ee8' 'e04958faa40e3a20f7e7e2bd9580b4c4c45d4d576ea3c6537d2e19de25ae5160' @@ -161,8 +160,7 @@ sha256sums=('f81d59477e90a130857ce18dc02f4fbe5725854911db1e7ba770c7cd350f96a7' '1d69940c6bf1731fa1d1da29b32ec4f594fa360118fe7b128c9810285ebf13e2' 'ed3266ab03f836f57de0faf8a10ffd7566c909515c2649de99adaab2fac4aa32' '64a014f7e1b4588728b3ea9538beee67ec63fb792d890c7be9cc13ddc2121b00' - '3d4c41086c077fbd515d04f5e59c0c258f700433c5da3365d960b696c2e56efb' - '95f0d0a94983b0dafd295f660a663f9be5ef2fcb9646098426a5d12b59f50638') + '3d4c41086c077fbd515d04f5e59c0c258f700433c5da3365d960b696c2e56efb') validpgpkeys=( 'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds '647F28654894E3BD457199BE38DBBDC86092693E' # Greg Kroah-Hartman @@ -197,10 +195,6 @@ prepare() { ### Fix https://bugs.archlinux.org/task/56846 msg "Fix #56846" patch -Np1 -i ../0003-cgroup-fix-css_task_iter-crash-on-CSS_TASK_ITER_PROC.patch - - ### Fix https://bugs.archlinux.org/task/56830 - msg "Fix #56830" - patch -Np1 -i ../0001-ALSA-usb-audio-Fix-the-missing-ctl-name-suffix-at-pa.patch ### Patch source with BFQ-SQ-MQ msg "Fix naming schema in BFQ-SQ-MQ patch" @@ -237,6 +231,9 @@ prepare() { # Clean tree and copy ARCH config over make mrproper + # Fix https://www.spinics.net/lists/stable/msg207374.html + chmod +x tools/objtool/sync-check.sh + cp -Tf ../config .config ### Optionally set tickrate to 1000 |