Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1575762ybb; Thu, 9 Apr 2020 05:04:02 -0700 (PDT) X-Google-Smtp-Source: APiQypLNX7sg5kLLuHAwZ8hz/S8ucb1AfBpBuCecgc07UTITmOSSnqjUWKNL7SJF6mH8UApJ610c X-Received: by 2002:ac8:6b4b:: with SMTP id x11mr11865983qts.118.1586433842146; Thu, 09 Apr 2020 05:04:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586433842; cv=none; d=google.com; s=arc-20160816; b=FQgi9H1tzxpQ281krtrl/dT9c/Uoc7gYOWL3ISYH/pjQlf+yB2Ui1W2s4uIB7GUSgG kMQcpbyX5juVLkgDW7gVXqJG9mdOTLU71S3bJ7VdBn+w37oALwU3z47VHiEQPB6SSNzG 3/uQXRn3qGrzJAznFqj/wCxlJe0K2XcBbTsIoC/SzjGqsLjqpmaEBnSX3HXpGNNedZuP BpznJ6UfQAlZ3fqMtR9iomUVApJCXhfIIjtgREVlPWu9idqBPCubnhJWJjMVmLQRNxqc 0k/SKzilolY4tp8y9LLBiEr6KdRWuLuGT8B+Z1iQs66baCfl14Is0DNJIkTD7jsCPCz7 wjbA== 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:dkim-signature; bh=twKaaVBKlEch0/x9uwA4gV1xi58wSqfI7HxuMOBeimU=; b=vcjWWFMrln1pANfEt/yGr5+k3W+0V71Yqs6LsCAs1o77kM9E1jtxfqk/87z4i3iPWh KQZzTxRB6Tj2Jaxtzl2KXALqXB3qhIijOepdf/8GDV3ZTf4PF+cMPrUBqWyQyptB0SDR D0X1y47pPDuaT7thi2penhcyhaN1ltrDevUXI0NvG0UEba/2/MYduHNCUjaL/Bes92LO tGnXzEy0Cez+dnjZ8uetYWNhNtS1jld7HJ713a81U68oq9Mn4BTXl+Ltnadxvg4nE4GZ ItdkHGaEEXJZvgqfM4Epyi7O7Ybd+bO21lBY9ami9tHKq7WRNi+DDGXoSDHqyZGKj2v/ bhnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Wkdsn1+S; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o66si5714171qkc.50.2020.04.09.05.03.47; Thu, 09 Apr 2020 05:04:02 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Wkdsn1+S; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726659AbgDIMCq (ORCPT + 99 others); Thu, 9 Apr 2020 08:02:46 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:37027 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725987AbgDIMCq (ORCPT ); Thu, 9 Apr 2020 08:02:46 -0400 Received: by mail-ed1-f66.google.com with SMTP id de14so12969324edb.4; Thu, 09 Apr 2020 05:02:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=twKaaVBKlEch0/x9uwA4gV1xi58wSqfI7HxuMOBeimU=; b=Wkdsn1+SM7OgLx/h0cHV8CmfvQPdFnlInBuf1OYTnFQd3LIy0Ri7arIewbWep9cwB7 70yQK6r58MANNA0zYDjWqZFht43A1aoAMtsny3nuVomAELS+GDvB+5IV8Jqxj01na0Qz xLzVUt3UWNt7fugpGpMWnyn7m/F9UsdM3QJdGJZ5uMibdnWUVspCYnmKj/v7K07THmH8 8bpTYtOE8aMjZw2RgUSzimY2+y/y5ykeM8mKRmN03kzuyfNOHGXrvwcCXlyUso08TkZC Ht5QCkMfgF5mAH337OVnMcQhvRJO3y01vBZyL61UhrRktUmnh3+roWf4fi7iHOhXL7J+ cP6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=twKaaVBKlEch0/x9uwA4gV1xi58wSqfI7HxuMOBeimU=; b=ewHeaSLB7EHm3FIA0IsDBb3H09p1NiLWODyr6JsatpqJz3bayZOh3ChlJn8kNY63ay YMOB7+YkUMlo50JMDHWJjg3PNZ9JGMvkYtaY/QzeVk7aG6I3gp70/tu8zNzDj30G5Vs8 +Ops9WYgOl/k+6EmD8bFid7UhzUcCvLlAmjT28ERp/K+4PO04dZN4DtYp1JsfhxsjK0y T/swEHQaXU4eymh5yzspO++a0+4LheHBKoN8FUXUuzprIn4lzsTLFlLXdQ6NW/Qz+1BV ph20Hd9hStA+YCV/YTaPF0nwDJ7VKi0udGMMW7Gy7m1zDMTKV63cCa8zbUuqzIINdMYE okDw== X-Gm-Message-State: AGi0Pub9udIvrBbqYQs+9W49D92uQeYyNinbpNQihI0GAk3sT7B24jF7 pr1X1v6WrFR0tc9QzqIIUtQ= X-Received: by 2002:aa7:dd0f:: with SMTP id i15mr11168556edv.8.1586433764021; Thu, 09 Apr 2020 05:02:44 -0700 (PDT) Received: from localhost (ip1f115f16.dynamic.kabel-deutschland.de. [31.17.95.22]) by smtp.gmail.com with ESMTPSA id e10sm116551eds.2.2020.04.09.05.02.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Apr 2020 05:02:43 -0700 (PDT) Date: Thu, 9 Apr 2020 14:02:42 +0200 From: Oliver Graute To: Marco Felsch 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: <20200409120242.GA17410@portage> References: <1586424425-27038-1-git-send-email-oliver.graute@gmail.com> <20200409105253.qvezbikpbnrkig52@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200409105253.qvezbikpbnrkig52@pengutronix.de> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/04/20, Marco Felsch wrote: > 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.. I admit that this is strange. The patch fixed my problems so I posted it. Still interested in the root-cause. Best regards, Oliver