Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp562723pxy; Wed, 21 Apr 2021 09:20:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysUgWFrQmd/Yr5IAIqcOiGpv5BGPczCJWusBLjytNelbO5Fdrp9cmkMMiI7ZFmjHoiGT56 X-Received: by 2002:a63:fc04:: with SMTP id j4mr13395979pgi.48.1619022026135; Wed, 21 Apr 2021 09:20:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619022026; cv=none; d=google.com; s=arc-20160816; b=J4RH7lihXr4gD0xKFAbC/YgQrmkiOfx34XvF2Y9w40yqBQoL/FZhhHUEbZKqgPB5BK G/9LOkIwaP4J1smxbZe0zkF2XFNxCu8BNn8mMEUSg2FUbokMQArxneIA0CSctE9B5DvY egmk8g47s1f+gBkFhfi5FcrwH+hbgmBibE3M+08t02ELHdPkSJprxYlQaHeh3DjXJ8Lh FI5TYwBobKuu2Ticwy6TbXOR0HPqliuMtWsz1D7sAIeWKtCzec6iFQnYUy+VwU7+WiRB jwmXkT58AMWZ9Xfa3v8IV7XGsdCp+63sBSUbi7RK03EOxD7joE+wohky5JQvVkKSK5Yb AdjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ha15zI9i80lQEGCTX2WK1JtebgUS9b/p9OJzMB3fZk8=; b=ZGMexsBGjXvXsf0+zfG7SO5OiANCn1SzRu4NQT/nmo8ncnPabaWHw6pAJMVc309M93 sF363ga2Fmh6rV28fER8ckL0rx8gmpdmtqP0nST/YO5SbHSQvyUxITA+SLEs+xgrielq 8ReI7FV/L9yjpqxw3+K1tC8SSW5bm4gJpnhPutbVIZ9jVGhXkHrOPe+YiYBGGK7OPNSs dsDobnNjjjTufbvMHShvE3BlUKPAWZiGOAXpJQhVe8xEhVX/RCPtxhWrXC004T+rdti4 uPzFnG8+kSMcCp3D6gnAIFDjvpvEe2q9MRrpyn9EFh2iFQkPghhJIac8GcgLseGp4Gy2 t27Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=dubXe1aO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si49012ple.68.2021.04.21.09.20.14; Wed, 21 Apr 2021 09:20:26 -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=@linuxfoundation.org header.s=korg header.b=dubXe1aO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242336AbhDUNKF (ORCPT + 99 others); Wed, 21 Apr 2021 09:10:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:49410 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241166AbhDUNH0 (ORCPT ); Wed, 21 Apr 2021 09:07:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 19F436145F; Wed, 21 Apr 2021 13:06:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010412; bh=tXhwHrQjM/MUkGAK74GpiMqgStymNpSE9Hz33q2RfeA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dubXe1aOdyLVr/SGMikvFUEyM6lmacEaluFHhDEqQZmde8WQNIH7mz0zBeufONOIH nJeNhtS97hYM5kP4HR1HxNrZZ9MK+jzQ/9fQUHur2G+UPVXNS0WdgmEG3aFDzVOL/k NTCRxEsqC2sv228P3KKmmR9DRI8D8+Ay6YPpr/IA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Kangjie Lu , Takashi Iwai Subject: [PATCH 127/190] Revert "ALSA: sb8: add a check for request_region" Date: Wed, 21 Apr 2021 15:00:02 +0200 Message-Id: <20210421130105.1226686-128-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210421130105.1226686-1-gregkh@linuxfoundation.org> References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit dcd0feac9bab901d5739de51b3f69840851f8919. Commits from @umn.edu addresses have been found to be submitted in "bad faith" to try to test the kernel community's ability to review "known malicious" changes. The result of these submissions can be found in a paper published at the 42nd IEEE Symposium on Security and Privacy entitled, "Open Source Insecurity: Stealthily Introducing Vulnerabilities via Hypocrite Commits" written by Qiushi Wu (University of Minnesota) and Kangjie Lu (University of Minnesota). Because of this, all submissions from this group must be reverted from the kernel tree and will need to be re-reviewed again to determine if they actually are a valid fix. Until that work is complete, remove this change to ensure that no problems are being introduced into the codebase. Cc: Kangjie Lu Cc: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/isa/sb/sb8.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sound/isa/sb/sb8.c b/sound/isa/sb/sb8.c index 6c9d534ce8b6..95290ffe5c6e 100644 --- a/sound/isa/sb/sb8.c +++ b/sound/isa/sb/sb8.c @@ -95,10 +95,6 @@ static int snd_sb8_probe(struct device *pdev, unsigned int dev) /* block the 0x388 port to avoid PnP conflicts */ acard->fm_res = request_region(0x388, 4, "SoundBlaster FM"); - if (!acard->fm_res) { - err = -EBUSY; - goto _err; - } if (port[dev] != SNDRV_AUTO_PORT) { if ((err = snd_sbdsp_create(card, port[dev], irq[dev], -- 2.31.1