Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2499162ybh; Mon, 5 Aug 2019 02:02:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhapBpVEqK8ln+3cgaxJWGXJQBVBl6p6+meTTAY7OxHQM/8zRiP8WMCNFu46m9Wp/jk8NK X-Received: by 2002:a17:90a:1d8:: with SMTP id 24mr17477927pjd.70.1564995765644; Mon, 05 Aug 2019 02:02:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564995765; cv=none; d=google.com; s=arc-20160816; b=FSHlpsqNns8jHbTISyyekJpBVJnKagcrkcDweZ19S9ST60TEnYcapNL4mQ5yTAU1wS w272gNaM1/OZLCRvzL/4CH9YJTwc9weSy4X6JgHBku5WvqS35nTcgSzPi4x+QNYKDzji zMLgC2vfx4fGUMisNCVngZc8T6SKYcmwDs76snl384DolxCwbN3oTydWZgiMUo78Iwkw 74skh10UNYHhmPmeXDsFy37Z3rnlTKKFkW5OKvAbo4I/7x9GBA+Ib/AweSx8HMwOkHaj O3OuXNXznpL2ZtGNvRnKxxwPMNIKC/0kIXRitebQ8ASM0EOLgUA7nEvz4l4iElI3YSYC HREA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender: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=DhpfuQFEl8xbGm+y8rXI5h2obCf6Bpdu8cd2NcNjfk8=; b=Ao9WxfHGbSWcJYqRkFEWwVOOHp2awbYfh38j0NDDG8Hrxp5FNkspL4/UzZbl6X4+b2 1trOAL1guCpecVKMTmXglOK7GPOGH0h2/Z1teUocC9hrO4NducEYLRclZfT0KZAjcm9X 4TKdslgzVoM0ZUkd1ICKI6YLbuETcrDzDiEU0dtDFPpmjCedXh5EVUf/x/goreYnEOQd Ht9u5uVziKsneCRHPFBTuKaHqm6OIsSQVf5NeTbE97M0LsCz1sIhMFOXqMNt+SCsJvW+ xOKt9s8TpSW1SmrkNDUrwLSVie6uWpy6clXOFggY1r255PB+tw9rnnitMxZzi6tDUSP0 SHNQ== 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 u3si40397131plz.201.2019.08.05.02.02.28; Mon, 05 Aug 2019 02:02:45 -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 S1727356AbfHEJBm (ORCPT + 99 others); Mon, 5 Aug 2019 05:01:42 -0400 Received: from skedge04.snt-world.com ([91.208.41.69]:56060 "EHLO skedge04.snt-world.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726423AbfHEJBm (ORCPT ); Mon, 5 Aug 2019 05:01:42 -0400 Received: from sntmail10s.snt-is.com (unknown [10.203.32.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by skedge04.snt-world.com (Postfix) with ESMTPS id CCC1167A8D1; Mon, 5 Aug 2019 11:01:39 +0200 (CEST) Received: from sntmail12r.snt-is.com (10.203.32.182) by sntmail10s.snt-is.com (10.203.32.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 5 Aug 2019 11:01:39 +0200 Received: from sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305]) by sntmail12r.snt-is.com ([fe80::e551:8750:7bba:3305%3]) with mapi id 15.01.1713.004; Mon, 5 Aug 2019 11:01:39 +0200 From: Schrempf Frieder To: =?utf-8?B?VXdlIEtsZWluZS1Lw7ZuaWc=?= CC: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "linux-imx@nxp.com" , Greg Kroah-Hartman , "geert+renesas@glider.be" , "linux-kernel@vger.kernel.org" , "linux-serial@vger.kernel.org" , Jiri Slaby , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v3 2/4] serial: mctrl_gpio: Add a NULL check to mctrl_gpio_to_gpiod() Thread-Topic: [PATCH v3 2/4] serial: mctrl_gpio: Add a NULL check to mctrl_gpio_to_gpiod() Thread-Index: AQHVSRmhj6XM1Buz9UqFmvYk2hHNCKbno2OAgASBqgA= Date: Mon, 5 Aug 2019 09:01:39 +0000 Message-ID: References: <20190802100349.8659-1-frieder.schrempf@kontron.de> <20190802100349.8659-2-frieder.schrempf@kontron.de> <20190802121231.wk6yg5mkyivs3rni@pengutronix.de> In-Reply-To: <20190802121231.wk6yg5mkyivs3rni@pengutronix.de> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.25.9.193] x-c2processedorg: 51b406b7-48a2-4d03-b652-521f56ac89f3 Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-SnT-MailScanner-Information: Please contact the ISP for more information X-SnT-MailScanner-ID: CCC1167A8D1.A25F7 X-SnT-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-SnT-MailScanner-SpamCheck: X-SnT-MailScanner-From: frieder.schrempf@kontron.de X-SnT-MailScanner-To: festevam@gmail.com, geert+renesas@glider.be, gregkh@linuxfoundation.org, jslaby@suse.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org, u.kleine-koenig@pengutronix.de X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMDIuMDguMTkgMTQ6MTIsIFV3ZSBLbGVpbmUtS8O2bmlnIHdyb3RlOg0KPiBPbiBGcmksIEF1 ZyAwMiwgMjAxOSBhdCAxMDowNDoxMEFNICswMDAwLCBTY2hyZW1wZiBGcmllZGVyIHdyb3RlOg0K Pj4gRnJvbTogRnJpZWRlciBTY2hyZW1wZiA8ZnJpZWRlci5zY2hyZW1wZkBrb250cm9uLmRlPg0K Pj4NCj4+IEFzIGl0IGlzIGFsbG93ZWQgdG8gdXNlIHRoZSBtY3RybF9ncGlvXyogZnVuY3Rpb25z IGJlZm9yZQ0KPj4gaW5pdGlhbGl6YXRpb24gKGFzIHRoZSA4MjUwIGRyaXZlciBkb2VzIGFjY29y ZGluZyB0byA0MzRiZTBhZTdhYTcpLA0KPiANCj4gQWN0dWFsbHkgSSB3YXMgc3VycHJpc2VkIHNv bWUgdGltZSBhZ28gdGhhdCA4MjUwIHVzZWQgc2VyaWFsX21jdHJsDQo+IHdpdGhvdXQgZmlyc3Qg aW5pdGlhbGl6aW5nIGl0IGFuZCBleHBlY3RpbmcgaXQgdG8gd29yay4gSSBkaWRuJ3QgbG9vayBp bg0KPiBkZXRhaWwsIGJ1dCBJIHdvdWxkbid0IGdvIHNvIGZhciB0byBjYWxsIHRoaXMgImFsbG93 ZWQiLiBUaGUgY29tbWl0DQo+IGl0c2VsZiBjYWxscyBpdCAid29ya2Fyb3VuZCIgd2hpY2ggc2Vl bXMgYSBiZXR0ZXIgbWF0Y2guDQoNCk9rLCBidXQgaWYgdGhpcyBpcyBjb25zaWRlcmVkIHRvIGJl IGEgd29ya2Fyb3VuZCBhbmQgYXMgdGhlIDgyNTAgZHJpdmVyIA0KZG9lcyBub3QgdXNlIG1jdHJs X2dwaW9fdG9fZ3Bpb2QoKSwgd2Ugc2hvdW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