summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/net.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-05-17 15:12:49 +0200
committerMichael S. Tsirkin <mst@redhat.com>2010-05-27 12:23:49 +0300
commit373a83a6997bfdaf767f6a65fc5cc0054b246984 (patch)
treea57a01ac7a1aea068a9664f587ce0899b557e2fb /drivers/vhost/net.c
parent7a9b149212f3716c598afe973b6261fd58453b7a (diff)
downloadtalos-op-linux-373a83a6997bfdaf767f6a65fc5cc0054b246984.tar.gz
talos-op-linux-373a83a6997bfdaf767f6a65fc5cc0054b246984.zip
vhost: Storage class should be before const qualifier
The C99 specification states in section 6.11.5: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/net.c')
-rw-r--r--drivers/vhost/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c
index aa88911c9504..cd36f5ff2255 100644
--- a/drivers/vhost/net.c
+++ b/drivers/vhost/net.c
@@ -626,7 +626,7 @@ static long vhost_net_compat_ioctl(struct file *f, unsigned int ioctl,
}
#endif
-const static struct file_operations vhost_net_fops = {
+static const struct file_operations vhost_net_fops = {
.owner = THIS_MODULE,
.release = vhost_net_release,
.unlocked_ioctl = vhost_net_ioctl,
OpenPOWER on IntegriCloud