From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 02 Mar 2016 00:54:42 +0100 (CET) Received: from mail333.us4.mandrillapp.com ([205.201.137.77]:58633 "EHLO mail333.us4.mandrillapp.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27007431AbcCAXyk09wtJ (ORCPT ); Wed, 2 Mar 2016 00:54:40 +0100 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=mandrill; d=linuxfoundation.org; h=From:Subject:To:Cc:Message-Id:In-Reply-To:References:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; i=gregkh@linuxfoundation.org; bh=jXUWb+ZNafWuFCrhk0HuQZUJ4Fw=; b=EL5mYhxJ9XAZysQ6L4Iw8AS3dTxaMdxPnPwuybsf8fC8HqcoftjiirzJK7leMeQIj8m66ojyyG4O qXuG6nUV4mbaZACQ4efNItkacZ8G3oakTdjdS3R0zwG0a/WksZA6bw/Uflx0kXiuiZ56MzMtUCXb 2bR4uQhGx0mDtKx06xo= DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=mandrill; d=linuxfoundation.org; b=bTnGA5RjVDZF8PBP+gbkdUI8Z02tFtjGPBOFOFCSj17KQ3/GLR/sRkfyD2z4BK29sYVNSaBy+4c6 P5KwI6OYVsAWHnL4IA0jXaWWVLfV0Jt4ZKmpcnUkEYjg3mmdBQWqeuLbDjy9vqGl9sWPFuSzh4og HzINegBHaKqRxBZQJHU=; Received: from pmta03.dal05.mailchimp.com (127.0.0.1) by mail333.us4.mandrillapp.com id hqols0174non for ; Tue, 1 Mar 2016 23:54:34 +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=1456876474; h=From : Subject : To : Cc : Message-Id : In-Reply-To : References : Date : MIME-Version : Content-Type : Content-Transfer-Encoding : From : Subject : Date : X-Mandrill-User : List-Unsubscribe; bh=ioGUREcHpYqDP2atzdku/ztJSEMFle5xDztXm2Fa/k0=; b=SoJcFJXGSsqVB4tUD/ZBwxqEgAyKB1IDygvMLoBgXb8YNSZxQBzUFCIyjXw9Dlj2DeoY1E bNvm9di0/DLmxLytzihwWzfd5gDfAF9E059dvBJW24IsoJfoCISwGLFj3y9VQEm0BzjgIDGM acnyVLs9UFdh/8TtUGOvqd1dlLlQk= From: Greg Kroah-Hartman Subject: [PATCH 4.4 154/342] Revert "MIPS: Fix PAGE_MASK definition" Received: from [50.170.35.168] by mandrillapp.com id 18e89a87add34809903f44b695655e92; Tue, 01 Mar 2016 23:54:34 +0000 X-Mailer: git-send-email 2.7.2 To: Cc: Greg Kroah-Hartman , , Manuel Lauss , Dan Williams , Linux-MIPS , Ralf Baechle Message-Id: <20160301234532.951366305@linuxfoundation.org> In-Reply-To: <20160301234527.990448862@linuxfoundation.org> References: <20160301234527.990448862@linuxfoundation.org> 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.18e89a87add34809903f44b695655e92 X-Mandrill-User: md_30481620 Date: Tue, 01 Mar 2016 23:54:34 +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: 52401 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 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail333.us4.mandrillapp.com ([205.201.137.77]:58633 "EHLO mail333.us4.mandrillapp.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S27007431AbcCAXyk09wtJ (ORCPT ); Wed, 2 Mar 2016 00:54:40 +0100 Received: from pmta03.dal05.mailchimp.com (127.0.0.1) by mail333.us4.mandrillapp.com id hqols0174non for ; Tue, 1 Mar 2016 23:54:34 +0000 (envelope-from ) From: Greg Kroah-Hartman Subject: [PATCH 4.4 154/342] Revert "MIPS: Fix PAGE_MASK definition" Message-ID: <20160301234532.951366305@linuxfoundation.org> In-Reply-To: <20160301234527.990448862@linuxfoundation.org> References: <20160301234527.990448862@linuxfoundation.org> Date: Tue, 01 Mar 2016 23:54:34 +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: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Manuel Lauss , Dan Williams , Linux-MIPS , Ralf Baechle Message-ID: <20160301235434.tOeqDAtmSKnEupmK2XKzQAINuTJzt2010mPHqdk1AaM@z> 4.4-stable review patch. If anyone has any objections, please let me know. ------------------ 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756492AbcCBAtw (ORCPT ); Tue, 1 Mar 2016 19:49:52 -0500 Received: from mail333.us4.mandrillapp.com ([205.201.137.77]:56744 "EHLO mail333.us4.mandrillapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755991AbcCAX4k (ORCPT ); Tue, 1 Mar 2016 18:56:40 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=mandrill; d=linuxfoundation.org; b=cvL1AiN6ksiEXF5CA7WvjtSrLm83W0YPLy5vFbajoFCcXtzUkREtSrd1qzFGIj4/JroSdpWPWGJN rAECmT0BuREbvNcGBqdwK9JI/Cj5qVBpI2r+8VFPjaVgeYamAPoa+tBMdTr3yXek6uiwlVDd5JVJ KXapB9IYVPA7HbL17x8=; From: Greg Kroah-Hartman Subject: [PATCH 4.4 154/342] Revert "MIPS: Fix PAGE_MASK definition" X-Mailer: git-send-email 2.7.2 To: Cc: Greg Kroah-Hartman , , Manuel Lauss , Dan Williams , Linux-MIPS , Ralf Baechle Message-Id: <20160301234532.951366305@linuxfoundation.org> In-Reply-To: <20160301234527.990448862@linuxfoundation.org> References: <20160301234527.990448862@linuxfoundation.org> 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.6ba411b099aa42faa08e6d56130d5fc1 X-Mandrill-User: md_30481620 Date: Tue, 01 Mar 2016 23:54:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org 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: 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