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 44334C433EF for ; Fri, 22 Apr 2022 06:37:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3FC7483565; Fri, 22 Apr 2022 08:37:52 +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="TL+kTA4c"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8D23E83C5E; Fri, 22 Apr 2022 08:37:50 +0200 (CEST) Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (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 DF8E38186D for ; Fri, 22 Apr 2022 08:37:47 +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-xb36.google.com with SMTP id f38so12768604ybi.3 for ; Thu, 21 Apr 2022 23:37:47 -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=Yp5QcqkHSno1gIAGV6/77YkhUzgdSXlliAl031lttCw=; b=TL+kTA4cWipKcHTPBpCdrWV+UZ55HKW1x2ddWqHzTlV4JxvGOYu4BcbTGngWpVAeee u2CU6XSr39c3V/35FVyy9lFob4eSfvKkm4Qib1Rtb+rttJS+RK49H+EFpirbrmBx1YyI 1p6f1eSYECcSTEk+gxEaKg0H88hJhkH41kyt5iUaAz07N3YPOd9pfwzWruzXZMveGeHG OH8lWIEOP8VEhw7cFFxmdoGFqOJ5q2iRN8D7c4KyC1ibFWgyn9foNY1U/eHoLrLOO7Vc iqrAzF5+UpFmMWSCPf1I+cKEawS249wQnCut5Fl9JZOuvdJgvojBnYKrghKhyuhT35cw z8qg== 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=Yp5QcqkHSno1gIAGV6/77YkhUzgdSXlliAl031lttCw=; b=HdvqcW7mCRKGr0yNl8HUEyguaUVbksHPTc4wFoW1SkttEqZRbuaBI9Brx4/D22sBd8 9ROjeEb+AO6El+D//DaMt0pN3xyBIo3sU7SogADVFVVbOxIXfTGUX4yibROpISnEdnwO f6icBG00DYiZt2T7gnbNRFOV1AX9gyvGhqy1ZWqDUXX4R54gA4ZVF190inpbLmjzMWdp LMpP4axuNzNFYh4v9lAUGkW1JJ6n913XRG96vAqx/RSAPZElNCJAhnB33SQ0cZ+fDkI7 ByL/qvu18Ekj/1W+99zZvU2m5c53B6hxGBsLsqmlIhpUBr2kZhy3UN/NTlu7tQxas/yD MMpw== X-Gm-Message-State: AOAM533f+YAMsm2X2QaIXhSOUbLrP8hsl2BiDovuPLIrlhvykhkLFHf5 LyUkzDPoAV9cPPFIyTx+9fAEeL0lKjoPfvJMDwg= X-Google-Smtp-Source: ABdhPJymYHu443RR13PS4uCBF1vHKhLt9Ec+A+TS3fFeQ7JITecLV6ag7XPx5Ce9EcLsL9Iv+yV09f14CAC4U9RTHOM= X-Received: by 2002:a25:f625:0:b0:645:d7a7:f688 with SMTP id t37-20020a25f625000000b00645d7a7f688mr191881ybd.239.1650609466692; Thu, 21 Apr 2022 23:37:46 -0700 (PDT) MIME-Version: 1.0 References: <20220421161116.1202023-1-ascull@google.com> <20220421161116.1202023-9-ascull@google.com> In-Reply-To: <20220421161116.1202023-9-ascull@google.com> From: Bin Meng Date: Fri, 22 Apr 2022 14:37:35 +0800 Message-ID: Subject: Re: [PATCH v3 08/18] pci: Fix use of flags in dm_pci_map_bar() To: Andrew Scull Cc: U-Boot Mailing List , Simon Glass , Tom Rini Content-Type: text/plain; charset="UTF-8" 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.5 at phobos.denx.de X-Virus-Status: Clean On Fri, Apr 22, 2022 at 12:11 AM Andrew Scull wrote: > > The flags parameter of dm_pci_map_bar() is used for PCI region flags > rather than memory mapping flags. Fix the type to match that of the > region flags and stop using the regions flags as memory mapping flags. > > Signed-off-by: Andrew Scull > --- > drivers/pci/pci-uclass.c | 10 +++++----- > include/pci.h | 2 +- > 2 files changed, 6 insertions(+), 6 deletions(-) > Reviewed-by: Bin Meng