We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
gmake[1]: Entering directory /home/chaitu/click/linuxmodule' gmake -C /lib/modules/3.13.0-48-generic/build M=/home/chaitu/click/linuxmodule modules gmake[2]: Entering directory/usr/src/linux-headers-3.13.0-48-generic' CC [M] /home/chaitu/click/linuxmodule/proclikefsmod.o In file included from include/linux/cache.h:4:0, from include/linux/time.h:4, from include/linux/stat.h:18, from include/linux/module.h:10, from /home/chaitu/click/linuxmodule/proclikefs.c:33: /home/chaitu/click/linuxmodule/proclikefs.c: In function ‘proclikefs_kill_super’: /home/chaitu/click/linuxmodule/proclikefs.c:262:64: error: ‘union ’ has no member named ‘d_child’ struct dentry child = list_entry(next, struct dentry, d_u.d_child); ^ include/linux/kernel.h:793:29: note: in definition of macro ‘container_of’ const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ /home/chaitu/click/linuxmodule/proclikefs.c:262:29: note: in expansion of macro ‘list_entry’ struct dentry *child = list_entry(next, struct dentry, d_u.d_child); ^ include/linux/kernel.h:793:48: warning: initialization from incompatible pointer type [enabled by default] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ include/linux/list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member) ^ /home/chaitu/click/linuxmodule/proclikefs.c:262:29: note: in expansion of macro ‘list_entry’ struct dentry *child = list_entry(next, struct dentry, d_u.d_child); ^ include/linux/kernel.h:793:48: warning: (near initialization for ‘child’) [enabled by default] const typeof( ((type *)0)->member ) *__mptr = (ptr); ^ include/linux/list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member) ^ /home/chaitu/click/linuxmodule/proclikefs.c:262:29: note: in expansion of macro ‘list_entry’ struct dentry *child = list_entry(next, struct dentry, d_u.d_child); ^ In file included from include/linux/compiler-gcc.h:106:0, from include/linux/compiler.h:54, from include/uapi/linux/stddef.h:1, from include/linux/stddef.h:4, from /usr/src/linux-headers-3.13.0-48-generic/include/uapi/linux/posix_types.h:4, from include/uapi/linux/types.h:13, from include/linux/types.h:5, from include/linux/list.h:4, from include/linux/module.h:9, from /home/chaitu/click/linuxmodule/proclikefs.c:33: include/linux/compiler-gcc4.h:14:34: error: ‘union ’ has no member named ‘d_child’ #define __compiler_offsetof(a,b) __builtin_offsetof(a,b) ^ include/linux/stddef.h:17:31: note: in expansion of macro ‘__compiler_offsetof’ #define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER) ^ include/linux/kernel.h:794:29: note: in expansion of macro ‘offsetof’ (type *)( (char *)__mptr - offsetof(type,member) );}) ^ include/linux/list.h:351:2: note: in expansion of macro ‘container_of’ container_of(ptr, type, member) ^ /home/chaitu/click/linuxmodule/proclikefs.c:262:29: note: in expansion of macro ‘list_entry’ struct dentry *child = list_entry(next, struct dentry, d_u.d_child); ^ gmake[3]: ** [/home/chaitu/click/linuxmodule/proclikefsmod.o] Error 1 gmake[2]: *** [module/home/chaitu/click/linuxmodule] Error 2 gmake[2]: Leaving directory /usr/src/linux-headers-3.13.0-48-generic' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory/home/chaitu/click/linuxmodule' gmake: *** [install-linuxmodule] Error 2
/home/chaitu/click/linuxmodule' gmake -C /lib/modules/3.13.0-48-generic/build M=/home/chaitu/click/linuxmodule modules gmake[2]: Entering directory
/usr/src/linux-headers-3.13.0-48-generic' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory
The text was updated successfully, but these errors were encountered:
did you find a way to fix it?
Sorry, something went wrong.
I am getting a similar problem.
No branches or pull requests
gmake[1]: Entering directory
/home/chaitu/click/linuxmodule' gmake -C /lib/modules/3.13.0-48-generic/build M=/home/chaitu/click/linuxmodule modules gmake[2]: Entering directory
/usr/src/linux-headers-3.13.0-48-generic'CC [M] /home/chaitu/click/linuxmodule/proclikefsmod.o
In file included from include/linux/cache.h:4:0,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /home/chaitu/click/linuxmodule/proclikefs.c:33:
/home/chaitu/click/linuxmodule/proclikefs.c: In function ‘proclikefs_kill_super’:
/home/chaitu/click/linuxmodule/proclikefs.c:262:64: error: ‘union ’ has no member named ‘d_child’
struct dentry child = list_entry(next, struct dentry, d_u.d_child);
^
include/linux/kernel.h:793:29: note: in definition of macro ‘container_of’
const typeof( ((type *)0)->member ) *__mptr = (ptr);
^
/home/chaitu/click/linuxmodule/proclikefs.c:262:29: note: in expansion of macro ‘list_entry’
struct dentry *child = list_entry(next, struct dentry, d_u.d_child);
^
include/linux/kernel.h:793:48: warning: initialization from incompatible pointer type [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr);
^
include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
container_of(ptr, type, member)
^
/home/chaitu/click/linuxmodule/proclikefs.c:262:29: note: in expansion of macro ‘list_entry’
struct dentry *child = list_entry(next, struct dentry, d_u.d_child);
^
include/linux/kernel.h:793:48: warning: (near initialization for ‘child’) [enabled by default]
const typeof( ((type *)0)->member ) *__mptr = (ptr);
^
include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
container_of(ptr, type, member)
^
/home/chaitu/click/linuxmodule/proclikefs.c:262:29: note: in expansion of macro ‘list_entry’
struct dentry *child = list_entry(next, struct dentry, d_u.d_child);
^
In file included from include/linux/compiler-gcc.h:106:0,
from include/linux/compiler.h:54,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from /usr/src/linux-headers-3.13.0-48-generic/include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/module.h:9,
from /home/chaitu/click/linuxmodule/proclikefs.c:33:
include/linux/compiler-gcc4.h:14:34: error: ‘union ’ has no member named ‘d_child’
#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
^
include/linux/stddef.h:17:31: note: in expansion of macro ‘__compiler_offsetof’
#define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)
^
include/linux/kernel.h:794:29: note: in expansion of macro ‘offsetof’
(type *)( (char *)__mptr - offsetof(type,member) );})
^
include/linux/list.h:351:2: note: in expansion of macro ‘container_of’
container_of(ptr, type, member)
^
/home/chaitu/click/linuxmodule/proclikefs.c:262:29: note: in expansion of macro ‘list_entry’
struct dentry *child = list_entry(next, struct dentry, d_u.d_child);
^
gmake[3]: ** [/home/chaitu/click/linuxmodule/proclikefsmod.o] Error 1
gmake[2]: *** [module/home/chaitu/click/linuxmodule] Error 2
gmake[2]: Leaving directory
/usr/src/linux-headers-3.13.0-48-generic' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory
/home/chaitu/click/linuxmodule'gmake: *** [install-linuxmodule] Error 2
The text was updated successfully, but these errors were encountered: