Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp233170pxj; Thu, 3 Jun 2021 05:29:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxmIaVTIoKx9ns+Wx72Qz3aCz/S/pYcO8PnTLryZJkwUirC0WfGN4SaVx5kNCWm+LlMiqBJ X-Received: by 2002:a17:906:26cb:: with SMTP id u11mr39705788ejc.385.1622723380325; Thu, 03 Jun 2021 05:29:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622723380; cv=none; d=google.com; s=arc-20160816; b=Oj9uIbci/e8rxSOkhW2+HReb0HFukb+MM7eHHOZEcr5UCxhS0UjzMYm6PxeFNWHTIQ DkTUZJ06wb7aCeP+vMdOXxhQUGhSkUs8LrtRHwWc6ukAmXJNp2tRLbg3nwao/Tgfz0M1 INa5rio9yB/2aS0voXltaeBg4xqLuMLFNJFz3ooOzwxp524X90XOUvh/o/ZgxiyVYC46 xLVxl8/xLnql8YvZJmMz1WaSEjNjFcGEu+ItdZGtqBlanqTBzan7aIbJSAXwdzSF3V6z pvXfT2To1vZGtzkVmB7+9IRazFPlQQmUhmV/IVLWFqwpjSzf5EBoB0+skdppdYb+6AZd 9gQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=IPE0nnDespRlBfKxDdH9RZmrCnoKW+uGJ5S5Bwm1iIo=; b=BtfjWEVcV2vpiSveqyJcfFdJOiWcEQxIUvy719TUelWS/CT+GEHCblW4IccYzhM/9C bQs/J5hgiyD5fIvguSVPz/gT5HGap7eZdr5vmEfR55SebKeHfC3X74iGo4ZT1TthgM61 FDm1tnW4p3MCODoNU9DNWHJnbKX2u8YVRolBN05Urkuw/oLh/SlWEyBOl2uWH2C/5jVx 42+rAB740ocN/klzcGuUEk6oo7EkR936+zNGdrOAyQ/Rhuu74He/yBiBr0q1oSnPWtg1 Vph+8fifjHeLgsb9zdSeoCs843Jind3lAt08PMX+olXr+q9fWF1eRi6t64JeziHti09d h0dQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn12si2315476edb.519.2021.06.03.05.29.17; Thu, 03 Jun 2021 05:29:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229892AbhFCM1Z (ORCPT + 99 others); Thu, 3 Jun 2021 08:27:25 -0400 Received: from mg.richtek.com ([220.130.44.152]:59898 "EHLO mg.richtek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229747AbhFCM1Y (ORCPT ); Thu, 3 Jun 2021 08:27:24 -0400 X-MailGates: (flag:4,DYNAMIC,BADHELO,RELAY,NOHOST:PASS)(compute_score:DE LIVER,40,3) Received: from 192.168.10.46 by mg.richtek.com with MailGates ESMTP Server V5.0(4330:0:AUTH_RELAY) (envelope-from ); Thu, 03 Jun 2021 20:25:33 +0800 (CST) Received: from ex3.rt.l (192.168.10.46) by ex3.rt.l (192.168.10.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.5; Thu, 3 Jun 2021 20:25:32 +0800 Received: from ex3.rt.l ([fe80::ede0:40a5:8f78:963e]) by ex3.rt.l ([fe80::ede0:40a5:8f78:963e%2]) with mapi id 15.02.0858.010; Thu, 3 Jun 2021 20:25:32 +0800 From: =?utf-8?B?Y3lfaHVhbmco6buD5ZWf5Y6fKQ==?= To: "axel.lin@ingics.com" CC: "lgirdwood@gmail.com" , "linux-kernel@vger.kernel.org" , "u0084500@gmail.com" , "broonie@kernel.org" Subject: Re: [PATCH] regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL Thread-Topic: [PATCH] regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios is NULL Thread-Index: AQHXWF3W9ZPy12H82kGo4cvVJ5UzdasBkriAgAALfICAABIEAA== Date: Thu, 3 Jun 2021 12:25:32 +0000 Message-ID: <1622723126.1034.24.camel@richtek.com> References: <20210603094944.1114156-1-axel.lin@ingics.com> <1622716791.1034.13.camel@richtek.com> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.18.5.2-0ubuntu3.2 x-originating-ip: [192.168.8.47] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksU29ycnksIEkgbWlzZXJ1bmRlcnN0YW5kIGl0Lg0KSXQncyByZWFsbHkgb3B0aW9uYWwgYXMg eW91IHNhaWQuDQpJIHJlYWxseSBkb24ndCB0aGluayBhYm91dCB0aGUgY2FzZSB5b3Ugc3BlY2lm aWVkLg0KVGhhbmtzIGZvciB0aGUgZml4Lg0KPg0KPiBSZWdhcmRzLA0KPiBBeGVsDQoqKioqKioq KioqKioqIEVtYWlsIENvbmZpZGVudGlhbGl0eSBOb3RpY2UgKioqKioqKioqKioqKioqKioqKioN Cg0KVGhlIGluZm9ybWF0aW9uIGNvbnRhaW5lZCBpbiB0aGlzIGUtbWFpbCBtZXNzYWdlIChpbmNs dWRpbmcgYW55IGF0dGFjaG1lbnRzKSBtYXkgYmUgY29uZmlkZW50aWFsLCBwcm9wcmlldGFyeSwg cHJpdmlsZWdlZCwgb3Igb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