Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6007170ybi; Wed, 29 May 2019 01:07:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiA4CUS/xIDcspFjodndrWBoQVEJLggAp+MbXGyDDUX/7wIP5zeHp+WDniCSVhs0GDkblr X-Received: by 2002:a63:ed03:: with SMTP id d3mr135871434pgi.7.1559117248443; Wed, 29 May 2019 01:07:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559117248; cv=none; d=google.com; s=arc-20160816; b=ysuTiD8+FKgHtK3EBrEQNETtKNPRg0AYj6aNKrvhovGe+9C2Fwv5tYdnxLFaNjVsRK 48S8wEt/CgUTLZX4fSKPFfp62v3UZE8zWNGPAn+wqJZodbanl3KztES+Dp/tMPf+An66 07AGFTjQZZqI0c9bIV2xzEMTfkLg+oraKonvBA9acLGK1sMQ/Ku8bjVtzJwkiJIw6v/+ 9hvrEf8kkS0KzsOwhO79VlVb6u3iHV5E20vdTdr4pctBqgphlp3pxap+Yd9MEgCKb+c7 9EiB5eFo7+t53EVihU3YlSb4YZhdOkLKTEJG3K+U4DHT0n7GsUjHVVCcq+aKMILfBWko op8g== 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; bh=x5tNi0qLaR4NH+2KTd/SJTsU6A7fCgsgpJCDwD4jAss=; b=dPMv8Ix9654n+GgJTGlYOkJt1vOFQGA8OsKo7FfNkhFGFdg6C7tFcmM5U+u8Z+OZBt uZUzH9B3NvE4EPO+q1GQPwNJ5oM19Mrq/DnqjtrDMjbruvTeg1R5G2D4empWyp7Mu9Ij jOFvrJ6iPu25e4bRbApSjGFZe/q0RXPfrSDTZa/GVaazJIfbCXSPdtaqhlJUQWCGiXoL DVvr5cYGBmP28NoHwOi6p/0NJFZl6Ble7vgcvy6Xm/cm4oWO5IQszSt30Os2ZP7A5/To 8XQs+jSry7mN0ObIdpfz79LGAICWfd/aF0TSyXn1nqwvLhBcWmhSufJvbag8sJl3FkLK XjSg== ARC-Authentication-Results: i=1; mx.google.com; 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 d36si16426408pla.113.2019.05.29.01.07.12; Wed, 29 May 2019 01:07:28 -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; 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 S1726685AbfE2IFP (ORCPT + 99 others); Wed, 29 May 2019 04:05:15 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:50867 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725945AbfE2IFP (ORCPT ); Wed, 29 May 2019 04:05:15 -0400 Received: from localhost (aaubervilliers-681-1-27-134.w90-88.abo.wanadoo.fr [90.88.147.134]) (Authenticated sender: maxime.ripard@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 1F3AA240018; Wed, 29 May 2019 08:05:05 +0000 (UTC) Date: Wed, 29 May 2019 10:05:05 +0200 From: Maxime Ripard To: Gen Zhang Cc: emilio@elopez.com.ar, mturquette@baylibre.com, sboyd@kernel.org, wens@csie.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk-sunxi: fix a missing-check bug in sunxi_divs_clk_setup() Message-ID: <20190529080505.acyiha3uebg6wski@flea> References: <20190528021851.GA14526@zhanggen-UX430UQ> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="o35lrbyzjlkcjtqy" Content-Disposition: inline In-Reply-To: <20190528021851.GA14526@zhanggen-UX430UQ> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --o35lrbyzjlkcjtqy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, May 28, 2019 at 10:18:51AM +0800, Gen Zhang wrote: > In sunxi_divs_clk_setup(), 'derived_name' is allocated by kstrndup(). > It returns NULL when fails. 'derived_name' should be checked. > > Signed-off-by: Gen Zhang Applied, thanks Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --o35lrbyzjlkcjtqy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXO49MQAKCRDj7w1vZxhR xWfrAP46HVqEHdmnfc8KYLclIPZP/0pUCzi5RAIq6DVjbMwmUgD9GOGKEB363FSF iYDV78aJJGnCdjGQ7JRUoIR+3s7Q3wA= =m78v -----END PGP SIGNATURE----- --o35lrbyzjlkcjtqy--