From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko =?ISO-8859-1?Q?St=FCbner?= Subject: Re: [PATCH] soc: rockchip: power-domain: don't try to print the clock name in error case Date: Fri, 16 Oct 2015 10:17:24 +0200 Message-ID: <49829517.ZZBFVztZIh@diego> References: <1764593.eLkUiZigaK@diego> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1764593.eLkUiZigaK@diego> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+glpar-linux-rockchip=m.gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Caesar Wang List-Id: linux-rockchip.vger.kernel.org Am Donnerstag, 15. Oktober 2015, 15:22:30 schrieb Heiko St=FCbner: > When we never got the the clock-reference, i.e. when IS_ERR(clk) is true, > don't try to print the clock name via %pC as this of course produces a > null-pointer-dereference in __clk_get_name(). > = > Signed-off-by: Heiko Stuebner applied to my drivers branch with Caesar's Reviewed-tag.