linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hanabishi Recca <irecca.kun@gmail.com>
To: almaz.alexandrovich@paragon-software.com
Cc: aaptel@suse.com, andy.lavr@gmail.com, anton@tuxera.com,
	dan.carpenter@oracle.com, dsterba@suse.cz, ebiggers@kernel.org,
	hch@lst.de, joe@perches.com, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-ntfs-dev@lists.sourceforge.net, mark@harmstone.com,
	nborisov@suse.com, pali@kernel.org, rdunlap@infradead.org,
	viro@zeniv.linux.org.uk, willy@infradead.org
Subject: Re: [PATCH v20 00/10] NTFS read-write driver GPL implementation by Paragon Software
Date: Sat, 6 Feb 2021 01:43:10 +0500	[thread overview]
Message-ID: <CAOehnrO-qjA4-YbqjyQCc27SyE_T2_bPRfWNg=jb8_tTetRUkw@mail.gmail.com> (raw)

Can't even build v20 due to compilation errors.

DKMS make.log for ntfs3-20.0.0 for kernel 5.10.13-arch1-1 (x86_64)
Sat Feb  6 01:20:00 +05 2021
make -C /lib/modules/5.10.13-arch1-1/build
M=/var/lib/dkms/ntfs3/20.0.0/build modules
make[1]: Entering directory '/usr/lib/modules/5.10.13-arch1-1/build'
  CC [M]  /var/lib/dkms/ntfs3/20.0.0/build/attrib.o
  CC [M]  /var/lib/dkms/ntfs3/20.0.0/build/attrlist.o
  CC [M]  /var/lib/dkms/ntfs3/20.0.0/build/bitfunc.o
  CC [M]  /var/lib/dkms/ntfs3/20.0.0/build/bitmap.o
  CC [M]  /var/lib/dkms/ntfs3/20.0.0/build/dir.o
  CC [M]  /var/lib/dkms/ntfs3/20.0.0/build/fsntfs.o
  CC [M]  /var/lib/dkms/ntfs3/20.0.0/build/frecord.o
  CC [M]  /var/lib/dkms/ntfs3/20.0.0/build/file.o
/var/lib/dkms/ntfs3/20.0.0/build/file.c: In function ‘ntfs_getattr’:
/var/lib/dkms/ntfs3/20.0.0/build/file.c:93:19: error: passing argument
1 of ‘generic_fillattr’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
   93 |  generic_fillattr(mnt_userns, inode, stat);
      |                   ^~~~~~~~~~
      |                   |
      |                   struct user_namespace *
In file included from ./include/linux/backing-dev.h:13,
                 from /var/lib/dkms/ntfs3/20.0.0/build/file.c:8:
./include/linux/fs.h:3095:30: note: expected ‘struct inode *’ but
argument is of type ‘struct user_namespace *’
 3095 | extern void generic_fillattr(struct inode *, struct kstat *);
      |                              ^~~~~~~~~~~~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c:93:31: error: passing argument
2 of ‘generic_fillattr’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
   93 |  generic_fillattr(mnt_userns, inode, stat);
      |                               ^~~~~
      |                               |
      |                               struct inode *
In file included from ./include/linux/backing-dev.h:13,
                 from /var/lib/dkms/ntfs3/20.0.0/build/file.c:8:
./include/linux/fs.h:3095:46: note: expected ‘struct kstat *’ but
argument is of type ‘struct inode *’
 3095 | extern void generic_fillattr(struct inode *, struct kstat *);
      |                                              ^~~~~~~~~~~~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c:93:2: error: too many
arguments to function ‘generic_fillattr’
   93 |  generic_fillattr(mnt_userns, inode, stat);
      |  ^~~~~~~~~~~~~~~~
In file included from ./include/linux/backing-dev.h:13,
                 from /var/lib/dkms/ntfs3/20.0.0/build/file.c:8:
./include/linux/fs.h:3095:13: note: declared here
 3095 | extern void generic_fillattr(struct inode *, struct kstat *);
      |             ^~~~~~~~~~~~~~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c: In function ‘ntfs3_setattr’:
/var/lib/dkms/ntfs3/20.0.0/build/file.c:639:24: error: passing
argument 1 of ‘setattr_prepare’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
  639 |  err = setattr_prepare(mnt_userns, dentry, attr);
      |                        ^~~~~~~~~~
      |                        |
      |                        struct user_namespace *
In file included from ./include/linux/backing-dev.h:13,
                 from /var/lib/dkms/ntfs3/20.0.0/build/file.c:8:
./include/linux/fs.h:3217:28: note: expected ‘struct dentry *’ but
argument is of type ‘struct user_namespace *’
 3217 | extern int setattr_prepare(struct dentry *, struct iattr *);
      |                            ^~~~~~~~~~~~~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c:639:36: error: passing
argument 2 of ‘setattr_prepare’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
  639 |  err = setattr_prepare(mnt_userns, dentry, attr);
      |                                    ^~~~~~
      |                                    |
      |                                    struct dentry *
In file included from ./include/linux/backing-dev.h:13,
                 from /var/lib/dkms/ntfs3/20.0.0/build/file.c:8:
./include/linux/fs.h:3217:45: note: expected ‘struct iattr *’ but
argument is of type ‘struct dentry *’
 3217 | extern int setattr_prepare(struct dentry *, struct iattr *);
      |                                             ^~~~~~~~~~~~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c:639:8: error: too many
arguments to function ‘setattr_prepare’
  639 |  err = setattr_prepare(mnt_userns, dentry, attr);
      |        ^~~~~~~~~~~~~~~
In file included from ./include/linux/backing-dev.h:13,
                 from /var/lib/dkms/ntfs3/20.0.0/build/file.c:8:
./include/linux/fs.h:3217:12: note: declared here
 3217 | extern int setattr_prepare(struct dentry *, struct iattr *);
      |            ^~~~~~~~~~~~~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c:664:15: error: passing
argument 1 of ‘setattr_copy’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
  664 |  setattr_copy(mnt_userns, inode, attr);
      |               ^~~~~~~~~~
      |               |
      |               struct user_namespace *
In file included from ./include/linux/backing-dev.h:13,
                 from /var/lib/dkms/ntfs3/20.0.0/build/file.c:8:
./include/linux/fs.h:3219:40: note: expected ‘struct inode *’ but
argument is of type ‘struct user_namespace *’
 3219 | extern void setattr_copy(struct inode *inode, const struct iattr *attr);
      |                          ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c:664:27: error: passing
argument 2 of ‘setattr_copy’ from incompatible pointer type
[-Werror=incompatible-pointer-types]
  664 |  setattr_copy(mnt_userns, inode, attr);
      |                           ^~~~~
      |                           |
      |                           struct inode *
In file included from ./include/linux/backing-dev.h:13,
                 from /var/lib/dkms/ntfs3/20.0.0/build/file.c:8:
./include/linux/fs.h:3219:67: note: expected ‘const struct iattr *’
but argument is of type ‘struct inode *’
 3219 | extern void setattr_copy(struct inode *inode, const struct iattr *attr);
      |                                               ~~~~~~~~~~~~~~~~~~~~^~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c:664:2: error: too many
arguments to function ‘setattr_copy’
  664 |  setattr_copy(mnt_userns, inode, attr);
      |  ^~~~~~~~~~~~
In file included from ./include/linux/backing-dev.h:13,
                 from /var/lib/dkms/ntfs3/20.0.0/build/file.c:8:
./include/linux/fs.h:3219:13: note: declared here
 3219 | extern void setattr_copy(struct inode *inode, const struct iattr *attr);
      |             ^~~~~~~~~~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c: At top level:
/var/lib/dkms/ntfs3/20.0.0/build/file.c:1109:13: error: initialization
of ‘int (*)(const struct path *, struct kstat *, u32,  unsigned int)’
{aka ‘int (*)(const struct path *, struct kstat *, unsigned int,
unsigned int)’} from incompatible pointer type ‘int (*)(struct
user_namespace *, const struct path *, struct kstat *, u32,  u32)’
{aka ‘int (*)(struct user_namespace *, const struct path *, struct
kstat *, unsigned int,  unsigned int)’}
[-Werror=incompatible-pointer-types]
 1109 |  .getattr = ntfs_getattr,
      |             ^~~~~~~~~~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c:1109:13: note: (near
initialization for ‘ntfs_file_inode_operations.getattr’)
/var/lib/dkms/ntfs3/20.0.0/build/file.c:1110:13: error: initialization
of ‘int (*)(struct dentry *, struct iattr *)’ from incompatible
pointer type ‘int (*)(struct user_namespace *, struct dentry *, struct
iattr *)’ [-Werror=incompatible-pointer-types]
 1110 |  .setattr = ntfs3_setattr,
      |             ^~~~~~~~~~~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c:1110:13: note: (near
initialization for ‘ntfs_file_inode_operations.setattr’)
/var/lib/dkms/ntfs3/20.0.0/build/file.c:1112:16: error: initialization
of ‘int (*)(struct inode *, int)’ from incompatible pointer type ‘int
(*)(struct user_namespace *, struct inode *, int)’
[-Werror=incompatible-pointer-types]
 1112 |  .permission = ntfs_permission,
      |                ^~~~~~~~~~~~~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c:1112:16: note: (near
initialization for ‘ntfs_file_inode_operations.permission’)
/var/lib/dkms/ntfs3/20.0.0/build/file.c:1114:13: error: initialization
of ‘int (*)(struct inode *, struct posix_acl *, int)’ from
incompatible pointer type ‘int (*)(struct user_namespace *, struct
inode *, struct posix_acl *, int)’
[-Werror=incompatible-pointer-types]
 1114 |  .set_acl = ntfs_set_acl,
      |             ^~~~~~~~~~~~
/var/lib/dkms/ntfs3/20.0.0/build/file.c:1114:13: note: (near
initialization for ‘ntfs_file_inode_operations.set_acl’)
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279:
/var/lib/dkms/ntfs3/20.0.0/build/file.o] Error 1
make[1]: *** [Makefile:1805: /var/lib/dkms/ntfs3/20.0.0/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.10.13-arch1-1/build'
make: *** [Makefile:37: all] Error 2

             reply	other threads:[~2021-02-05 20:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-05 20:43 Hanabishi Recca [this message]
2021-02-06 16:44 ` [PATCH v20 00/10] NTFS read-write driver GPL implementation by Paragon Software Oleksandr Natalenko
2021-02-06 16:57 ` Oleksandr Natalenko
2021-02-06 17:39   ` Oleksandr Natalenko
  -- strict thread matches above, loose matches on Subject: below --
2021-02-05 15:02 Konstantin Komarov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOehnrO-qjA4-YbqjyQCc27SyE_T2_bPRfWNg=jb8_tTetRUkw@mail.gmail.com' \
    --to=irecca.kun@gmail.com \
    --cc=aaptel@suse.com \
    --cc=almaz.alexandrovich@paragon-software.com \
    --cc=andy.lavr@gmail.com \
    --cc=anton@tuxera.com \
    --cc=dan.carpenter@oracle.com \
    --cc=dsterba@suse.cz \
    --cc=ebiggers@kernel.org \
    --cc=hch@lst.de \
    --cc=joe@perches.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-ntfs-dev@lists.sourceforge.net \
    --cc=mark@harmstone.com \
    --cc=nborisov@suse.com \
    --cc=pali@kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=viro@zeniv.linux.org.uk \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).