Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1163501pxb; Fri, 21 Jan 2022 11:11:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxg2eEYEBG+FZDnUvrYfo5ZHm6CjHJWWfE5u8OAz73SG42kzTKfG4ajE9rzVHs1klPxNJHL X-Received: by 2002:a63:8f09:: with SMTP id n9mr3907896pgd.38.1642792310150; Fri, 21 Jan 2022 11:11:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642792310; cv=none; d=google.com; s=arc-20160816; b=SKuUhQTRqsNlJWaBgybYc0QkAqEU+xynWFMtvb34roC+Xx+To4+ranVBvN8PhNPEw4 YjM+ksOV9di0pR8KGIk722cCFeNXMmRc20yEFnN9up05q4tqTBV2PWUiek7/LrGHKa4e rqBuAfP5Ty4+/kRRp86lhVUsUgEM6AAHwgEYCsNHEmQaSPTQuVqRmx7i3MVzvN09kjfb B0T3Q8m1B4fMdaYGWPOA2HRDfw2RrQg8szwzjxMiIJqYh5DrgA4sEEbBT9q7h2UMW+Xz iBBChp6AHVCLhmwrPywX/BcAW7FyxsNGxcsd6pyMaIQAfZ6E4Tkh3ywXJORo8hKm7uy3 Ldcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1+B4sq8/6TEaBWgWEnV3mLAtHSqc2KRS8IDGfcK24Xo=; b=vQm+xUFilENOSAbuQjba27r6D68+YYL/HzTPn3TPwTWcEjg1OFf5hD6VYXGYI0I27D Zo6X6dHiF+8pPJByJgHq6c1UbBTIzHk1TLp4DMMaYXUrjfdrei06AjxyaHCiMjLPVfz/ tHJT5zqzW5MTVEFSuLliqlxvFnDXRmbelE26kbJAZ2Npemf1HRpBtXmj6I2xpYmEPKUs OcxB5Jd+20URq+4803bJhQkTTw1LqnZh97aOvOZVzP79ZUg0mNE2eBDPHjxcmqB2ygSP 8TSVcR6ZX8uY8t5QIgfZ/lqI6glzBFQwzZWbQzB0KLKULqHLEhEciVzsnhfQJLyb8FJC zabQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=n8nJ15XT; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y1si6561538pll.463.2022.01.21.11.11.37; Fri, 21 Jan 2022 11:11:50 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=n8nJ15XT; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354260AbiASLmF (ORCPT + 99 others); Wed, 19 Jan 2022 06:42:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236274AbiASLmE (ORCPT ); Wed, 19 Jan 2022 06:42:04 -0500 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5845AC061574; Wed, 19 Jan 2022 03:42:04 -0800 (PST) Received: by mail-ed1-x52f.google.com with SMTP id cx27so9989980edb.1; Wed, 19 Jan 2022 03:42:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1+B4sq8/6TEaBWgWEnV3mLAtHSqc2KRS8IDGfcK24Xo=; b=n8nJ15XTj9DsA1iPCd3e/D3UZrS/N4+PGtIrYUgw7kROEgh1GxwowG6HwoXX05BAWO sGHJLzDS1rKJs2Zq9cY3XgtXlLUMtVgVUwQDxzzNEx/xehkXRQCxquUBWZYqfSiP9hE/ Gtazz9zgEhcnGsHP4RzwMwa5/D7CrJQeQUnFLOsfwcucW4paZmomSPA5K9m3KEoj1Aon JYcDxhzUyq/FmN7uF4ivkqMna+1myZndfJNRlBkO9Sk17KACxC3VStABrGHFzVveCUE7 8mo7rZWl+ruqq0X4iZ+2adcfVUZyvYfv98Z0qxROLZ2oZNgpL2kZ/kZ1hgIK02YA9UTG 3QNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1+B4sq8/6TEaBWgWEnV3mLAtHSqc2KRS8IDGfcK24Xo=; b=OsPBZXGMcv2utlYGGjKUF6dKR6kUvsu2qlGOKQw7DCAgU3fnzkTQIc3Ou3J7CTlJHr Zv14AM12bIv0STKM9XiWZEl/ChcYKv6q3iAZdKz8pCoNMD4Flr7GayKbHoyPSX5JSwuJ yrrnHtKUwmgUrZ/hzz8FdfNAiZ/rLmsOSLP8TK1VL0KReFFDosCwtwiER2TeFJrK/DmA WxtQlyWLHRbC3ED8hx+1JxJSTVa+duy29aP8ivB4rr3kq88ZFp7ls9yRfuZVsPn3fNZH nIvTSOLvrzPAwDpm1xwbdMJRCZJkqgjZ54Ouv0JnPlpBLxfj44BJ8Hz/NHvNcAjMgS2Z BP6g== X-Gm-Message-State: AOAM530qBGwCDosPGICgCx+nYtTXmoocuToI+mEpqWSjEM+6MHrE/82F aFioK0zf7x3ks3P+rPsm/cjT3cMfTbeBoCFJrtw= X-Received: by 2002:a17:907:968c:: with SMTP id hd12mr23728698ejc.639.1642592522875; Wed, 19 Jan 2022 03:42:02 -0800 (PST) MIME-Version: 1.0 References: <20220118202234.410555-1-terry.bowman@amd.com> <20220118202234.410555-2-terry.bowman@amd.com> In-Reply-To: <20220118202234.410555-2-terry.bowman@amd.com> From: Andy Shevchenko Date: Wed, 19 Jan 2022 13:40:20 +0200 Message-ID: Subject: Re: [PATCH v3 1/4] Watchdog: sp5100_tco: Move timer initialization into function To: Terry Bowman Cc: Guenter Roeck , linux-watchdog@vger.kernel.org, Jean Delvare , linux-i2c , Wolfram Sang , "Rafael J. Wysocki" , Linux Kernel Mailing List , Wim Van Sebroeck , Robert Richter , Tom Lendacky , "Shah, Nehal-bakulchandra" , Basavaraj Natikar , Shyam Sundar S K , Mario Limonciello Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 18, 2022 at 10:22 PM Terry Bowman wrote: > > Refactor driver's timer initialization into new function. This is needed > inorder to support adding new device layouts while using common timer > initialization. > Co-developed-by: Robert Richter > Signed-off-by: Robert Richter > Signed-off-by: Terry Bowman > To: Guenter Roeck > To: linux-watchdog@vger.kernel.org > To: Jean Delvare > To: linux-i2c@vger.kernel.org > To: Wolfram Sang > To: Andy Shevchenko > To: Rafael J. Wysocki > Cc: linux-kernel@vger.kernel.org > Cc: Wim Van Sebroeck > Cc: Robert Richter > Cc: Thomas Lendacky Please, do not pollute commit messages with this rather unnecessary list of recipients. There are (at least?) two possibilities: - use --cc and --to whe run `git send-email` - move them under the cutter '--- ' line below > --- > + val = readl(SP5100_WDT_CONTROL(tco->tcobase)); > + if (val & SP5100_WDT_DISABLED) { > + dev_err(dev, "Watchdog hardware is disabled\n"); > + return(-ENODEV); Missed space, too many parentheses. > + } -- With Best Regards, Andy Shevchenko