From patchwork Thu Oct 10 13:13:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 11183535 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B53E76 for ; Thu, 10 Oct 2019 13:14:41 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8324C206B6 for ; Thu, 10 Oct 2019 13:14:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8324C206B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A14226EB33; Thu, 10 Oct 2019 13:14:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3958A6EB31; Thu, 10 Oct 2019 13:14:37 +0000 (UTC) Received: by mail-lj1-f196.google.com with SMTP id a22so6201961ljd.0; Thu, 10 Oct 2019 06:14:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XOswBCNwFK4RZCMtfErG3cL4H6/5uv1kqEZjdrVfyDI=; b=P3z5PqLKDv0pNd4hYzTBboHElfU/Y8Zzmu4esekZg9QzqmPmHSEjdqG6VSKt4R8QKo wlt2CoKFauAir4oo6EMsmjemVQmaMNLiqJi9Xm/dVRUyOGp7XgKtiJ2xg9UFKKaAq8Mr 425XqkFE19qanwpd8klzOCGW5kakTMRsbYsX07Bfi53wHGP2j2a4iA3z8SrGw1habIUq 1BZeRlR5Dj/7sdUTVUyPfYp2DQGeAmZ4qyYPE6ZKjz2OmhFXrI0KvaPojVeS03V0NcJp vZ+y+Ue5ZTJxwLpqjdIm18CkvylFLr5i6vKXspeF0v0OE2vj7XVehwoVJ88XxskjbO1U C60Q== X-Gm-Message-State: APjAAAWARxnPBelO8KL2AFd0+yqS+tTzwcqKHaUW8zKdGAL2PvKnrWNU mTAiY9Ch2K/bjDnbHwIRcrA= X-Google-Smtp-Source: APXvYqx7rWr//j0nU72LF17c2ZHHfzLol9DG9rI4kOgM1l87fAOHIVImVINHKm3kJUnYijQABR42Bg== X-Received: by 2002:a05:651c:120b:: with SMTP id i11mr2535790lja.123.1570713275622; Thu, 10 Oct 2019 06:14:35 -0700 (PDT) Received: from xi.terra (c-51f1e055.07-184-6d6c6d4.bbcust.telenor.se. [85.224.241.81]) by smtp.gmail.com with ESMTPSA id j17sm1243951lfb.11.2019.10.10.06.14.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Oct 2019 06:14:34 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.92.2) (envelope-from ) id 1iIYHE-0006Ag-JH; Thu, 10 Oct 2019 15:14:45 +0200 From: Johan Hovold To: Rob Clark , Sean Paul , Fabien Dessenne , Mauro Carvalho Chehab , Harald Freudenberger Subject: [PATCH 0/4] treewide: fix interrupted release Date: Thu, 10 Oct 2019 15:13:29 +0200 Message-Id: <20191010131333.23635-1-johan@kernel.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-s390@vger.kernel.org, Vasily Gorbik , David Airlie , linux-arm-msm@vger.kernel.org, Heiko Carstens , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Johan Hovold , Christian Borntraeger , Greg Kroah-Hartman , freedreno@lists.freedesktop.org, linux-media@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Two old USB drivers had a bug in them which could lead to memory leaks if an interrupted process raced with a disconnect event. Turns out we had a few more driver in other subsystems with the same kind of bug in them. Note that all but the s390 patch have only been compile tested, while the s390 one has not even been built. Johan Johan Hovold (4): drm/msm: fix memleak on release media: bdisp: fix memleak on release media: radio: wl1273: fix interrupt masking on release s390/zcrypt: fix memleak at release drivers/gpu/drm/msm/msm_debugfs.c | 6 +----- drivers/media/platform/sti/bdisp/bdisp-v4l2.c | 3 +-- drivers/media/radio/radio-wl1273.c | 3 +-- drivers/s390/crypto/zcrypt_api.c | 3 +-- 4 files changed, 4 insertions(+), 11 deletions(-)