Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp111855imm; Tue, 9 Oct 2018 14:46:51 -0700 (PDT) X-Google-Smtp-Source: ACcGV62H+tCOPa+ihl6IqWM415OMBbKDQwKUWjQnIG1DUFaZ6QHSCb0olu1Ou0FnXSPtRCENJqvp X-Received: by 2002:a17:902:7615:: with SMTP id k21-v6mr30147649pll.313.1539121611831; Tue, 09 Oct 2018 14:46:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539121611; cv=none; d=google.com; s=arc-20160816; b=pxt/EblWKUFz2mFQIGYcAUwcuVv/x06To5VTAkFm7Rm/9xKNeeudzln5puJeSt2e6b jVeVgoHrIttSeqVxeAbU4Str4vdDQz0aqfedYDaGpJY7uAKWGmaXM0k5VpP2pUYbb0qV 1AV83dWJD9kxTRB6RLfb04e7oiqqHRlkQZi+uHM5GrqDbzkrFh/XX3mafjSUAjN6LRW9 hlfjZbEq06QxGOFAS5FYDIuhwlW+BmigFFptU3FF879i+pGOErec0FkV2a8flImwu1+t ANpxl7cE1nCAPwfBaqvPx3QroaE8D81P6/eKlbSc8BpeK1nmjccdtvoUG/K8yXUNI7RU AIjQ== 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=9YUynER2nFDXBxj1r1ahMkKmyjudWCGLZOQBEVjHmUQ=; b=BgQwtDCgc2YAminzQS0WQ+QpndPEX1f2nY8joHoad2rpzgAHtus2dVgVGEd5hETp/I HDVWLISheWotSmaIdEBEbN6vx1M1/snFWRty4+1rrRA+wlf5s2vVMtl8zSaNMNyrudzO /GODncJzz46NWe/Hbb3h6QPiO9wnnbEIT3ZeS9VbmGVyv7QkR05Jc3ZkyiIygzTXk66N nIq6x0LEC1U+dTU86vEGEw5kLp3m+KqnjAHKR3PVGMMKqOrVdVfib1lMCIqv7UGDvtwL 72Xnmh+flFSAA5BDK0hy+D090mNfck6wRzlNpD31cq0tI0ME3t/XD01iCN1Azk6puD+1 6Ijw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=TS1snP4i; 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 f33-v6si23853388plf.92.2018.10.09.14.46.36; Tue, 09 Oct 2018 14:46:51 -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=fail header.i=@gmail.com header.s=20161025 header.b=TS1snP4i; 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 S1727723AbeJJFDv (ORCPT + 99 others); Wed, 10 Oct 2018 01:03:51 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:46186 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbeJJFDu (ORCPT ); Wed, 10 Oct 2018 01:03:50 -0400 Received: by mail-pg1-f196.google.com with SMTP id a5-v6so1445073pgv.13; Tue, 09 Oct 2018 14:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9YUynER2nFDXBxj1r1ahMkKmyjudWCGLZOQBEVjHmUQ=; b=TS1snP4icMy+cq+sajRfQGYrh9MzMZvK3w0edG2yjujG/YF2+wtNTGkr83ur1euHus qLXJ1ihmkPbKvhitqTn6M4+dNAqhrpGaua8X4BNxU7g4RZgjpcfqCeyd87ekOI8kcFcO aVBQxHlYZRgDolmLPFlWUWBoiHPBIRZcQpg6zPeacgYaAExr8dkIoZCS9f4ikJ3Ro+56 GWNzoB804uudkwXV9DliaH56MrcMo09RDVDDUOHPpjMK1X5bLcFuIRYV9LIVAykBzHWj 7lUCDJc6wzHRhab7PCswdCfIvidNErBETSjeeUNRDFt6CgZ9j7DxiUdmQgzjrBaExcuY Xh5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=9YUynER2nFDXBxj1r1ahMkKmyjudWCGLZOQBEVjHmUQ=; b=MbwzIgZFb5UuvIPSEM8JbZkG4lLz+HSrKoClKOy1PhS8aZcH7spYGjQdThoHSWtYn1 aIVa2y3STSyRZNXrgn60MDsg/i39m76s309Rb/UYnY7U75ksCpq3B+N9J4wqXpqTNiWb pTfrK9ypy4c6VXziO6GCT+sJjjkkjlAorbdJnnmBEVq7bgPro9NxseRVzrWmJTL40dIq cwu6f+yOLW45CIkha7elWCi3Db7THV+mJvgiKuUE9SzpgW8kAb04C2wod7J/5MXnQ4lA NWNtrAKvvEfk9oNeZYSvXnB2grLZn75S2D4XVgjUiSRChG5PwW62a+NhysTMt5U4hlS7 1DDg== X-Gm-Message-State: ABuFfojUr/kNozbx0inlp7JqVqrBtl6LmL5HEm30P40u6gQLE8ELjExA MhirXvgQzy9UPRU2gqjYEZE= X-Received: by 2002:a62:4803:: with SMTP id v3-v6mr32788599pfa.89.1539121492885; Tue, 09 Oct 2018 14:44:52 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id n13-v6sm24059868pgr.73.2018.10.09.14.44.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 14:44:51 -0700 (PDT) Date: Tue, 9 Oct 2018 14:44:50 -0700 From: Guenter Roeck To: Pascal PAILLET-LME Cc: kbuild-all@01.org, "dmitry.torokhov@gmail.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "lee.jones@linaro.org" , "lgirdwood@gmail.com" , "broonie@kernel.org" , "wim@linux-watchdog.org" , "linux-input@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-watchdog@vger.kernel.org" , "benjamin.gaignard@linaro.org" , "eballetbo@gmail.com" Subject: Re: [PATCH v3 8/8] watchdog: stpmic1: add stpmic1 watchdog driver Message-ID: <20181009214450.GA13702@roeck-us.net> References: <1539016176-4072-9-git-send-email-p.paillet@st.com> <201810090846.it9ed9td%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201810090846.it9ed9td%fengguang.wu@intel.com> 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 Tue, Oct 09, 2018 at 08:47:26AM +0800, kbuild test robot wrote: > Hi pascal, > > Thank you for the patch! Perhaps something to improve: > [ ... ] > 42 > 43 static int pmic_wdt_stop(struct watchdog_device *wdd) > 44 { > 45 struct stpmic1_wdt *wdt = watchdog_get_drvdata(wdd); > 46 > 47 return regmap_update_bits(wdt->pmic->regmap, > > 48 WCHDG_CR, WDT_START_MASK, ~WDT_START); Maybe use #define WDT_STOP 0 instead, or just write 0. ~WDT_START may be convenient but not really correct. Guenter