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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E30FFECAAA1 for ; Fri, 9 Sep 2022 18:21:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0F28B84B5A; Fri, 9 Sep 2022 20:21:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="T3/JthS1"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A668E84B44; Fri, 9 Sep 2022 20:21:26 +0200 (CEST) Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 1372284B52 for ; Fri, 9 Sep 2022 20:21:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-yb1-xb30.google.com with SMTP id y82so3891449yby.6 for ; Fri, 09 Sep 2022 11:21:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date; bh=9mUWpuQERJeA9dGyJQ2KWW8lKoRa+Ao5ozfRgxt0IgM=; b=T3/JthS193cek0slhQCexk12i48i2IzVSlS4/vWptA0MPYS72PZoGDw2/y9/FTEF86 rRtoAqDWiCEY1PMyXUhUkFwxDBDi3ZuegdI8aeasPJlQnXdqFdU7ROqJ81uM8zkqfzjU yCbvqC77Aat0JVip9wjAE8fz8G2nzTLhX/02Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date; bh=9mUWpuQERJeA9dGyJQ2KWW8lKoRa+Ao5ozfRgxt0IgM=; b=Aq/X0HKxX/XpzLYrBQSTUPvmA7l+KjpBeQxTKZft02T7vsTHjlUOK8qXAUmqld4TUd JZKZNL0YyXkkbPNZ2LRT1FHC+cgMPkC3XARf1Se1Id3y2rjAhCoUF3tZWp3NTkqI/Evt IKa5rXgxmCfaJW3XiL5+8irQbYB29px5+JIHwXhE1pszJGn7fWly1CMGX39tVlh5GPU/ Co/0T1BoZ0IybjsSYnAbwqhaTgdnfcmcRWU2dhduJIf5wcrKGuJNwrQ5l6/tUZ385e4r sDwSu86A6uGssE5Up5M1gI1Hd305wdtqI5KNyBduKhte76D2XA8Zb6YPMoGE7D4vaSes uoMQ== X-Gm-Message-State: ACgBeo2AAaAQUcrHI+5YRENo9mUDX2F+bhGYBfpej4DfslWpX1wLemel fyFWJdRmxMWEkgUh0n2oH7xliAvVXROHooxKPSfprw== X-Google-Smtp-Source: AA6agR5DAeS41TPGSDBUhwiCSD8MGF8nn3+ZYsSso6UlvLWXhyWVLvGjW9PdCO+EswkN+rDTvZaeYb5IZ4zJmUDL9LQ= X-Received: by 2002:a25:be84:0:b0:6ae:8eca:4fd8 with SMTP id i4-20020a25be84000000b006ae8eca4fd8mr2011741ybk.197.1662747681628; Fri, 09 Sep 2022 11:21:21 -0700 (PDT) MIME-Version: 1.0 References: <20220909153246.8455-1-pali@kernel.org> <20220909153246.8455-4-pali@kernel.org> In-Reply-To: <20220909153246.8455-4-pali@kernel.org> From: Simon Glass Date: Fri, 9 Sep 2022 12:21:10 -0600 Message-ID: Subject: Re: [PATCH 3/9] board_f: Fix types for board_get_usable_ram_top() To: =?UTF-8?Q?Pali_Roh=C3=A1r?= Cc: U-Boot Mailing List , =?UTF-8?B?TWFyZWsgQmVow7pu?= , Peng Fan , Tom Rini Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On Fri, 9 Sept 2022 at 09:34, Pali Roh=C3=A1r wrote: > > Commit 37dc958947ed ("global_data.h: Change ram_top type to phys_addr_t") > changed type of ram_top member from ulong to phys_addr_t but did not > changed types in board_get_usable_ram_top() function which returns value > for ram_top. > > So change ulong to phys_addr_t type also in board_get_usable_ram_top() > signature and implementations. > > Fixes: 37dc958947ed ("global_data.h: Change ram_top type to phys_addr_t") > Signed-off-by: Pali Roh=C3=A1r > --- > arch/arm/mach-imx/imx8m/soc.c | 2 +- > arch/arm/mach-mvebu/arm64-common.c | 2 +- > arch/arm/mach-rockchip/sdram.c | 2 +- > arch/arm/mach-stm32mp/dram_init.c | 2 +- > arch/arm/mach-sunxi/board.c | 2 +- > arch/arm/mach-tegra/board2.c | 2 +- > arch/mips/mach-jz47xx/jz4780/jz4780.c | 2 +- > arch/mips/mach-octeon/dram.c | 2 +- > arch/riscv/cpu/fu540/dram.c | 2 +- > arch/riscv/cpu/fu740/dram.c | 2 +- > arch/riscv/cpu/generic/dram.c | 2 +- > arch/x86/cpu/broadwell/sdram.c | 2 +- > arch/x86/cpu/coreboot/sdram.c | 2 +- > arch/x86/cpu/efi/payload.c | 2 +- > arch/x86/cpu/efi/sdram.c | 2 +- > arch/x86/cpu/intel_common/mrc.c | 4 ++-- Reviewed-by: Simon Glass