From: Alessio Igor Bogani <abogani@texware•it>
To: Linux-next <linux-next@vger•kernel.org>
Cc: Alessio Igor Bogani <abogani@texware•it>
Subject: [PATCH] Staging: comedi: Fix an other build problem
Date: Fri, 20 Mar 2009 17:37:52 +0100 [thread overview]
Message-ID: <1237567072-30463-1-git-send-email-abogani@texware.it> (raw)
[...]
CC [M] drivers/staging/comedi/comedi_compat32.o
drivers/staging/comedi/comedi_compat32.c: In function ‘raw_ioctl’:
drivers/staging/comedi/comedi_compat32.c:451: error: ‘comedi32_chaninfo’ undeclared (first use in this function)
drivers/staging/comedi/comedi_compat32.c:451: error: (Each undeclared identifier is reported only once
drivers/staging/comedi/comedi_compat32.c:451: error: for each function it appears in.)
drivers/staging/comedi/comedi_compat32.c:454: error: expected expression before ‘)’ token
drivers/staging/comedi/comedi_compat32.c:454: error: expected expression before ‘)’ token
drivers/staging/comedi/comedi_compat32.c:457: error: expected expression before ‘)’ token
drivers/staging/comedi/comedi_compat32.c:457: error: expected expression before ‘)’ token
drivers/staging/comedi/comedi_compat32.c:460: error: expected expression before ‘)’ token
drivers/staging/comedi/comedi_compat32.c:460: error: expected expression before ‘)’ token
drivers/staging/comedi/comedi_compat32.c:463: error: expected expression before ‘)’ token
drivers/staging/comedi/comedi_compat32.c:463: error: expected expression before ‘)’ token
drivers/staging/comedi/comedi_compat32.c:466: error: expected expression before ‘)’ token
drivers/staging/comedi/comedi_compat32.c:466: error: expected expression before ‘)’ token
[...]
Signed-off-by: Alessio Igor Bogani <abogani@texware•it>
---
drivers/staging/comedi/comedi_compat32.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/comedi/comedi_compat32.c b/drivers/staging/comedi/comedi_compat32.c
index 2fa771e..5708f46 100644
--- a/drivers/staging/comedi/comedi_compat32.c
+++ b/drivers/staging/comedi/comedi_compat32.c
@@ -37,16 +37,16 @@
#include <linux/ioctl32.h> /* for (un)register_ioctl32_conversion */
#endif
-#define COMEDI32_CHANINFO _IOR(CIO, 3, comedi32_chaninfo)
-#define COMEDI32_RANGEINFO _IOR(CIO, 8, (struct comedi32_rangeinfo_struct))
+#define COMEDI32_CHANINFO _IOR(CIO, 3, struct comedi32_chaninfo_struct)
+#define COMEDI32_RANGEINFO _IOR(CIO, 8, struct comedi32_rangeinfo_struct)
/* N.B. COMEDI32_CMD and COMEDI_CMD ought to use _IOWR, not _IOR.
* It's too late to change it now, but it only affects the command number. */
-#define COMEDI32_CMD _IOR(CIO, 9, (struct comedi32_cmd_struct))
+#define COMEDI32_CMD _IOR(CIO, 9, struct comedi32_cmd_struct)
/* N.B. COMEDI32_CMDTEST and COMEDI_CMDTEST ought to use _IOWR, not _IOR.
* It's too late to change it now, but it only affects the command number. */
-#define COMEDI32_CMDTEST _IOR(CIO, 10, (struct comedi32_cmd_struct))
-#define COMEDI32_INSNLIST _IOR(CIO, 11, (struct comedi32_insnlist_struct))
-#define COMEDI32_INSN _IOR(CIO, 12, (struct comedi32_insn_struct))
+#define COMEDI32_CMDTEST _IOR(CIO, 10, struct comedi32_cmd_struct)
+#define COMEDI32_INSNLIST _IOR(CIO, 11, struct comedi32_insnlist_struct)
+#define COMEDI32_INSN _IOR(CIO, 12, struct comedi32_insn_struct)
struct comedi32_chaninfo_struct {
unsigned int subdev;
--
1.6.0.4
next reply other threads:[~2009-03-20 16:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-20 16:37 Alessio Igor Bogani [this message]
2009-03-21 4:36 ` [PATCH] Staging: comedi: Fix an other build problem Greg KH
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=1237567072-30463-1-git-send-email-abogani@texware.it \
--to=abogani@texware$(echo .)it \
--cc=linux-next@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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