From: Balachandar <bala1486@gmail.com>
To: kernelnewbies@nl.linux.org, linux-c-programming@vger.kernel.org
Subject: Error in compiling a module
Date: Tue, 27 Jul 2010 17:17:48 -0400 [thread overview]
Message-ID: <AANLkTikcGVVaofeUZtvPs+jpA11uXs-baTZ8O8NvH94i@mail.gmail.com> (raw)
Hello,
I am trying add a new network protocol family to the kernel. But i
get the following error for .h file '11: two or more data types in
declaration specifiers
In .c file
18: static struct net_proto_family ucnet_family_ops = {
19: .family = PF_UCNET,
20: .create = sock_ucnet_create,
21: .owner = THIS_MODULE,
22: } ;
In .h file
11: int sock_ucnet_create(struct net *net, struct socket *sock, int
protocol, int KERN);
I appreciate any help
next reply other threads:[~2010-07-27 21:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-27 21:17 Balachandar [this message]
2010-07-27 22:30 ` Error in compiling a module Michal Nazarewicz
2010-07-28 4:59 ` Mulyadi Santosa
2010-07-28 17:28 ` Balachandar
2010-07-29 4:51 ` Mulyadi Santosa
2010-07-29 13:56 ` Victor Rodriguez
2010-07-29 13:56 ` Victor Rodriguez
2010-07-29 16:21 ` Michal Nazarewicz
2010-07-29 17:52 ` Mulyadi Santosa
2010-07-29 18:10 ` Jim Cromie
2010-07-29 20:23 ` Mulyadi Santosa
2010-07-29 20:35 ` Greg Freemyer
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=AANLkTikcGVVaofeUZtvPs+jpA11uXs-baTZ8O8NvH94i@mail.gmail.com \
--to=bala1486@gmail.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-c-programming@vger.kernel.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 read-only IMAP folder(s) and NNTP newsgroup(s).