From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1fNcQZ-0004Yi-1H for mharc-qemu-trivial@gnu.org; Tue, 29 May 2018 07:04:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNcQT-0004Nc-N8 for qemu-trivial@nongnu.org; Tue, 29 May 2018 07:04:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNcQP-0005MM-SR for qemu-trivial@nongnu.org; Tue, 29 May 2018 07:04:25 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:60766 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fNcQ9-00053N-DX; Tue, 29 May 2018 07:04:05 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C36E4818BAED; Tue, 29 May 2018 11:04:04 +0000 (UTC) Received: from gondolin (dhcp-192-222.str.redhat.com [10.33.192.222]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4A0342166BC7; Tue, 29 May 2018 11:03:59 +0000 (UTC) Date: Tue, 29 May 2018 13:03:57 +0200 From: Cornelia Huck To: Philippe =?UTF-8?B?TWF0aGlldS1EYXVkw6k=?= Cc: Thomas Huth , "Michael S . Tsirkin" , qemu-devel@nongnu.org, qemu-trivial@nongnu.org, Paolo Bonzini , Peter Crosthwaite , Alistair Francis , Kevin Wolf , Max Reitz , Stefano Stabellini , Anthony Perard , Marcel Apfelbaum , Richard Henderson , Eduardo Habkost , Christian Borntraeger , Alexander Graf , David Hildenbrand , Fam Zheng , Gerd Hoffmann , "Dr. David Alan Gilbert" , Markus Armbruster , qemu-block@nongnu.org (open list:Block layer core), xen-devel@lists.xenproject.org (open list:X86), qemu-s390x@nongnu.org (open list:virtio-ccw) Message-ID: <20180529130357.405f501b.cohuck@redhat.com> In-Reply-To: <20180528232719.4721-15-f4bug@amsat.org> References: <20180528232719.4721-1-f4bug@amsat.org> <20180528232719.4721-15-f4bug@amsat.org> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 29 May 2018 11:04:04 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Tue, 29 May 2018 11:04:04 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'cohuck@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: Re: [Qemu-trivial] [PATCH v4 14/21] hw: Do not include "sysemu/blockdev.h" if it is not necessary X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2018 11:04:29 -0000 On Mon, 28 May 2018 20:27:12 -0300 Philippe Mathieu-Daud=C3=A9 wrote: > Remove those unneeded includes to speed up the compilation > process a little bit. >=20 > Code change produced with: >=20 > $ git grep '#include "sysemu/blockdev.h"' | \ > cut -d: -f-1 | \ > xargs egrep -L "(BlockInterfaceType|DriveInfo|drive_get|blk_legacy_= dinfo|blockdev_mark_auto_del)" | \ > xargs sed -i.bak '/#include "sysemu\/blockdev.h"/d' >=20 > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > --- > hw/block/m25p80.c | 1 - > hw/block/onenand.c | 1 - > hw/i386/xen/xen-mapcache.c | 1 - > hw/s390x/virtio-ccw.c | 1 - > hw/scsi/scsi-generic.c | 1 - > hw/sd/sdhci.c | 1 - > hw/usb/dev-storage.c | 1 - > monitor.c | 1 - > 8 files changed, 8 deletions(-) Acked-by: Cornelia Huck From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fNcQM-0004GP-Nv for qemu-devel@nongnu.org; Tue, 29 May 2018 07:04:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fNcQI-0005CF-55 for qemu-devel@nongnu.org; Tue, 29 May 2018 07:04:18 -0400 Date: Tue, 29 May 2018 13:03:57 +0200 From: Cornelia Huck Message-ID: <20180529130357.405f501b.cohuck@redhat.com> In-Reply-To: <20180528232719.4721-15-f4bug@amsat.org> References: <20180528232719.4721-1-f4bug@amsat.org> <20180528232719.4721-15-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v4 14/21] hw: Do not include "sysemu/blockdev.h" if it is not necessary List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe =?UTF-8?B?TWF0aGlldS1EYXVkw6k=?= Cc: Thomas Huth , "Michael S . Tsirkin" , qemu-devel@nongnu.org, qemu-trivial@nongnu.org, Paolo Bonzini , Peter Crosthwaite , Alistair Francis , Kevin Wolf , Max Reitz , Stefano Stabellini , Anthony Perard , Marcel Apfelbaum , Richard Henderson , Eduardo Habkost , Christian Borntraeger , Alexander Graf , David Hildenbrand , Fam Zheng , Gerd Hoffmann , "Dr. David Alan Gilbert" , Markus Armbruster , "open list:Block layer core" , "open list:X86" , "open list:virtio-ccw" On Mon, 28 May 2018 20:27:12 -0300 Philippe Mathieu-Daud=C3=A9 wrote: > Remove those unneeded includes to speed up the compilation > process a little bit. >=20 > Code change produced with: >=20 > $ git grep '#include "sysemu/blockdev.h"' | \ > cut -d: -f-1 | \ > xargs egrep -L "(BlockInterfaceType|DriveInfo|drive_get|blk_legacy_= dinfo|blockdev_mark_auto_del)" | \ > xargs sed -i.bak '/#include "sysemu\/blockdev.h"/d' >=20 > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > --- > hw/block/m25p80.c | 1 - > hw/block/onenand.c | 1 - > hw/i386/xen/xen-mapcache.c | 1 - > hw/s390x/virtio-ccw.c | 1 - > hw/scsi/scsi-generic.c | 1 - > hw/sd/sdhci.c | 1 - > hw/usb/dev-storage.c | 1 - > monitor.c | 1 - > 8 files changed, 8 deletions(-) Acked-by: Cornelia Huck