From: "Xiaogeng (Shawn) Jin" <xjin@redswitch.com>
To: linux-mtd@lists.infradead.org
Subject: Why this error
Date: Thu, 29 Aug 2002 14:16:53 -0700 [thread overview]
Message-ID: <3D6E8F45.70905@redswitch.com> (raw)
Hi,
I use the following code to get mtd device pointer:
mtd = get_mtd_device(NULL, MTD_MINOR);
The compiler always complains that parse error before ;
/* MTD_MINOR is a defined macro. */
But when I call get_mtd_device() in this way, no complain at all.
int mtd_minor = MTD_MINOR;
mtd = get_mtd_device(NULL, mtd_minor);
Why does this error happen? Anybody encountered such errors before?
Thanks.
- Shawn.
reply other threads:[~2002-08-29 21:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=3D6E8F45.70905@redswitch.com \
--to=xjin@redswitch.com \
--cc=linux-mtd@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.