Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any chance of updating this for more recent kernels? #7

Open
satmandu opened this issue May 10, 2017 · 2 comments
Open

Any chance of updating this for more recent kernels? #7

satmandu opened this issue May 10, 2017 · 2 comments

Comments

@satmandu
Copy link

This is what happens on 4.11.x:

  CC [M]  /var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/ioctl.o
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c: In function ‘hfsplus_releasepage’:
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:90:25: error: ‘PAGE_CACHE_SIZE’ undeclared (first use in this function)
  if (tree->node_size >= PAGE_CACHE_SIZE) {
                         ^~~~~~~~~~~~~~~
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:90:25: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:92:29: error: ‘PAGE_CACHE_SHIFT’ undeclared (first use in this function)
    (tree->node_size_shift - PAGE_CACHE_SHIFT);
                             ^~~~~~~~~~~~~~~~
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c: In function ‘hfsplus_journaled_writepage’:
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:131:38: error: ‘PAGE_CACHE_SHIFT’ undeclared (first use in this function)
  const pgoff_t end_index = i_size >> PAGE_CACHE_SHIFT;
                                      ^~~~~~~~~~~~~~~~
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c: In function ‘hfsplus_direct_IO’:
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:155:17: error: implicit declaration of function ‘iov_iter_count’ [-Werror=implicit-function-declaration]
  size_t count = iov_iter_count(iter);
                 ^~~~~~~~~~~~~~
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:158:27: warning: passing argument 1 of ‘blockdev_direct_IO’ makes pointer from integer without a cast [-Wint-conversion]
  ret = blockdev_direct_IO(rw, iocb, inode, iter, offset,
                           ^~
In file included from ./include/linux/seq_file.h:10:0,
                 from ./include/linux/pinctrl/consumer.h:17,
                 from ./include/linux/pinctrl/devinfo.h:21,
                 from ./include/linux/device.h:24,
                 from ./include/linux/genhd.h:64,
                 from ./include/linux/blkdev.h:10,
                 from /var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:11:
./include/linux/fs.h:2850:23: note: expected ‘struct kiocb *’ but argument is of type ‘int’
 static inline ssize_t blockdev_direct_IO(struct kiocb *iocb,
                       ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/hfsplus-dkms/1.1-ppa1/build/inode.c:158:31: error: passing argument 2 of ‘blockdev_direct_IO’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  ret = blockdev_direct_IO(rw, iocb, inode, iter, offset,
                               ^~~~
In file included from ./include/linux/seq_file.h:10:0,
                                                                32,1           0%
@reporter123
Copy link
Owner

I have 4.10.x on my system and may indeed update it but I don't have much interest or time right now.

@satmandu
Copy link
Author

Understood. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants