Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11666136rwl; Tue, 3 Jan 2023 02:58:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXskGF44sISpCkm5Y1UAqNdpdpeL2748QlSaj49+1WCvjwzX92T2oebDsIsKeR4aSg+6koPN X-Received: by 2002:a17:90a:dc15:b0:221:6db6:9660 with SMTP id i21-20020a17090adc1500b002216db69660mr58906276pjv.11.1672743510315; Tue, 03 Jan 2023 02:58:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672743510; cv=none; d=google.com; s=arc-20160816; b=kz76j5ILrmFvZbHMN8bEemWjqSLWu3gBC6E6itElBOXG8muCzcWBgBloC2iY+qCzOy mFAzzZXO78D7s+fY8DTT98Nfb07fJzmBGVBzYMwwyXIxu63Qnnk9I4ZYjjHiK92/pTlv ogT9RIZz/aIB1vW+nE9dQr4xLKyYw1n4shDYmPFCFe1TdkY9K7qtFu2RabihNNimIHYN 8D9bkzRUW0MSPrzAdp3b3nkvxFUBOoLQ0lx/zBjlbu+THpuMmQEidWO5IxZMb921WsIV PZgyLhrX7ga0CQB8h+LQUvP9kQ4H4/4RNgYP7Gv7iq5Qqatgs5iC1hb+M3lryuHsqA6d cCrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=RqtgQ5L+xDQqvnt0jrrVcY2+0FrY5syhgGF23AOFPuw=; b=yBKCJz5EwcqTE5G3Ci7n4IKNpGVMr9nXc9IQi+wZdnmrV/6lJK5vUBlOcLgSiZjyje uqx2WnoJKiVXW2z9JizJdHDS2JaNm0CBlzrl4hlP7wQ+1aiMzLSErsMwRRksj0qkRHOX wsfb1Fh4JjVfBFEufNwAR9J7dypdTnPUKbQPR5R6ktBpRiMLCL+OUeaBp88HvoXuyGnF MJ1ahxIru2bkrjbotL3A9WgcqUvugzWyQ4TQtkLpmz0h36tUXVY72jQ4wVCwULTpAxBg 5K9j7K1EZOLEKCmdK+LbwidQRQGHeEOaQIAVW6nMVNXEfaTmflRdr00wHFfc2jGx4bdo 2ISw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p7-20020a635b07000000b004792a8f99fdsi29503582pgb.742.2023.01.03.02.58.22; Tue, 03 Jan 2023 02:58:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237404AbjACKwH convert rfc822-to-8bit (ORCPT + 62 others); Tue, 3 Jan 2023 05:52:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237152AbjACKvg (ORCPT ); Tue, 3 Jan 2023 05:51:36 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CBF22FA for ; Tue, 3 Jan 2023 02:51:35 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pCetD-00085X-SH; Tue, 03 Jan 2023 11:51:27 +0100 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pCetA-003Xgr-20; Tue, 03 Jan 2023 11:51:24 +0100 Received: from pza by lupine with local (Exim 4.94.2) (envelope-from ) id 1pCet9-0004Z7-6O; Tue, 03 Jan 2023 11:51:23 +0100 Message-ID: Subject: Re: [PATCH] reset: uniphier-glue: Fix possible null-ptr-deref From: Philipp Zabel To: Hui Tang , hayashi.kunihiko@socionext.com, mhiramat@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, weiyongjun1@huawei.com Date: Tue, 03 Jan 2023 11:51:23 +0100 In-Reply-To: <20221114004958.258513-1-tanghui20@huawei.com> References: <20221114004958.258513-1-tanghui20@huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.38.3-1+deb11u1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mo, 2022-11-14 at 08:49 +0800, Hui Tang wrote: > It will cause null-ptr-deref when resource_size(res) invoked, > if platform_get_resource() returns NULL. > > Fixes: 499fef09a323 ("reset: uniphier: add USB3 core reset control") > Signed-off-by: Hui Tang Thank you, applied to reset/fixes. regards Philipp