Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6466052imu; Wed, 14 Nov 2018 01:48:52 -0800 (PST) X-Google-Smtp-Source: AJdET5dqCRne/8y22dCYm0qob5hbMxCa3+1Afljr3+ZQwu1ogKGDAwiZLVAFJbXmfBid9z8m0iUI X-Received: by 2002:a63:134f:: with SMTP id 15mr1093205pgt.19.1542188932151; Wed, 14 Nov 2018 01:48:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542188932; cv=none; d=google.com; s=arc-20160816; b=KMNHqHCoEfu+W5oRjT4pDIXrmU6biQaY0auTmRdx06jCLJAyRgZm4ZCb3e9CSy9/C3 f+Gf3SlMf2W5iGhd4AO77qzQSbGUmwrrjPJD+Ugrxmo/Z0dJgsdzyxZhEN3Ob2RcwaY5 zbK9rnE6YMHP1xo4gXtdderhKjZq5rUU+6s4C9G80ckMrVVJEVKLbi1+G9HX2YumXMFj OReBxmFHeCzbIwCDtjXQo1WkmfsJ4E1Lryhbiq8FJrA0jAgbqWMtjLe3o3cXG9GN3dHc nqDJvF2Vvr4EE0YsQXMqKHgwCxZJXjuE4RA0qMxpZvUjFyo839c17QXefidmMtBl4FL3 V31A== 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=9DSuaTaZhdXohQ/R88gkmS1r6rUzs1bEoF1zf1oflKA=; b=wU3p349iHd9D0uEGulfvvSvDHH9+UwNQaDbRBvxGrUYxZDJ3JB8gVNuKe5VpvMN/Q5 Ce6BLR6XpBQzJuuz0JPX/1BNWZK+6aQwREXv7aeD5KtThDExoXfvfSHlUg2VoOqWuu05 dfRhuoLe7mFXrXXeWKwmeO2F8ZjHxqzTXMUN4JGzFtDfJmd8SviG3n3DLluo79Yhcetn JS9E0YkRf5bGYJJE5tSjcSzNOAwHb0WwcmfZb2fDBVBg+nnsWtThOiSWAyCtcSpTEeN/ auOfehT9HdX1diwHdSCX6Ce90JMcDMXcQs5lu1c52CjgyjlOdsM4HFJ4Jhk3N+N6pWQz WcXA== 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 b25-v6si7074916pfo.240.2018.11.14.01.48.37; Wed, 14 Nov 2018 01:48:52 -0800 (PST) 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 S1732512AbeKNTun (ORCPT + 99 others); Wed, 14 Nov 2018 14:50:43 -0500 Received: from mail.bootlin.com ([62.4.15.54]:58350 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727595AbeKNTum (ORCPT ); Wed, 14 Nov 2018 14:50:42 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id D368520D8A; Wed, 14 Nov 2018 10:48:10 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (242.171.71.37.rev.sfr.net [37.71.171.242]) by mail.bootlin.com (Postfix) with ESMTPSA id A5DCD20D75; Wed, 14 Nov 2018 10:48:00 +0100 (CET) Date: Wed, 14 Nov 2018 10:48:00 +0100 From: Alexandre Belloni To: "Maciej W. Rozycki" Cc: Alessandro Zummo , Matt Turner , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rtc: m41t80: Complete error propagation from SMBus calls Message-ID: <20181114094800.GU29768@piout.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/11/2018 02:39:51+0000, Maciej W. Rozycki wrote: > Complement commit 85d77047c4ea ("drivers/rtc/rtc-m41t80.c: propagate > error value from smbus functions") and correct the remaining places that > fail to propagate the error code from SMBus calls. > > Signed-off-by: Maciej W. Rozycki > References: 85d77047c4ea ("drivers/rtc/rtc-m41t80.c: propagate error value from smbus functions") > --- > Hi, > > I think this does not qualify for backporting, but please feel free to > decide otherwise. > > This change I did verify at run time to the extent I was able to, but I > didn't try to trigger artificial errors. Also the M41T81, which is the > device I've been using this driver with, does not have battery failure > indication implemented, so I could not execute the procfs handling path > (again without making some artificial changes). These changes should be > obvious regardless. > > I'll be posting further patches over the coming weeks, based on my > original effort as archived here: , > > However I have just realised they'll need another iteration before I post > them. So for now just these two obvious fixes. > > Please apply. > > Maciej > --- > drivers/rtc/rtc-m41t80.c | 13 ++++++++----- > 1 file changed, 8 insertions(+), 5 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com