Skip to content

[Bug]: vboxsf does not build with 7.3 #849

Description

@jirislaby

Version

trunk/main

Host OS Type

Linux

Host OS name + version

openSUSE Tumbleweed

Host Architecture

x86

Guest OS Type

all

Guest Architecture

x86

Guest OS name + version

does not matter

Component

Guest Additions/Shared Folders

What happened?

vboxsf does not build against kernel 7.3:

[   77s] dirops.c:1416:23: error: initialization of ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t)’ {aka ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, short unsigned int)’} from incompatible pointer type ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, umode_t,  bool)’ {aka ‘int (*)(struct mnt_idmap *, struct inode *, struct dentry *, short unsigned int,  _Bool)’} [-Wincompatible-pointer-types]
[   77s]  1416 |     .create         = vbsf_inode_create,
[   77s]       |                       ^~~~~~~~~~~~~~~~~
[   77s] dirops.c:1416:23: note: (near initialization for ‘vbsf_dir_iops.create’)
[   77s] dirops.c:1050:12: note: ‘vbsf_inode_create’ declared here
[   77s]  1050 | static int vbsf_inode_create(struct mnt_idmap *idmap, struct inode *parent, struct dentry *dentry, umode_t mode, bool excl)
[   77s]       |            ^~~~~~~~~~~~~~~~~

It is due to torvalds/linux@b2f1e6301efa. This patch fixes the build.

How can we reproduce this?

Just build against 7.3.

Did you upload all of your necessary log files, screenshots, etc.?

  • Yes, I've uploaded all pertinent files to this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions