From mboxrd@z Thu Jan 1 00:00:00 1970 From: Moritz =?iso-8859-1?q?M=FChlenhoff?= Subject: Compilation fixes for blktap kernel patch Date: Fri, 5 Oct 2012 10:31:13 +0200 Message-ID: <201210051031.13377.muehlenhoff@univention.de> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_RrpbQHKCt+klFsv" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org --Boundary-00=_RrpbQHKCt+klFsv Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I hope this is the correct mailing list for the blktap patches available at ftp://ftp.enjellic.com/pub/xen/ ? When integrating the patch into Linux 3.2.30 I noticed two compile errors=20 related to a missing include of module.h: /var/build/temp/tmp.TujmUayDmG/3.1-0-0/linux/linux-3.2.30/drivers/block/blk= tap/ring.c:536:=20 error: 'THIS_MODULE' undeclared here (not in a function) I'm attaching patches against the=20 ftp://ftp.enjellic.com/pub/xen/blktap2-3.2.patch patch Cheers, Moritz =2D-=20 Moritz M=FChlenhoff Open Source Software Engineer Univention GmbH be open. Mary-Somerville-Str.1 28359 Bremen Tel. : +49 421 22232-0 [.....] =46ax : +49 421 22232-99 muehlenhoff@univention.de http://www.univention.de Gesch=E4ftsf=FChrer: Peter H. Ganten HRB 20755 Amtsgericht Bremen Steuer-Nr.: 71-597-02876=20 --Boundary-00=_RrpbQHKCt+klFsv Content-Type: text/x-patch; charset="UTF-8"; name="fix-blktap-patch1.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="fix-blktap-patch1.diff" =46rom: Moritz M=C3=BChlenhoff ring.c uses THIS_MODULE, so it needs to include Signed-off-by Moritz M=C3=BChlenhoff =2D-- 30-add-blktap-driver.patch.orig 2012-10-04 11:19:26.784050570 +0200 +++ 30-add-blktap-driver.patch 2012-10-04 11:18:51.244048852 +0200 @@ -1571,13 +1571,14 @@ diff -urNp v3.2/linux-3.2/drivers/block/blktap/ring.c linux-3.2/drivers/bl= ock/blktap/ring.c --- v3.2/linux-3.2/drivers/block/blktap/ring.c Wed Dec 31 18:00:00 1969 +++ linux-3.2/drivers/block/blktap/ring.c Mon Apr 9 14:48:24 2012 =2D@@ -0,0 +1,645 @@ +@@ -0,0 +1,646 @@ + +#include +#include +#include +#include +#include ++#include + +#include "blktap.h" + --Boundary-00=_RrpbQHKCt+klFsv Content-Type: text/x-patch; charset="UTF-8"; name="fix-blktap-patch2.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="fix-blktap-patch2.diff" =46rom: Moritz M=C3=BChlenhoff device.c uses THIS_MODULE, so it needs to include Signed-off-by Moritz M=C3=BChlenhoff =2D-- 30-add-blktap-driver.patch.orig 2012-10-04 11:18:51.244048852 +0200 +++ 30-add-blktap-driver.patch 2012-10-04 11:56:19.812157693 +0200 @@ -526,12 +526,13 @@ diff -urNp v3.2/linux-3.2/drivers/block/blktap/device.c linux-3.2/drivers/= block/blktap/device.c --- v3.2/linux-3.2/drivers/block/blktap/device.c Wed Dec 31 18:00:00 1969 +++ linux-3.2/drivers/block/blktap/device.c Mon Apr 9 14:48:24 2012 =2D@@ -0,0 +1,618 @@ +@@ -0,0 +1,619 @@ +#include +#include +#include +#include +#include ++#include +#include +#include + --Boundary-00=_RrpbQHKCt+klFsv Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --Boundary-00=_RrpbQHKCt+klFsv--