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 B0805C433EF for ; Wed, 6 Oct 2021 15:09:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 89700611B0 for ; Wed, 6 Oct 2021 15:09:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239000AbhJFPLX (ORCPT ); Wed, 6 Oct 2021 11:11:23 -0400 Received: from foss.arm.com ([217.140.110.172]:35388 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238124AbhJFPLX (ORCPT ); Wed, 6 Oct 2021 11:11:23 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0C7056D; Wed, 6 Oct 2021 08:09:31 -0700 (PDT) Received: from donnerap.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 401463F66F; Wed, 6 Oct 2021 08:09:30 -0700 (PDT) Date: Wed, 6 Oct 2021 16:09:27 +0100 From: Andre Przywara To: Alexandru Elisei Cc: will@kernel.org, julien.thierry.kdev@gmail.com, kvm@vger.kernel.org, jean-philippe@linaro.org Subject: Re: [PATCH v1 kvmtool 2/7] vfio/pci.c: Remove double include for assert.h Message-ID: <20211006160927.17d6e1b6@donnerap.cambridge.arm.com> In-Reply-To: <20210913154413.14322-3-alexandru.elisei@arm.com> References: <20210913154413.14322-1-alexandru.elisei@arm.com> <20210913154413.14322-3-alexandru.elisei@arm.com> Organization: ARM X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; aarch64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Mon, 13 Sep 2021 16:44:08 +0100 Alexandru Elisei wrote: > assert.h is included twice, keep only one instance. > > Signed-off-by: Alexandru Elisei Reviewed-by: Andre Przywara Cheers, Andre > --- > vfio/pci.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/vfio/pci.c b/vfio/pci.c > index ea33fd6..10ff99e 100644 > --- a/vfio/pci.c > +++ b/vfio/pci.c > @@ -10,8 +10,6 @@ > #include > #include > > -#include > - > /* Some distros don't have the define. */ > #ifndef PCI_CAP_EXP_RC_ENDPOINT_SIZEOF_V1 > #define PCI_CAP_EXP_RC_ENDPOINT_SIZEOF_V1 12