Date: Sat, 13 Jun 2009 21:55:08 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194130 - in head/sys/dev/xen: blkfront netfront Message-ID: <200906132155.n5DLt8FI025262@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kmacy Date: Sat Jun 13 21:55:08 2009 New Revision: 194130 URL: http://svn.freebsd.org/changeset/base/194130 Log: update backend_changed to reflect .m prototype Modified: head/sys/dev/xen/blkfront/blkfront.c head/sys/dev/xen/netfront/netfront.c Modified: head/sys/dev/xen/blkfront/blkfront.c ============================================================================== --- head/sys/dev/xen/blkfront/blkfront.c Sat Jun 13 21:45:31 2009 (r194129) +++ head/sys/dev/xen/blkfront/blkfront.c Sat Jun 13 21:55:08 2009 (r194130) @@ -500,7 +500,7 @@ setup_blkring(device_t dev, struct blkfr /** * Callback received when the backend's state changes. */ -static void +static int blkfront_backend_changed(device_t dev, XenbusState backend_state) { struct blkfront_info *info = device_get_softc(dev); @@ -542,6 +542,8 @@ blkfront_backend_changed(device_t dev, X bdput(bd); #endif } + + return (0); } /* Modified: head/sys/dev/xen/netfront/netfront.c ============================================================================== --- head/sys/dev/xen/netfront/netfront.c Sat Jun 13 21:45:31 2009 (r194129) +++ head/sys/dev/xen/netfront/netfront.c Sat Jun 13 21:55:08 2009 (r194130) @@ -618,7 +618,7 @@ netfront_send_fake_arp(device_t dev, str /** * Callback received when the backend's state changes. */ -static void +static int netfront_backend_changed(device_t dev, XenbusState newstate) { struct netfront_info *sc = device_get_softc(dev); @@ -646,6 +646,7 @@ netfront_backend_changed(device_t dev, X xenbus_set_state(dev, XenbusStateClosed); break; } + return (0); } static void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906132155.n5DLt8FI025262>