Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3040251yba; Tue, 16 Apr 2019 03:27:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyT12mIG3WwmgN1gwfkOn8sqcJOtkpg06g9ti0u+cERD1MGnOh5YVZN+e2TXK2rlJ4oNAs+ X-Received: by 2002:a17:902:be0a:: with SMTP id r10mr78588378pls.4.1555410465873; Tue, 16 Apr 2019 03:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555410465; cv=none; d=google.com; s=arc-20160816; b=jeNvhFljlontbeTcwf/+AiDz0SicotRqgaWE8KkCZgvDFXKiqn1dx1kgQrl0KxArtV fnHQSi8qRqRN05I0RGPKdwlJyalq6EJpfWrOPjYKYGSvCPFRjT18ClBLVIjfIpJQsI7y IdUZHV7VViDRu+gzIjrqczrIDu/jYGFZk/gA8BR1Yz5JvXW3H/frCETYXW8/agoH09H9 tLOUAOm1up0CngyJb/x5K72Lxm5xQiKxKKxIwKbsE6yKLnrx3NDAQX+w1NIL+Val/NQ7 lfBp6dK4Vdg2j7VOeWCMAgvAkDH7DRkp+HfloeUx85l39WPjDGv9KDpcIuom+tfRh4dR +Jgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=xD/GzwiJlnOz1zM3ofXqYzBXrV5FWuNC4W0BBWY2LnU=; b=Jsg3Jb60BaBqCrvlJBGlPBsPbiSgSNVmg45zV92aTr0X//JU2H4ttlYJWg+rjGXaYO P3XTpxE70quLoqLWj0BEHmpiaXwtT5Jq48d3/8W1zaYdRV+Lhd2ptEOXe3i+LwGqG7Sg BQtAHchWdy/k5R8GYdql9IjktHs8M0bSDQ/TRaZTj9Bdw+k+5m7H+YytHXjTK3KBpiJI F6aJ5On0zbfBGGjbEK9TIB2BrYMauYp1pH4XRSlWbLyhQCfGFlTM7PhWNQ1ltHUAjEkj 2JxaSGTx386lbfFRIs7zAWCUFIvfMnhkXFqM74d6qikG/fh94AGdn25Z/uAcry31IV6L lniQ== 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 19si46401213pgl.402.2019.04.16.03.27.30; Tue, 16 Apr 2019 03:27:45 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729296AbfDPK0f (ORCPT + 99 others); Tue, 16 Apr 2019 06:26:35 -0400 Received: from sauhun.de ([88.99.104.3]:48692 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728925AbfDPKZ2 (ORCPT ); Tue, 16 Apr 2019 06:25:28 -0400 Received: from localhost (p54B332D3.dip0.t-ipconnect.de [84.179.50.211]) by pokefinder.org (Postfix) with ESMTPSA id 686322E358C; Tue, 16 Apr 2019 12:25:26 +0200 (CEST) From: Wolfram Sang To: linux-watchdog@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Guenter Roeck , Wolfram Sang , Jerry Hoemann , Wim Van Sebroeck , linux-kernel@vger.kernel.org Subject: [PATCH v2 06/16] watchdog: hpwdt: drop warning after calling watchdog_init_timeout Date: Tue, 16 Apr 2019 12:25:05 +0200 Message-Id: <20190416102515.12269-7-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190416102515.12269-1-wsa+renesas@sang-engineering.com> References: <20190416102515.12269-1-wsa+renesas@sang-engineering.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The core will print out details now. Reviewed-by: Guenter Roeck Signed-off-by: Wolfram Sang --- drivers/watchdog/hpwdt.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index ef30c7e9728d..db1bf6f546ae 100644 --- a/drivers/watchdog/hpwdt.c +++ b/drivers/watchdog/hpwdt.c @@ -311,8 +311,7 @@ static int hpwdt_init_one(struct pci_dev *dev, goto error_init_nmi_decoding; watchdog_set_nowayout(&hpwdt_dev, nowayout); - if (watchdog_init_timeout(&hpwdt_dev, soft_margin, NULL)) - dev_warn(&dev->dev, "Invalid soft_margin: %d.\n", soft_margin); + watchdog_init_timeout(&hpwdt_dev, soft_margin, NULL); if (pretimeout && hpwdt_dev.timeout <= PRETIMEOUT_SEC) { dev_warn(&dev->dev, "timeout <= pretimeout. Setting pretimeout to zero\n"); -- 2.11.0