![]() + unsigned long (*proc_get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long) + int (*proc_mmap)(struct file *, struct vm_area_struct *) + long (*proc_compat_ioctl)(struct file *, unsigned int, unsigned long) + long (*proc_ioctl)(struct file *, unsigned int, unsigned long) + _poll_t (*proc_poll)(struct file *, struct poll_table_struct *) + int (*proc_release)(struct inode *, struct file *) + loff_t (*proc_lseek)(struct file *, loff_t, int) + ssize_t (*proc_write)(struct file *, const char _user *, size_t, loff_t *) + ssize_t (*proc_read)(struct file *, char _user *, size_t, loff_t *) + int (*proc_open)(struct inode *, struct file *) It would appear a struct type has changed in /include/linux/proc_fs.h, from file_operations to proc_ops or some such thing. Makefile:40: recipe for target 'modules' failed Make: Leaving directory '/root/repos/r8168/src' Makefile:142: recipe for target 'modules' failed Make: Leaving directory '/root/repos/linux' Makefile:1681: recipe for target '/root/repos/r8168/src' failed Scripts/Makefile.build:265: recipe for target '/root/repos/r8168/src/r8168_n.o' failed root/repos/r8168/src/r8168_n.c:25821:31: note: (near initialization for ‘rtl8168_netdev_ops.ndo_tx_timeout’)Ĭc1: some warnings being treated as errors root/repos/r8168/src/r8168_n.c:25821:31: error: initialization from incompatible pointer type include/linux/proc_fs.h:59:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’Įxtern struct proc_dir_entry *proc_create_data(const char *, umode_t, root/repos/r8168/src/r8168_n.c:1670:47: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |