Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp270429yba; Fri, 12 Apr 2019 03:15:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGoIwOrTaN5qOWThSR4ZNI246tVqokHHYPygRRDjLRqmJ+imcoSR+fMHyHa3puUdP0aLzf X-Received: by 2002:a62:1b03:: with SMTP id b3mr56467798pfb.150.1555064152948; Fri, 12 Apr 2019 03:15:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555064152; cv=none; d=google.com; s=arc-20160816; b=Th61YZ6UFIoXaiiOor5cwi+oiYXRe68c5HxJc/1iHGUelTYgoQxrNL0BTqdxCzEpVu pOoPjF8npvvdXhm6fR993BpVvZXM5ZlKlSN6B88ewmO99nnN/it/T6F54ZNCWQ0WWh4s RXdvZ/JnIy8LLU+mGvb8b++M6rj2kT7Xg6M0tZ7ao1AsBmRgeDVT4UIpkRZ+C+2xq7hp 5yRi9aXYIWtWc1LvecgnGw+/rvbaggAfr7EC8vMkR9+cjxPN++Zi9Cl+qA7vc916GftQ STh6vFQMIbZnhlryqCtQnJa+zRWgMdxKLk1imx03NGh13graq2TOHyuuD0HXMo7iLBlC KBeQ== 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=2xq051J3zO+q4O8bjQssGWbmwqajLM2iZu5I9EsMMbg=; b=pk/x6gSq8Q3VUSKWVEaIL9RmDzWgvuCSDQA+yLCHie4BdNHNefFERpcWwp/few6lJo +lzjgAX0GOwF42StE0/CmVNx3iNPVXTQviDGEukY7oq+tGuESNoqlQbPKV76b9YbgK7x eJwZEDVlIgOhA4erCA2bn0ebwnKu9blebv2ArkM+qHtYZEnYFFFTgsERXsJbFElzQMRJ EmLEBpALCERdEQtgu8IuDGBbYkF/SkaZkF00bn1Ao56l8pG2YuWuKQPJi7agKZGbl+86 eyHhsvdhK98gWv9f7RggryDmFPK4V1Qj3XtgaUKXivg0e/SFZbb6AiJB1zI6CHPdyuNP jVkQ== 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 z184si35720703pgd.588.2019.04.12.03.15.36; Fri, 12 Apr 2019 03:15:52 -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 S1727015AbfDLKPA (ORCPT + 99 others); Fri, 12 Apr 2019 06:15:00 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:46893 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726697AbfDLKPA (ORCPT ); Fri, 12 Apr 2019 06:15:00 -0400 X-Originating-IP: 109.213.223.232 Received: from localhost (alyon-652-1-80-232.w109-213.abo.wanadoo.fr [109.213.223.232]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 1BDE0E0014; Fri, 12 Apr 2019 10:14:56 +0000 (UTC) Date: Fri, 12 Apr 2019 12:14:56 +0200 From: Alexandre Belloni To: Thomas Bogendoerfer Cc: Joshua Kinard , Alessandro Zummo , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] rtc: ds1685: fix crash caused by referencing wrong device struct Message-ID: <20190412101456.GW3578@piout.net> References: <20190411143323.20945-1-tbogendoerfer@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190411143323.20945-1-tbogendoerfer@suse.de> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/04/2019 16:33:21+0200, Thomas Bogendoerfer wrote: > sysfs entries added by rtc_add_group are called with the rtc device > as argument and not the underlying device. Fixed by using the dev->parent > > Fixes: cfb74916e2ec ("rtc: ds1685: use rtc_add_group") > Signed-off-by: Thomas Bogendoerfer > --- > drivers/rtc/rtc-ds1685.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com