Received: by 10.192.165.148 with SMTP id m20csp2482435imm; Sun, 22 Apr 2018 07:59:33 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+97PFOEeK5xZ3P/oGGd+gk2ggB+A77szImQf1UceLYWS1MduiXeNo/C0Y4gsui9AkRCrek X-Received: by 10.99.53.132 with SMTP id c126mr8320234pga.37.1524409173534; Sun, 22 Apr 2018 07:59:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524409173; cv=none; d=google.com; s=arc-20160816; b=Ms/l3nxqFta46a4E6VXNcGjU4n+YA4fJ4zzqSH7O9/2+vcOygVtqhpERC6OuHcrE+F 0wEiU76wPc9OFR5P+pqgfpnRGPPnqghqvb55/Ftda2rIa6uh3BYsH2y8G4+QpxxhsFEi 26OTqQeEgu3H2T6WmVPa+SYd18gcJ7hPqb0bNYhntr5DgXqUAT5T8YZKvCKA6fb4BWVX UJpg7NHQTWjhIVMNmNqDp/nGvbRfcLljTpvmGEMVyRgjDBwf20RiGtIxYA9T4w4JVRTo +Vqh4aqcp/KciEiVedGQk7zZbofwGPS70SP+OyottI1l9BQGmdm1QJq3pg/op3lVkFzQ K+jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=rGtqrp2d5bZMu0IRUkdJSoOcPczil1MMAC9KqE5BbSg=; b=qqilr0eFlaox6dh8IY/ohGVRXPx7RG2f9YIEqpA6yMbq9SW80Xer+oUAAbcrCknt7+ d3fNSPWeFZW+itzbqi8qvBM5byQ+A+QN8Jq6RVOFmaQQBr2lwLVYw/jsh2EPGX3Jnpq2 yu1nfeT2chBYbBYT137wWYEfpk15yquHPmkwsW5LZJcNviDVe9PTUJRoNxEbRSicNIdN VvG5NIA7D67OSA9XIe6jTFE41fT4Bpyy1lubGzkRnzPISDQtDqFYeHKeB43k1paeHiXn u7b6eq3vrwkognnn6KsVWy0HxTnXGEl9oVEyba+5oEe2XS0HPaA2YRCOUQQ6wVXp6U5P mU8A== 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 h2-v6si9490332plr.320.2018.04.22.07.59.18; Sun, 22 Apr 2018 07:59:33 -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 S1753700AbeDVO6P (ORCPT + 99 others); Sun, 22 Apr 2018 10:58:15 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55714 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756847AbeDVONZ (ORCPT ); Sun, 22 Apr 2018 10:13:25 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 2D409CC6; Sun, 22 Apr 2018 14:13:25 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Igor Pylypiv , Guenter Roeck , Wim Van Sebroeck Subject: [PATCH 4.9 58/95] watchdog: f71808e_wdt: Fix WD_EN register read Date: Sun, 22 Apr 2018 15:53:27 +0200 Message-Id: <20180422135212.796176952@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135210.432103639@linuxfoundation.org> References: <20180422135210.432103639@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Igor Pylypiv commit 977f6f68331f94bb72ad84ee96b7b87ce737d89d upstream. F71808FG_FLAG_WD_EN defines bit position, not a bitmask Signed-off-by: Igor Pylypiv Reviewed-by: Guenter Roeck Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/watchdog/f71808e_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/watchdog/f71808e_wdt.c +++ b/drivers/watchdog/f71808e_wdt.c @@ -496,7 +496,7 @@ static bool watchdog_is_running(void) is_running = (superio_inb(watchdog.sioaddr, SIO_REG_ENABLE) & BIT(0)) && (superio_inb(watchdog.sioaddr, F71808FG_REG_WDT_CONF) - & F71808FG_FLAG_WD_EN); + & BIT(F71808FG_FLAG_WD_EN)); superio_exit(watchdog.sioaddr);