mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 14:44:12 +00:00
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>
This commit is contained in:
parent
7a9b149212
commit
373a83a699
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ static long vhost_net_compat_ioctl(struct file *f, unsigned int ioctl,
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const static struct file_operations vhost_net_fops = {
|
static const struct file_operations vhost_net_fops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.release = vhost_net_release,
|
.release = vhost_net_release,
|
||||||
.unlocked_ioctl = vhost_net_ioctl,
|
.unlocked_ioctl = vhost_net_ioctl,
|
||||||
|
|
Loading…
Reference in a new issue