Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754019AbbHaR3k (ORCPT ); Mon, 31 Aug 2015 13:29:40 -0400 Received: from mx-guillaumet.finsecur.com ([91.217.234.131]:33558 "EHLO guillaumet.finsecur.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753415AbbHaR3j (ORCPT ); Mon, 31 Aug 2015 13:29:39 -0400 Date: Mon, 31 Aug 2015 19:29:34 +0200 From: Sylvain Rochet To: Mark Brown , Markus Pargmann , Kuninori Morimoto , Srinivas Kandagatla , Xiubo Li , Nicolas Boichat , Pankaj Dubey , linux-kernel@vger.kernel.org, Stephen Rothwell Message-ID: <20150831172934.GA29103@gradator.net> References: <1441041429-28749-1-git-send-email-sylvain.rochet@finsecur.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1441041429-28749-1-git-send-email-sylvain.rochet@finsecur.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: 172.16.8.13 X-SA-Exim-Mail-From: sylvain.rochet@finsecur.com Subject: Re: [PATCH] regmap: fix NULL pointer dereference in __regmap_init if bus is NULL X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on guillaumet.finsecur.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 502 Lines: 14 Hello, On Mon, Aug 31, 2015 at 07:17:09PM +0200, Sylvain Rochet wrote: > This fix adds a check for bus pointer before using bus struct members. I just found out I'm a little too late, Sergey sent the exact same patch a few hours ago, dammit :-) Sylvain -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/