Message ID | 20210924224357.vxbK4xVVa%akpm@linux-foundation.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=WfbM=OO=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1030C433F5 for <linux-mm@archiver.kernel.org>; Fri, 24 Sep 2021 22:43:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id AB396610F7 for <linux-mm@archiver.kernel.org>; Fri, 24 Sep 2021 22:43:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org AB396610F7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 57A326B0085; Fri, 24 Sep 2021 18:43:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5290C6B0087; Fri, 24 Sep 2021 18:43:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3C9796B0088; Fri, 24 Sep 2021 18:43:59 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0108.hostedemail.com [216.40.44.108]) by kanga.kvack.org (Postfix) with ESMTP id 2E1B66B0085 for <linux-mm@kvack.org>; Fri, 24 Sep 2021 18:43:59 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id E574882499A8 for <linux-mm@kvack.org>; Fri, 24 Sep 2021 22:43:58 +0000 (UTC) X-FDA: 78623946156.15.C790332 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf26.hostedemail.com (Postfix) with ESMTP id 9F56320019C6 for <linux-mm@kvack.org>; Fri, 24 Sep 2021 22:43:58 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 802CF61019; Fri, 24 Sep 2021 22:43:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1632523437; bh=3kBd8Jjyx3uP8qgInDqocUbp+J+zxapq3zaaVjVChcY=; h=Date:From:To:Subject:In-Reply-To:From; b=E4KAxqO6gYC6PB0+gbr3QajaBy5qHTVo6ljzA5fqcLODNcuZyz1xkOxPbxoKTZLwo W8Udwro9VhA6SGT+8GnDXM5g/OWRRzGkeHKl6jGob5l392k/33QSOwd3Dzi8tdtTsW l2Hy5qFaJoAj+zzqDcw68wsHDYo09D89XI0pCGXc= Date: Fri, 24 Sep 2021 15:43:57 -0700 From: Andrew Morton <akpm@linux-foundation.org> To: akpm@linux-foundation.org, aneesh.kumar@linux.ibm.com, dalias@libc.org, daniel@thingy.jp, geert+renesas@glider.be, jacopo+renesas@jmondi.org, linux-mm@kvack.org, mm-commits@vger.kernel.org, rob@landley.net, torvalds@linux-foundation.org, ysato@users.osdn.me Subject: [patch 13/16] sh: pgtable-3level: fix cast to pointer from integer of different size Message-ID: <20210924224357.vxbK4xVVa%akpm@linux-foundation.org> In-Reply-To: <20210924154257.1dbf6699ab8d88c0460f924f@linux-foundation.org> User-Agent: s-nail v14.8.16 X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 9F56320019C6 X-Stat-Signature: i7nemntsugztfm73mbaogsp556kooq55 Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=E4KAxqO6; dmarc=none; spf=pass (imf26.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org X-HE-Tag: 1632523438-699290 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
[01/16] mm, hwpoison: add is_free_buddy_page() in HWPoisonHandlable()
|
expand
|
--- a/arch/sh/include/asm/pgtable-3level.h~sh-pgtable-3level-fix-cast-to-pointer-from-integer-of-different-size +++ a/arch/sh/include/asm/pgtable-3level.h @@ -34,7 +34,7 @@ typedef struct { unsigned long long pmd; static inline pmd_t *pud_pgtable(pud_t pud) { - return (pmd_t *)pud_val(pud); + return (pmd_t *)(unsigned long)pud_val(pud); } /* only used by the stubbed out hugetlb gup code, should never be called */