Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1519649ybb; Thu, 9 Apr 2020 03:54:07 -0700 (PDT) X-Google-Smtp-Source: APiQypLU6d7zinr60OtTTFv+uDzS4N3jyO+SA9xTRqvI8oC61osSDgzNM23Bb2cz+ksmueK5XJUq X-Received: by 2002:a4a:e1b5:: with SMTP id 21mr9505602ooy.33.1586429647138; Thu, 09 Apr 2020 03:54:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586429647; cv=none; d=google.com; s=arc-20160816; b=NQNv7H/CYneP4zTGDl9S12BMOMQwyNGXG3gOWeBPiSoWNhwtqOVF84c+dDQmwlFz8S 9B/acBTbSDCaG7vFynDzhRA0odNx4RdGi2OZf5HqBG+G+7w5i1YSzSWufdg4fdXQMPPU CDlUiyciwqyuvjLzI8BFm0ZBFtuQmVKbea81GmaRjtqaDIePyyt4Y4Ovea7IaAuKE8V5 zePl+7vGL/3CYx68/6Ng++yVwxrbrFIIJzLxvY0ISNxmaYHh/nNM47Ff0XyXBmYA7/Jh DiHD1+WdQ3L1HkDiNkRkkNRW9tM9qBw57kVxJjwH4DVXi3uVAafctvuZQpdByGC+Uq8v +rNA== 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=3V7xhipu3jKTzjnJNk6S3fD2sTB38GX3CmOCui/rzjA=; b=MoDP3ib6l67NxtNV9wr3vDAv85jPdiNb+QkHVE0oNr65AxV0MJti4H3LQRK1BRQgwg aaYDypZ4XasTmBK8KENz4AyYfSPTOMYyWBUENlojT8kDxPMm9H1RXsNSzd14Xshx2Zgy tS8Nj6AxsenuWaHWIaI3rrCSpzNMSin+NYdT5W+FEcZ6R2TPm2Ts7BmCsd3NOtVIkutC /Y0HuQ6cB2k5UhIBvKqFbN1gqH6B9mF6qiQflxIS9Q/Uu9pNu47f6v95o5q8Anu8j8mA J9Ud5WetU+WaDn1EoXWKM12qMDK97fMt65doIZxbxmOeXghgasJ0I4avoPuN7vNGA6pF fpIw== 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 m23si4116149ots.325.2020.04.09.03.53.52; Thu, 09 Apr 2020 03:54:07 -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 S1726579AbgDIKxA (ORCPT + 99 others); Thu, 9 Apr 2020 06:53:00 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:33153 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726470AbgDIKxA (ORCPT ); Thu, 9 Apr 2020 06:53:00 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jMUnm-0007xF-UN; Thu, 09 Apr 2020 12:52:54 +0200 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1jMUnl-0001Ie-R9; Thu, 09 Apr 2020 12:52:53 +0200 Date: Thu, 9 Apr 2020 12:52:53 +0200 From: Marco Felsch To: Oliver Graute Cc: dmitry.torokhov@gmail.com, Oliver Graute , Andy Shevchenko , Greg Kroah-Hartman , Sasha Levin , Philipp Zabel , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] Input: edt-ft5x06 - fix crash on EDT EP0110M09 Message-ID: <20200409105253.qvezbikpbnrkig52@pengutronix.de> References: <1586424425-27038-1-git-send-email-oliver.graute@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1586424425-27038-1-git-send-email-oliver.graute@gmail.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 12:45:47 up 146 days, 2:04, 166 users, load average: 0.06, 0.06, 0.02 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Oliver, thanks for your patch. On 20-04-09 11:27, Oliver Graute wrote: > From: Oliver Graute ... > drivers/input/touchscreen/edt-ft5x06.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c > index 06aa8ba0b6d7..6fbc87d041a1 100644 > --- a/drivers/input/touchscreen/edt-ft5x06.c > +++ b/drivers/input/touchscreen/edt-ft5x06.c > @@ -819,10 +819,6 @@ static int edt_ft5x06_ts_identify(struct i2c_client *client, > * to have garbage in there > */ > memset(rdbuf, 0, sizeof(rdbuf)); > - error = edt_ft5x06_ts_readwrite(client, 1, "\xBB", > - EDT_NAME_LEN - 1, rdbuf); > - if (error) > - return error; I don't see how this call can corrupt the stack.. Regards, Marco