From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6BBEEC43603 for ; Wed, 11 Dec 2019 15:19:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 365DA2465C for ; Wed, 11 Dec 2019 15:19:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576077553; bh=k6v9ebSPCzG8fqp3o5nqMhBV4T7TyDMFqX+h2Cy5mr0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=yRp3BTXsh9ko3NDSuSWMpEAykZ7Qn1jNVe72H1V9dfbi4jCKuwxW5HlFx/EMvsfg9 R+Gxd6ciS/dWLtH6ZIX9RJcn+f7lYBv6yaI4H9h+vPGC/8hDFh3X7/SFuEUYdse9Va oHXTTigBjVgbjYB2H+8XpHS0tUu9BpXfDLiw/mlI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732056AbfLKPTM (ORCPT ); Wed, 11 Dec 2019 10:19:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:47642 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732168AbfLKPTG (ORCPT ); Wed, 11 Dec 2019 10:19:06 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C1C4524654; Wed, 11 Dec 2019 15:19:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576077546; bh=k6v9ebSPCzG8fqp3o5nqMhBV4T7TyDMFqX+h2Cy5mr0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=brNshz5pna8ePWxOPEkdktCpArrPDxxPNDY14tR1WuqBtzSfJp3mS+0GHuLuFakyX Pp+BoJ/4l6dcLuLRlQhannX1mqabnKLzbwmvePI3urquQrIQOmUCVtzcQDKkiCsuaU ZGhu2MkYV52EjZqTigibduFAcZfqXn93aCScZCWc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Aaro Koskinen , Paul Burton , Ralf Baechle , James Hogan , linux-mips@linux-mips.org, Sasha Levin Subject: [PATCH 4.19 080/243] MIPS: OCTEON: octeon-platform: fix typing Date: Wed, 11 Dec 2019 16:04:02 +0100 Message-Id: <20191211150344.509981082@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191211150339.185439726@linuxfoundation.org> References: <20191211150339.185439726@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Aaro Koskinen [ Upstream commit 2cf1c8933dd93088cfb5f8f58b3bb9bbdf1781b9 ] Use correct type for fdt_property nameoff field. Signed-off-by: Aaro Koskinen Signed-off-by: Paul Burton Patchwork: https://patchwork.linux-mips.org/patch/21204/ Cc: Ralf Baechle Cc: James Hogan Cc: linux-mips@linux-mips.org Signed-off-by: Sasha Levin --- arch/mips/cavium-octeon/octeon-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/cavium-octeon/octeon-platform.c b/arch/mips/cavium-octeon/octeon-platform.c index 807cadaf554e2..5ba181e87d2c1 100644 --- a/arch/mips/cavium-octeon/octeon-platform.c +++ b/arch/mips/cavium-octeon/octeon-platform.c @@ -501,7 +501,7 @@ static void __init octeon_fdt_set_phy(int eth, int phy_addr) if (phy_addr >= 256 && alt_phy > 0) { const struct fdt_property *phy_prop; struct fdt_property *alt_prop; - u32 phy_handle_name; + fdt32_t phy_handle_name; /* Use the alt phy node instead.*/ phy_prop = fdt_get_property(initial_boot_params, eth, "phy-handle", NULL); -- 2.20.1