From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 34F03A04BA; Mon, 5 Oct 2020 10:14:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 14FB81B69F; Mon, 5 Oct 2020 10:14:08 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id DC3D01B67B for ; Mon, 5 Oct 2020 10:14:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601885644; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wv6rjae051teiydmiLQr8I9cGwp+A8OcZdCgr3LvZ2c=; b=a3yseiMqP1n4imaJaUebnj0sAIvLxktnwDXefj5QlpCK8kXqnLPj1x0+qS/QqnXKkYoWoR 6cyso3IeYleQcy2X4LGIklQeIaqLwScKcJOM8DaMEPQXi9Xp/VqjNBTKCooFbWh3dwXhph r6juAnyZZUDub/fglJP9AV5ylKgXoCY= Received: from mail-vs1-f69.google.com (mail-vs1-f69.google.com [209.85.217.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-392-8II7MMrCMKKDRkMyJGQjGQ-1; Mon, 05 Oct 2020 04:14:00 -0400 X-MC-Unique: 8II7MMrCMKKDRkMyJGQjGQ-1 Received: by mail-vs1-f69.google.com with SMTP id n123so2591813vsc.12 for ; Mon, 05 Oct 2020 01:14:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wv6rjae051teiydmiLQr8I9cGwp+A8OcZdCgr3LvZ2c=; b=gCsd3DWIXQSVaBh93Dlp2nE7So6eTsyBit0z81YNcjtomAjQJzC8kGphYMANE5ATsw O+J5C7G9YM7DmLs5hyZg9+ULvEn+4B0QxOJvG1vE7OobvE7kWEI9L3vri1gnYAlrmQyN vPYrBRVjJc4D5STC/zy1HxnCrQ+CZNEopYnYQX08eRohHua46tCcZMVuUhIPs2vvMEUg H4tWvwVCeUSIYHbDTXHBkmM+L6yDDlh9/izTreLO7Sn6Eby3+oVMh66myw+rllgCsR3s 2og2WR0+NZlY1d4Yse5/fL1+Axiqkrm9+SVCP/x1r9HjlJtCLNqhfKDv0sBbYJMy1EcC Kbfg== X-Gm-Message-State: AOAM530X9ONYVeHVqV2RJ6MkttfNAx0zb59NgbdgX8Msxfda/ACZbF3i lkRsm9Ja+RCDwR9Ug25z+rqNA2mCZrq+fJwHc6QaRX6GSiXaepmTm1f3Vr1wCV91LEBsO444YP4 FSmHkU1zNO7H3XeGGY9E= X-Received: by 2002:a67:fd7a:: with SMTP id h26mr6885760vsa.27.1601885640248; Mon, 05 Oct 2020 01:14:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEr7j4mSwyj/TObJabGDvsnq3lhbXFVV9LYEGAtegW+rG7d+diQo4jb4HahVTyznkPlYbTbUk39Sw8IuQNKeM= X-Received: by 2002:a67:fd7a:: with SMTP id h26mr6885754vsa.27.1601885639894; Mon, 05 Oct 2020 01:13:59 -0700 (PDT) MIME-Version: 1.0 References: <677e6331b63389275fb1b1009fbea5642028e506.1600259975.git.wangyunjian@huawei.com> In-Reply-To: <677e6331b63389275fb1b1009fbea5642028e506.1600259975.git.wangyunjian@huawei.com> From: David Marchand Date: Mon, 5 Oct 2020 10:13:48 +0200 Message-ID: To: wangyunjian Cc: dev , "Burakov, Anatoly" , "Lilijun (Jerry)" , xudingke Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] vfio: remove unnecessary explicit type casting X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Sep 16, 2020 at 2:42 PM wangyunjian wrote: > > From: Yunjian Wang > > The variables 'vfio_res->nb_maps' and 'i' are of type int. The type > casting of 'vfio_res->nb_maps' is redundant and not required. > > Signed-off-by: Yunjian Wang Acked-by: Anatoly Burakov Applied, thanks. -- David Marchand