Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2080064ybi; Sat, 1 Jun 2019 09:22:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxd9LYC+7umEH0li4eJrxu4hnrWC6Me81Ju4+SWX3eZZBwkOKHYgAi9zgm5v8Wg3nMCRNP X-Received: by 2002:a63:e50c:: with SMTP id r12mr16486650pgh.284.1559406157787; Sat, 01 Jun 2019 09:22:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559406157; cv=none; d=google.com; s=arc-20160816; b=a1bg7B0S109apyIAq14h6ikof+ua7qF7q526iyDt37f9kEKsRRVpg6DkQxBhqu2dAx SASzKQuDB+26ifzplon6wzELSWlBGBLqdh9UynJvAKlj/IR5j3py2bIaUcv1MEbXGFnm Xs826RvLxixhXA6ICoM8rhXWEiB5OvJ6dcSbLp9aTTheXjwupcF31iSz/LY8HDwUL9yF IX17OmOyDifBrlarGjFwm0d+t1GimrQWBvvqjnnGqH3C0Qz40TCnzAKq7jJChsjgFd49 8yOC68dYv5069iJHD50zpRVtVUx+u7nGyEPmCn53UXQLTWTCXasBCTj/abKz6PgvXXnd UXPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=N8k6hyu03OVfsHRb9OannDbchfvT22wE8+Ckfm0HzdU=; b=DLfC/WUZxilmVprxWzioLh7zfIJMxDUyJiDv0o6x1f9dlDbN9FQyz43gzLFsjIOshn gj1Yrn6w+5S1vEd8/0qAWD7d3Q7Yjv2AZ2kix0LasDtvGifNo5jejZ7ytHHJwdMK0jez m6BbBBP/9MpxCThsl5LapsIjBEW2hma1srug6oYqfdTuh0WJ17SyCGJXZwy+YFl1oroL SURh6OYORnTQKlou8Ak2zYouVCnhZMKvxDDaddcHIj8QBjt1iSVyRsNMjaev/FNoFTX+ L/QKeUUnRy1PyxDexKXsG5dy2UAIB3km3WVANjkYOC1ko5if9Vu1Rc+IjL3S3kzJ4YNp IdOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pZHp1glx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 205si11253027pgb.424.2019.06.01.09.22.21; Sat, 01 Jun 2019 09:22:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pZHp1glx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726823AbfFAQUj (ORCPT + 99 others); Sat, 1 Jun 2019 12:20:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:59288 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbfFAQUg (ORCPT ); Sat, 1 Jun 2019 12:20:36 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A256B27753; Sat, 1 Jun 2019 16:20:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559406036; bh=nKe8XKOVM5oAWjQWs73h5gY//PZ5JoisK7aclAP9fL0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pZHp1glx3ON5yINQU+hCJ6dIP1rq7wpCsbYs1VmbQnlHfNOMaaFs+XKGpjdIHHjjC Ov/Lp1qesJlmwiSeGdxjcWxt+lrJ7KYwm5vvSwdzdB67A7kNxdo6Wo4gdNmrDqj+dm OuwBDTo2egTzWOx7AD0NXd7SNmnaTzxo7llEQ6cY= Date: Sat, 1 Jun 2019 09:19:29 -0700 From: Greg Kroah-Hartman To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Kangjie Lu , Aditya Pakki , Finn Thain , Rob Herring , Bartlomiej Zolnierkiewicz , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH AUTOSEL 4.4 44/56] video: imsttfb: fix potential NULL pointer dereferences Message-ID: <20190601161929.GA5028@kroah.com> References: <20190601132600.27427-1-sashal@kernel.org> <20190601132600.27427-44-sashal@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190601132600.27427-44-sashal@kernel.org> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 01, 2019 at 09:25:48AM -0400, Sasha Levin wrote: > From: Kangjie Lu > > [ Upstream commit 1d84353d205a953e2381044953b7fa31c8c9702d ] > > In case ioremap fails, the fix releases resources and returns > -ENOMEM to avoid NULL pointer dereferences. > > Signed-off-by: Kangjie Lu > Cc: Aditya Pakki > Cc: Finn Thain > Cc: Rob Herring > Cc: Greg Kroah-Hartman > [b.zolnierkie: minor patch summary fixup] > Signed-off-by: Bartlomiej Zolnierkiewicz > Signed-off-by: Sasha Levin > --- > drivers/video/fbdev/imsttfb.c | 5 +++++ > 1 file changed, 5 insertions(+) Why only 4.4.y? Shouldn't this be queued up for everything or none? thanks, greg k-h