Received: by 10.192.165.148 with SMTP id m20csp2525404imm; Sun, 22 Apr 2018 08:51:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx482zxYZwxJfKuSha8nhetipd60lMSfr0BP2ZXZSDTSQs80+BTP9pdJSDuEyTXo37o//8Xqh X-Received: by 10.101.82.68 with SMTP id q4mr6607943pgp.201.1524412302173; Sun, 22 Apr 2018 08:51:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524412302; cv=none; d=google.com; s=arc-20160816; b=YXkCUQCaikYTmGZcNHAzCy3miEmNeVTxTYoXWZQaRjxuvZIfufplPjR7XVXubSgK2E ixkiIPdAC1xJMtq99CgfONm/7c6q46W2gzIGyXkHLdQaaxEVf/+xyCphqPmF9kSp43l5 RJmiZGa6ev+D2lOAVbz7U1nVMNCFrY7ESl8S2zZ+jb88iKVwcuKTiPMU0aMjumgS6Rb+ mbe3bjVpnlq2EK/C1zlzQNW63ct3RKh15rcOeEAe9ULQQvTnxiN0v/uVIrRI8ujV2YmP wQ2qRhA7aF/pDAbNeifjrBx05AATBD5+7qr01jjPSiwYdzgcO8SpZ2Keo1rYb8UHyYFt xAiA== 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=aExTl1t5woXD5tGlN6dJIN/TGlJOE7E/KI5HOQ4kVoA=; b=qGBp+8LCD/UjjI4Wq5j/muk/IZ0yi93QV3gYiOri8TVWzIhX3DALXSOn2sC1lcDIsT NMGzUi6nbDs/UUTWvYVDdNY4NtGWHoZGWBeUVPkVwatZ8unCEsZlOSuKzl1yJEaQjmJB bSXbrr0E4wBEtRKM5tvz0xiPVkgvGbDruuywIgtCE3VtB1sxfKaiFiUHoTU+70pYKN7m sZenxa/5cPGH2bZJCJ+44/ON6+Tmg+MvNwEGH+uIbqizrOTm2DkDB75CUr5bOsh+jDpQ RU758tr1RyNgDCBlzgD0KbLt68kXjAzB5Uj/Zk6j0uBv1m3UQua/IPaEC3TYIARRzlb0 9yLQ== 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 h5-v6si9682179plt.109.2018.04.22.08.51.28; Sun, 22 Apr 2018 08:51:42 -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 S1754682AbeDVOBO (ORCPT + 99 others); Sun, 22 Apr 2018 10:01:14 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47788 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754648AbeDVOBH (ORCPT ); Sun, 22 Apr 2018 10:01:07 -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 1F16B941; Sun, 22 Apr 2018 14:01:05 +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.16 149/196] watchdog: f71808e_wdt: Fix WD_EN register read Date: Sun, 22 Apr 2018 15:52:49 +0200 Message-Id: <20180422135111.941117560@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135104.278511750@linuxfoundation.org> References: <20180422135104.278511750@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.16-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);