Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp216458yba; Fri, 12 Apr 2019 22:20:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxytdBfktRCD+Xl8IISrILDAX/ofSTPayp8vc6voHlTxWnI/UPyNmc24e0gAPLt/qwavrOd X-Received: by 2002:a05:6a00:dc:: with SMTP id e28mr27885917pfj.186.1555132840011; Fri, 12 Apr 2019 22:20:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555132840; cv=none; d=google.com; s=arc-20160816; b=Whpat9cU5PXy98pHgjbIxO1p+c9AXcxzwMpIWRImPt2h/w/dAhDFlhQ+5QxP8hMIHQ w0AuRgy1uSc9cVphJRKLF90MVGtV6zWidCR5ozKuppu4lwF1hwi8Kk4KrC0g7735bUK5 vIS87k9qQbtReCx4ip0ynkYKHXHM1JmzoVOjaXNGVvPYmwhHG8Mff72pa4BMilksN9h+ 4YDqrczqQ04J77UBlIil5SaHCE8nhEpYoj/THBcnCm9hsKgs/wKAg1L6fw2x/975AOeg wSjS5BWVcod28tZ/0ksh+lX6PjCdPlytqqAZXsDNd6LciGvk/1osn9D834HSRk60bKNS 2pTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject; bh=g/tR3KdT7ZT5DzjXNabcx2bgaaxoxeaG8fp2J1kjU9s=; b=cB2IYY1QPCZ9sDuUr+E1SePrsUafb0Dvg+pgYgYsAA9+eqAQRDoRYwl65OpkMPpNOy RzRVEiTgkVc1653jKYF4onwp6PDK58IKIHikPtTA8bsngPXXhirwl/Lj2T9NdCjplU45 Zdh1ScncADWcZh0oLCceuV2uZnw1/AreBZgCc5AX0WJI+ywmUOYkAh5D3CItvOi2fBcI QX2I6Cg+QAhFCx4xRQ65U5eFoLFPXVEcgW/VlWZeypmdC5GYTUuM27kkN3GNTQU637AW HhAUjGQiWJacFqzvSv6kKfeNFQbU8wcAVZTTQwb0qq/TecknCKWeOnIio20ddQpx1iT0 S8mg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2si28658151pgq.170.2019.04.12.22.19.57; Fri, 12 Apr 2019 22:20:39 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726981AbfDMFRX (ORCPT + 99 others); Sat, 13 Apr 2019 01:17:23 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:55972 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725789AbfDMFRX (ORCPT ); Sat, 13 Apr 2019 01:17:23 -0400 Received: from [192.168.1.13] (c-73-128-14-11.hsd1.md.comcast.net [73.128.14.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kumba) by smtp.gentoo.org (Postfix) with ESMTPSA id 480A6340F00; Sat, 13 Apr 2019 05:17:22 +0000 (UTC) Subject: Re: [PATCH 2/3] rtc: ds1685: use correct device struct to get platform device struct To: Thomas Bogendoerfer Cc: Alexandre Belloni , Alessandro Zummo , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190411143323.20945-1-tbogendoerfer@suse.de> <20190411143323.20945-2-tbogendoerfer@suse.de> <20190412101106.GU3578@piout.net> <20190412134459.446ef705c86aa1c7b926abc7@suse.de> From: Joshua Kinard Openpgp: preference=signencrypt Message-ID: <462d6bfd-c91a-3c5c-1dfd-69d8b48449e6@gentoo.org> Date: Sat, 13 Apr 2019 01:17:19 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190412134459.446ef705c86aa1c7b926abc7@suse.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/12/2019 07:44, Thomas Bogendoerfer wrote: > On Fri, 12 Apr 2019 12:11:06 +0200 > Alexandre Belloni wrote: > >> Every patch need a commit message. Maybe you could indicate that this >> never gave any issue because parent is the first member of struct >> device. > > I'll update the commit message, I get a nice stacktrace because of that > bug, so the path from work_queue calling ds1685_rtc_poweroff never worked. > > Thomas. I'll wager that's why the thing stopped powering off my Octane. It *used* to work when I wrote the driver, but stopped after some unidentified point, and I never found the time to try and track it down. Which machine are you testing on, out of curiosity? -- Joshua Kinard Gentoo/MIPS kumba@gentoo.org rsa6144/5C63F4E3F5C6C943 2015-04-27 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic