Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp49841pxb; Fri, 15 Jan 2021 07:23:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJzzpv0ufN/+AEQUu/rOBStQsiWCCCccY/WcBotX7KifD4yJwmT+hvdRHysABAvZrq+50jCR X-Received: by 2002:a17:906:e84:: with SMTP id p4mr9493103ejf.141.1610724185672; Fri, 15 Jan 2021 07:23:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610724185; cv=none; d=google.com; s=arc-20160816; b=ERSe+B00FCt2tSpghD6RC9lzGfCxLpnCTiE5Bk/wvQu4rMfiQP+od7DADi1MWVl2EV b0aPQyfS1WsWxGPeOR2BaYpZ22nh/YkU+hc5YjCHbL1yQAEt6zUnmnLJpzEI44IK//Wt 6Bimq7UJ3rYVlvOfadybGNKao02RFPmkwwfIEr+0XWTtPVGFj1WHRUzlJ1dYrmC7MfUZ KlCBFPVOGnAfD5jBSC3iRuriBHLSoVc1WPqSmoY5q48acLntGiB4MhzYAIajWeX2wMHN JWb8k8QJKg6cAaNcj5CYpkdPbAgZQhMYNmfqEo6QV4LMAl0nbUEfW/TBTTLOkIuLVDE9 UZQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=3uR+I0h5etCdkQ5pxMl4CzHqVZjl3PDrBNz6MGPKJ9c=; b=Etg4Q9E3HBsX1g37677nL3wNkv51aXS4TOgr28WKJQQ7W5/9eEgsVTQgTGfdHx5y2u sOFX3uoq6RlFgV06Ymbg2r3KQcrjrwdUlQCYr34leX+NsjMmlDXJP9KX+7OK0tnRigmo p1rvV5rMNtEqRMogHz9Gcf+2S9q9bKcKq0K9iErDV2B4lqlcWS1pxF+luwpIzK/Ab8W2 WX3diMtq6N7nHBsz1l83ka5vD0t7i0mpynPv7P5qRiiq4nBumox7pz1/P5vfmPNW30ez d2adPJvTDzp343z8OrNwz0933qdwlLCmiAU/UtEcu7K5GcZhnUxP3MgTfoGln37uyuHc X0Nw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u14si4128174edo.600.2021.01.15.07.22.41; Fri, 15 Jan 2021 07:23:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729056AbhAOPVr (ORCPT + 99 others); Fri, 15 Jan 2021 10:21:47 -0500 Received: from mail-wm1-f47.google.com ([209.85.128.47]:37150 "EHLO mail-wm1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725946AbhAOPVr (ORCPT ); Fri, 15 Jan 2021 10:21:47 -0500 Received: by mail-wm1-f47.google.com with SMTP id g10so7917913wmh.2; Fri, 15 Jan 2021 07:21:30 -0800 (PST) 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; bh=3uR+I0h5etCdkQ5pxMl4CzHqVZjl3PDrBNz6MGPKJ9c=; b=Ty/Z3Dyj0Z5ylylvNvbdFedWlQU2H+eFjLzp50bF0JDHLQmLUN/ztZzjeLVKPVGR7G 6mzHx+lzhNFMDS7jvjq848R+i0lNMqva5Q0UrLsC29vytDmYorornhuAWrXqxCKapu62 7bQ9F4VkB1Y5FxILWlEPpsJn/GLcIadredNBdfwEtHd8ZF6Chxm/74dyS70wQS4rV+0Y CToRH2HCkYVX52AfCRsHFZNPwBbPhMNqZWIKWb5oHcmyQEwW3IPRwT3ysuCl2IVfFMeT j4YmQHOYpgQ3hAXf57vWf3QZQPIh7jVirdvCk29SQTpQtrb/Dp/ytknsT9y+CTESD3nI bkdw== X-Gm-Message-State: AOAM530e5VSQ2dQIg0aqYP9+DB/RlUwQH5Fil1UqNlTVqyLutzK8lc+V 22UYp0TSz+0X+Fb0APC6oLw= X-Received: by 2002:a7b:c31a:: with SMTP id k26mr9072341wmj.72.1610724064898; Fri, 15 Jan 2021 07:21:04 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id v6sm2531535wrx.32.2021.01.15.07.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 07:21:03 -0800 (PST) Date: Fri, 15 Jan 2021 16:21:02 +0100 From: Krzysztof Kozlowski To: Bartosz Golaszewski Cc: Bartlomiej Zolnierkiewicz , Alessandro Zummo , Alexandre Belloni , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-rtc@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH v5 3/3] rtc: s5m: check the return value of s5m8767_rtc_init_reg() Message-ID: <20210115152102.GA43368@kozik-lap> References: <20210114102219.23682-1-brgl@bgdev.pl> <20210114102219.23682-4-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210114102219.23682-4-brgl@bgdev.pl> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 14, 2021 at 11:22:19AM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > This function can fail if regmap operations fail so check its return > value in probe(). > > Signed-off-by: Bartosz Golaszewski > --- > drivers/rtc/rtc-s5m.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof