This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [linux-2.6.18-xen] gntdev: gntdev_fops struct should be

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] gntdev: gntdev_fops struct should be const.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Dec 2007 13:50:33 -0800
Delivery-date: Wed, 12 Dec 2007 13:51:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1197454426 0
# Node ID 869bfd143693761cd7f44afe374c96c70a4578a5
# Parent  ca1dd3c0daa9723380c49d102181f5624e912b8b
gntdev: gntdev_fops struct should be const.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
 drivers/xen/gntdev/gntdev.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r ca1dd3c0daa9 -r 869bfd143693 drivers/xen/gntdev/gntdev.c
--- a/drivers/xen/gntdev/gntdev.c       Wed Dec 12 10:11:27 2007 +0000
+++ b/drivers/xen/gntdev/gntdev.c       Wed Dec 12 10:13:46 2007 +0000
@@ -136,7 +136,7 @@ static long gntdev_ioctl(struct file *fl
 static long gntdev_ioctl(struct file *flip,
                         unsigned int cmd, unsigned long arg);
-static struct file_operations gntdev_fops = {
+static const struct file_operations gntdev_fops = {
        .owner = THIS_MODULE,
        .open = gntdev_open,
        .release = gntdev_release,

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] gntdev: gntdev_fops struct should be const., Xen patchbot-linux-2.6.18-xen <=