Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3551729pxj; Mon, 24 May 2021 09:11:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxddOug5ibWPHRQzoCGUvBlIlCmdIkbFUY3Ct1BH9s5ebihRXKp+xbOXSpZV1WPbUzhrMw7 X-Received: by 2002:a05:6602:1494:: with SMTP id a20mr16364518iow.100.1621872702383; Mon, 24 May 2021 09:11:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621872702; cv=none; d=google.com; s=arc-20160816; b=Yj0P8cJnQEeI1bTRuwkyz67+nCF2Y0uIn3i2cciA9uPhcdP0oQLEI/BSX0w1HDJO9I MWKEEonhc5CQ3GB24vzGMILaB2cstzyLhCacTteYjeS1pAp2rOhyiJTKiznwd+aVpv6T Dmkouois2Q4vxN5s5EpWxlE9P+0cadaCN9fqVICwB6ZqLAh1P4IavwiEkh+cuMtriKGc TYTQgyQJQ7i3SDwMXaR6G4uc5era1Z6AKvIjARI1QqFeInmIF+nzfzw4NjPqWQFIJk89 wUa8PYA8Cqem4fbl8MRasM3Z0qe1Uybcf8iteauO1OSH4e2enLJ4pPbeposEkUmQCdFq xLQA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Pf30dbcgl0oTfb7pApyv5tZG4IH2Xp0jirbfYqTiMIY=; b=kj7nGfmgqZBK15AFrgrMyptWeKxspS+/8PgKhuVA0aN+45nVNRCMx6aG9y+IrkjsG3 qQWBaA/O8WeFb8QSRsyvGBb1KX2sL9egoaSLrJm7RdP+Ydd5IE1gTjmH0PBjycBG1nlg ykv05v8CDps8jDRKlPs49/A2dyJSijSWKZb0XAFDN6gt4VO61bBLmpdmT6b/oBWQOY2+ SXMFUAg0nSxG5ezV2id43d9Y7TYPAlp1lWESxHP4pTff8g3fL6xa5SjaUN9UFJFG2Zy9 pQ5KzOOjXBrCP/R6e4QxeXQZCVNXEsDSNVScN7ue9au9lRuet39m9ujbmW3wQ9nnU6vu PuWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=WfaSYSmq; 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 n9si14197392jaj.15.2021.05.24.09.11.29; Mon, 24 May 2021 09:11:42 -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=WfaSYSmq; 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 S238634AbhEXQKQ (ORCPT + 99 others); Mon, 24 May 2021 12:10:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:49240 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235810AbhEXQCP (ORCPT ); Mon, 24 May 2021 12:02:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DC346619A0; Mon, 24 May 2021 15:47:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621871226; bh=wfEgEgy1LF8Lnb9B/cql8UwTFYpdGrP+HkZSOSNoBSE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WfaSYSmqwbXrtBkcPWVUJgcun9e+UP+kxKZuqyPNmyYjD08Wr00SiP8EBW9zy/zTn QECthZEzTF5s1JNCeLm+pXV2238HYeGKDOuAr/oU48ISqwa7gPaPheYYiqOzSCrpT8 +eUvocamnkmQ31NoODIpUGI0hO0vDNwFU0ISa1D4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Wenwen Wang , Peter Rosin , Jens Axboe Subject: [PATCH 5.12 103/127] Revert "gdrom: fix a memory leak bug" Date: Mon, 24 May 2021 17:27:00 +0200 Message-Id: <20210524152338.335433092@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210524152334.857620285@linuxfoundation.org> References: <20210524152334.857620285@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Greg Kroah-Hartman commit 257343d3ed557f11d580d0b7c515dc154f64a42b upstream. This reverts commit 093c48213ee37c3c3ff1cf5ac1aa2a9d8bc66017. Because of recent interactions with developers from @umn.edu, all commits from them have been recently re-reviewed to ensure if they were correct or not. Upon review, this commit was found to be incorrect for the reasons below, so it must be reverted. It will be fixed up "correctly" in a later kernel change. 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: Wenwen Wang Cc: Peter Rosin Cc: Jens Axboe Fixes: 093c48213ee3 ("gdrom: fix a memory leak bug") Cc: stable Link: https://lore.kernel.org/r/20210503115736.2104747-27-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman --- drivers/cdrom/gdrom.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/cdrom/gdrom.c +++ b/drivers/cdrom/gdrom.c @@ -863,7 +863,6 @@ static void __exit exit_gdrom(void) platform_device_unregister(pd); platform_driver_unregister(&gdrom_driver); kfree(gd.toc); - kfree(gd.cd_info); } module_init(init_gdrom);