From patchwork Mon May 17 13:12:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Klauser X-Patchwork-Id: 100118 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4HDLCM6005022 for ; Mon, 17 May 2010 13:21:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755318Ab0EQNVJ (ORCPT ); Mon, 17 May 2010 09:21:09 -0400 Received: from mx1.zhaw.ch ([160.85.104.50]:49114 "EHLO mx1.zhaw.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755244Ab0EQNVJ (ORCPT ); Mon, 17 May 2010 09:21:09 -0400 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 17 May 2010 13:21:12 +0000 (UTC) X-Greylist: delayed 489 seconds by postgrey-1.27 at vger.kernel.org; Mon, 17 May 2010 09:21:08 EDT Received: from mx1.zhaw.ch (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 159CC4C1; Mon, 17 May 2010 15:12:30 +0200 (CEST) Received: from localhost.localdomain (inst-232.33.zhaw.ch [160.85.232.33]) by mx1.zhaw.ch (Postfix) with ESMTP id 827B24BA; Mon, 17 May 2010 15:12:29 +0200 (CEST) From: Tobias Klauser To: mst@redhat.com Cc: kvm@vger.kernel.org, virtualization@lists.osdl.org, netdev@vger.kernel.org, Tobias Klauser Subject: [PATCH] vhost: Storage class should be before const qualifier Date: Mon, 17 May 2010 15:12:49 +0200 Message-Id: <1274101969-21109-1-git-send-email-tklauser@distanz.ch> X-Mailer: git-send-email 1.6.3.3 X-PMX-Version: 5.5.9.395186, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2010.5.17.130023 X-PerlMx-Spam: Gauge=IIIIIIII, Probability=8%, Report=' BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BODY_SIZE_800_899 0, TO_NO_NAME 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __URI_NS ' Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index aa88911..cd36f5f 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,