Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp4252381ybg; Mon, 8 Jun 2020 03:09:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIkUEGweAEQtX1V27EFCWvWzyHC73LaGufTtL5lpy6qTX1aqUy9VzQ7J5Ao4mCdCz82Kbl X-Received: by 2002:a17:906:6a4b:: with SMTP id n11mr19298536ejs.198.1591610947961; Mon, 08 Jun 2020 03:09:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591610947; cv=none; d=google.com; s=arc-20160816; b=pB1j2r42UgnN0BpYjss7hhMUifFhKzJ/98DzZ/Ly9hPLB2UTPKsv0DvWEF0sXfRafu 9W9yY3torMoT7U8nSa5+mTXoGO3KSbdHsZPtDTbelZHW7WIF5XCsbH1Wwa64OKzL/7Vr TzpxvShnyPger1JNwEl8P3G2TffYrZmyLans1M87f9hEK4rv4WSIwL1FM1vu8w/id2io UUfWZgnPRxPzY0nKZ7b16MA+eIXxU7Sr3DqQeZYkMe3/HvNIFPbDe7H3gfonvo3hRISF WD2fqJMmZMQ6v8SVCMuU4PvT2pCIz4sLWv3MCJ+fK3I5ED1BK2NsowLKVBnLgkVRk7mO JPMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:content-transfer-encoding :mime-version:subject:from:message-id:date:dkim-signature; bh=/ObN+SztvzlsyER4ntLvU367bIE4eNuBeWoUHRZW/rw=; b=E0W3WUGwjI/9MWDbkfsXm6myKeVCrrIVckVYitgegKXOjvf1Z7mEE+55+8KYUK4DjC os2wqwuh62N8RK2rZjMExHo9CZyxzHR695AME2dfTb8XkEaFtjEnU+TfeDZD0fQdC+3J h+19c5A0LbVYOgvHZ8/sSuM6cTPJNNrOu8qWarEpq+mZVbXd/q8DBaqmV4I/jrumK+QT j8jEGenD9s7beIVVn9WXIppdmnleZ617njDDd1uYMS1lASYNQA8+JwjgKzJxVva75+54 aZMG3BYb3S0ryKyH+gMZDMZudgbPsj/Nb0Y21HKVxh3/fpHXftHE+nnUMsP4XAPjE2Ke Ij4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=YtIFvNqv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b19si8946541edx.506.2020.06.08.03.08.45; Mon, 08 Jun 2020 03:09:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@rere.qmqm.pl header.s=1 header.b=YtIFvNqv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729282AbgFHKGf (ORCPT + 99 others); Mon, 8 Jun 2020 06:06:35 -0400 Received: from rere.qmqm.pl ([91.227.64.183]:9182 "EHLO rere.qmqm.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729240AbgFHKGe (ORCPT ); Mon, 8 Jun 2020 06:06:34 -0400 Received: from remote.user (localhost [127.0.0.1]) by rere.qmqm.pl (Postfix) with ESMTPSA id 49gTRr0G62z2d; Mon, 8 Jun 2020 12:06:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rere.qmqm.pl; s=1; t=1591610792; bh=Xrng9HgE5HPvIAp1NSK4MnUJUDNRKMXBFpteoCe0zYw=; h=Date:From:Subject:To:Cc:From; b=YtIFvNqvAgjAXTyf+AhtXaVrR7FsPn42OVG+x8gNrWDykD5AAnSh8U17Toy7c27Mm sWWzHnXRiNKpBHvJ2eyDgTSLtJlLCzVElljrXW1XiJUnPI5yClZZb9vIPdE8BsNiL+ /dH1BS1D/f5490Z50t3q5TCFZzX9tfzKar4ffgRMPmVmZTAymFEYsL6Q/4g0JuOjYZ DxTlYgihFZFrsgV7twUoUmOzUVF3bC5tJSx6naxrgInPZ2d58z5201NBD/IVHHjSww fXbA4gSyu6lF9ooRp9zvdXbRv4bioQ9X/NcDtBuJRL58M09jR2EUh9q/ix11tIBf/X eBOMxOOiM3/1w== X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.102.2 at mail Date: Mon, 08 Jun 2020 12:06:30 +0200 Message-Id: From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= Subject: [PATCH 0/2] ALSA: pcm: stream linking locking fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: Jaroslav Kysela , Takashi Iwai Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Two patches fixing locking issues for SNDRV_PCM_IOCTL_LINK handling: first adds a check preventing linking a stream to itself, second quiets lockdep warning about nested locks. Michał Mirosław (2): ALSA: pcm: disallow linking stream to itself ALSA: pcm: fix snd_pcm_link() lockdep splat sound/core/pcm_native.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) -- 2.20.1