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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C17EC433EF for ; Mon, 11 Oct 2021 03:14:46 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 83B3660F38 for ; Mon, 11 Oct 2021 03:14:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 83B3660F38 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6819C836B3; Mon, 11 Oct 2021 05:14:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="TPu0QKHi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E84FC836CE; Mon, 11 Oct 2021 05:14:36 +0200 (CEST) Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) (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 A39388369B for ; Mon, 11 Oct 2021 05:14:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-yb1-xb33.google.com with SMTP id v195so35764208ybb.0 for ; Sun, 10 Oct 2021 20:14:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=x2/XO4WlgG1O/xZ1mAwiS4kH90d5UqSTf4KRc4L+xg4=; b=TPu0QKHiHglODhmjzngfrbepzJ4cQy18WRl4WecPi3QxPufmcCFDNWaHd0RFo00kox 9cYxyueZUwwdSfw9LOMQhFUfAiExGzICV6uINu5zuivhEaqIaUIxR9oC/phcKpj6NUXZ UyEGpVadnT9v7t6YtWQ9zhn3azsh4SOCVLhnse8RCVKxZ1jWFNdazVIRGp19o3D2DkMg PZHNr7AHJZGCM+a6IhwzZpDshYClYx7x2yq25Gu6FAoF9Nvt+SwEquzYYmCN7xTjiO/2 ggJrORpY9BYg+3BzucZwyCosF1BZ8C840qn2TjeNZlOLmWrilsj+CYDA2VszBB9r51nM l5kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x2/XO4WlgG1O/xZ1mAwiS4kH90d5UqSTf4KRc4L+xg4=; b=x/oQli125wlIu/kcjx193Gx5mNouzksR+q8sEi/dK+hQQdcbFXpEbrz/kY4tPTj7tZ sBkAcFWrJgdE5CHCY5KoQ/n8LwUpYuAx9WqPHAXkZOpHbk+jLM9k74+2yfdd5HKCCg2j PWgO2a3nRCN7ns7kK22dNOrWZIXXTRWbWVcvJqgZI3i7LMjtRbfTPmJvj1Oqj+71Bft4 Kf6ID1AGJKHU4ATn+LmqF3FqvvR1Vj/HS757IA7i4Xa3LZyN9B8XUsYwXAPhMgoEIOnL r2eSpqtCeulSsNuy0UNSyiYW5erkK7WV0uVa+4KYCCkyWHL8qtA08OYwVILFBVvh+VM3 2+RQ== X-Gm-Message-State: AOAM532WgfCvoktYnMeFVyejfM7QAg2m6ITUe3XlvhVeR188X1JRtwMi fflkvo3XeyVzoOYcP0zNDl1+SyOCFsLTHOU0Sjv/vfY8TXI= X-Google-Smtp-Source: ABdhPJwtZ6O5AaRyg3wJklHoBvXRbIcS3u8/4YLCz+74dwFnxdcaEkB2rSDtaBcTLqmBJptKeC2Mczd6TqKsFwjeBDE= X-Received: by 2002:a25:df84:: with SMTP id w126mr18183813ybg.109.1633922072495; Sun, 10 Oct 2021 20:14:32 -0700 (PDT) MIME-Version: 1.0 References: <20210912031516.24885-1-bmeng.cn@gmail.com> <20210915034033.GB34438@atcsi01> In-Reply-To: <20210915034033.GB34438@atcsi01> From: Bin Meng Date: Mon, 11 Oct 2021 11:14:21 +0800 Message-ID: Subject: Re: [PATCH 1/9] cache: sifive: Fix -Wint-to-pointer-cast warning To: Leo Liang Cc: U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean On Wed, Sep 15, 2021 at 11:40 AM Leo Liang wrote: > > On Sun, Sep 12, 2021 at 11:15:08AM +0800, Bin Meng wrote: > > The following warning is seen in cache-sifive-ccache.c in a 32-bit build: > > > > warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > > > > Fix by casting it with uintptr_t. > > > > Signed-off-by: Bin Meng > > --- > > > > drivers/cache/cache-sifive-ccache.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Reviewed-by: Leo Yu-Chi Liang Ping for apply?