From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 01 Mar 2016 20:10:49 +0100 (CET) Received: from mail177-1.suw61.mandrillapp.com ([198.2.177.1]:23001 "EHLO mail177-1.suw61.mandrillapp.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27007550AbcCATKruanoh (ORCPT ); Tue, 1 Mar 2016 20:10:47 +0100 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=mandrill; d=linuxfoundation.org; h=From:Subject:To:Cc:Message-Id:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; i=gregkh@linuxfoundation.org; bh=c/uKRq1Lj0pHHQUs/hQNlAEOm8g=; b=fWNxXOqAAJ0fqwqbhunwzfVavzJKp4OUlI9Rk3v4RcAt1lIkifurnx5HAK4oLQPhmzJtphH6smmo cYfiM/KhJZbJSGvBacuthyMVfGVTQkEr0qUdVbucjoMTkLPu8Z/PgTGEqXsfChZSkZMlB+4Fqh2J d+SlO6+RW9O/oxcSikE= Received: from pmta06.mandrill.prod.suw01.rsglab.com (127.0.0.1) by mail177-1.suw61.mandrillapp.com id hqnkje22rtk7 for ; Tue, 1 Mar 2016 19:10:44 +0000 (envelope-from ) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; i=@mandrillapp.com; q=dns/txt; s=mandrill; t=1456859444; h=From : Subject : To : Cc : Message-Id : Date : MIME-Version : Content-Type : Content-Transfer-Encoding : From : Subject : Date : X-Mandrill-User : List-Unsubscribe; bh=9lE1y/nyGIIqDyOSUvYUNIHGsa+c4QATUVmvHmWh6mU=; b=Rir1PZzxMcrC8djkDLILsUK6YvryjZlm/HgYCtr2XGeNYBVCnJL73k1/4JJpz4lOPJfXEg zVdQzDpkjx9V/BHRPJ7+IqZoGE4vI9gHKe6kNjgwdV6VYudVZi/pbCrp5M5qmLFGqootGdWt cOiShM4tmny/bqhr607BTQzs2B5fQ= From: Subject: Patch "Revert "MIPS: Fix PAGE_MASK definition"" has been added to the 4.4-stable tree Received: from [50.170.35.168] by mandrillapp.com id b8c94b4daff54c9c8932d8518a06b2a3; Tue, 01 Mar 2016 19:10:44 +0000 To: , , , , Cc: , Message-Id: <145685944232118@kroah.com> X-Report-Abuse: Please forward a copy of this message, including all headers, to abuse@mandrill.com X-Report-Abuse: You can also report abuse here: http://mandrillapp.com/contact/abuse?id=30481620.b8c94b4daff54c9c8932d8518a06b2a3 X-Mandrill-User: md_30481620 Date: Tue, 01 Mar 2016 19:10:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 52387 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: gregkh@linuxfoundation.org Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips This is a note to let you know that I've just added the patch titled Revert "MIPS: Fix PAGE_MASK definition" to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: revert-mips-fix-page_mask-definition.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail177-1.suw61.mandrillapp.com ([198.2.177.1]:23001 "EHLO mail177-1.suw61.mandrillapp.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27007550AbcCATKruanoh (ORCPT ); Tue, 1 Mar 2016 20:10:47 +0100 Received: from pmta06.mandrill.prod.suw01.rsglab.com (127.0.0.1) by mail177-1.suw61.mandrillapp.com id hqnkje22rtk7 for ; Tue, 1 Mar 2016 19:10:44 +0000 (envelope-from ) From: Subject: Patch "Revert "MIPS: Fix PAGE_MASK definition"" has been added to the 4.4-stable tree Message-ID: <145685944232118@kroah.com> Date: Tue, 01 Mar 2016 19:10:44 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: dan.j.williams@intel.com, gregkh@linuxfoundation.org, linux-mips@linux-mips.org, manuel.lauss@gmail.com, ralf@linux-mips.org Cc: stable@vger.kernel.org, stable-commits@vger.kernel.org Message-ID: <20160301191044.yf8_xwZdMyt6gXkmVie4wx-XFQL6BfxP20cE7BN8flM@z> This is a note to let you know that I've just added the patch titled Revert "MIPS: Fix PAGE_MASK definition" to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: revert-mips-fix-page_mask-definition.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail333.us4.mandrillapp.com ([205.201.137.77]:53318 "EHLO mail333.us4.mandrillapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752405AbcCATKs (ORCPT ); Tue, 1 Mar 2016 14:10:48 -0500 Received: from pmta03.dal05.mailchimp.com (127.0.0.1) by mail333.us4.mandrillapp.com id hqnkjg174no6 for ; Tue, 1 Mar 2016 19:10:47 +0000 (envelope-from ) From: Subject: Patch "Revert "MIPS: Fix PAGE_MASK definition"" has been added to the 4.4-stable tree To: , , , , Cc: , Message-Id: <145685944232118@kroah.com> Date: Tue, 01 Mar 2016 19:10:47 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled Revert "MIPS: Fix PAGE_MASK definition" to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: revert-mips-fix-page_mask-definition.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 800dc4f49cc002879e1e5e6b79926f86b60528e6 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 22 Jan 2016 09:20:37 -0800 Subject: Revert "MIPS: Fix PAGE_MASK definition" From: Dan Williams commit 800dc4f49cc002879e1e5e6b79926f86b60528e6 upstream. This reverts commit 22b14523994588279ae9c5ccfe64073c1e5b3c00. It was originally sent in an earlier revision of the pfn_t patchset. Besides being broken, the warning is also fixed by PFN_FLAGS_MASK casting the PAGE_MASK to an unsigned long. Reported-by: Manuel Lauss Signed-off-by: Dan Williams Cc: linux-kernel@vger.kernel.org Cc: Linux-MIPS Patchwork: https://patchwork.linux-mips.org/patch/12182/ Signed-off-by: Ralf Baechle Signed-off-by: Greg Kroah-Hartman --- arch/mips/include/asm/page.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/mips/include/asm/page.h +++ b/arch/mips/include/asm/page.h @@ -33,7 +33,7 @@ #define PAGE_SHIFT 16 #endif #define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT) -#define PAGE_MASK (~(PAGE_SIZE - 1)) +#define PAGE_MASK (~((1 << PAGE_SHIFT) - 1)) /* * This is used for calculating the real page sizes Patches currently in stable-queue which might be from dan.j.williams@intel.com are queue-4.4/revert-mips-fix-page_mask-definition.patch queue-4.4/devm_memremap-fix-error-value-when-memremap-failed.patch