From: David Woodhouse <dwmw2@infradead.org>
To: Jason Gunthorpe <jgg@ualberta.ca>
Cc: mtd@infradead.org
Subject: Changing mtd.name to a char *
Date: Mon, 03 Jul 2000 18:09:08 +0100 [thread overview]
Message-ID: <26435.962644148@cygnus.co.uk> (raw)
In-Reply-To: <Pine.LNX.3.96.1000627124319.12137A-100000@wakko.deltatee.com>
jgg@ualberta.ca said:
> Hmmm. How about a char * ?
> That might be best.
Argh. The MEMGETINFO ioctl returns the first part of the struct mtd_info,
which used to contain the actual name of the device, but now just holds a
pointer to it.
For now, I've just shifted the name field out of the part which is available
to the user - if anyone cares, you'll have to code up a MEMGETNAME ioctl
which nicely and safely passes back the variable-length name.
Of course, I'm still screwed because I can't currently compile armv4l
binaries for my test board, so I can't update my utils to reflect that.
Could anyone compile the contents of the util/ directory for armv4l and
mail them to dwmw2@redhat.com?
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
prev parent reply other threads:[~2000-07-03 17:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-26 16:18 MTD CVS update: 'mtd/kernel cfi_cmdset_0001.c cfi_probe.c nora.c octagon-5066.c vmax301.c' David Woodhouse
2000-06-27 5:00 ` Jason Gunthorpe
2000-06-27 8:51 ` David Woodhouse
2000-06-27 18:47 ` Jason Gunthorpe
2000-06-28 9:02 ` David Woodhouse
2000-06-28 15:13 ` Jason Gunthorpe
2000-07-03 17:09 ` David Woodhouse [this message]
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=26435.962644148@cygnus.co.uk \
--to=dwmw2@infradead.org \
--cc=jgg@ualberta.ca \
--cc=mtd@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.