Received: by 10.192.165.148 with SMTP id m20csp2469201imm; Sun, 22 Apr 2018 07:41:33 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Oo4f1QdKzQiI9RfxdXx4WVYAFLI0GcwOTYX2gWTMYzBMLPKTOKKVIvojbGuY0RhkTdBlK X-Received: by 10.98.84.7 with SMTP id i7mr16663320pfb.174.1524408093764; Sun, 22 Apr 2018 07:41:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524408093; cv=none; d=google.com; s=arc-20160816; b=Ahbn1dWlJJsT1vfu9H6sJs20/Z4f/M8g2AVn5xoiM6Hf6YbKunWDlsxzqDixB9SFkA SJ3CH/rD25lW0lU+aGthCN43wcRaUm9wFixpAtNE2dM6ywoSD2+pNX84sbF1UwKutSb2 vy7ZlJ9ngvBL7ZVkEQmMHn5efI0ZS6JPCaZe/B32P8X16knQLy2Jz0lS/zjGKU1QnKmY ZxOkKivW4Gc35oaF3orf9i6aM9CjCQ+PoT31ngOChLeYhLXQ+Pin1QbcD9cv4M6n1iHY pYXW1wZp+F7VCMiQaZDOgx/s93mSqurJAhCib5GsPag0fc7bPPmk0cVemgVabaBjPiMy ADhA== 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=09baIaYXAnr5gJaLZ/PnuarlOSliItqsDJCOs6oUGdQ=; b=XvSP73nnTQKSzb2ZjKmsMUcQLnZjnfHc/YI5u44DnQ41E0Th35YUNH54nrblU3cCuh RM2LW+6S8+Ly2wNYhBMckx6uwCWaanTtQP0IP4ptMEO65oK4/7SgVJlR0FgJgsfc8Cgw pjJ/ABpf4q9FbEcsn+mzSdHqvtm2yEzwzJIicAesy7M6lReGxAjiTBM0r20VlEB3QHQq wn4UmIKQDVEID93D1AF5D9PAAJCDdeMdnA6ZhbPFAhBjAe6AcOl8zkGAeGnfhAJzyO5C 4vPP8Gt39O8U7+uBj/L8asAOHCeIaDPpnSJFqp10sYysuFQBAVEYCzmRud6ol481YMHj 4CLg== 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 g62si8119865pgc.693.2018.04.22.07.41.19; Sun, 22 Apr 2018 07:41: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 S932292AbeDVOkM (ORCPT + 99 others); Sun, 22 Apr 2018 10:40:12 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:58696 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757152AbeDVOSE (ORCPT ); Sun, 22 Apr 2018 10:18:04 -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 4E493CF8; Sun, 22 Apr 2018 14:18:03 +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.4 64/97] watchdog: f71808e_wdt: Fix WD_EN register read Date: Sun, 22 Apr 2018 15:53:42 +0200 Message-Id: <20180422135308.788149774@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180422135304.577223025@linuxfoundation.org> References: <20180422135304.577223025@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.4-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 @@ -450,7 +450,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);