All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russ Dill <Russ.Dill@asu.edu>
To: mtd@infradead.org
Subject: slight error in slram.c
Date: 15 Feb 2001 13:02:03 -0700	[thread overview]
Message-ID: <200102152004.NAA04029@rcmenter.iserver.net> (raw)
In-Reply-To: <E6FE4E054F02D511818E00025558B61D429E29@cluster01.axis.se>

I was looking through slram.c for some example code ($Id: slram.c,v 1.10
2000/07/03 10:01:38 dwmw2 Exp $), and found a slight typo/error in
init_slram

        mymtd = kmalloc(sizeof(struct mtd_info), GFP_KERNEL);
        
        memset(mymtd, 0, sizeof(*mymtd));
        
        if (mymtd)
        {
                memset((char *)mymtd, 0, sizeof(struct mtd_info));


Just a little thing, but hey, it might matter to someone, someday



To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

      reply	other threads:[~2001-02-15 20:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-15 16:59 Support for AMD-compatible non-CFI flashes Jonas Holmberg
2001-02-15 20:02 ` Russ Dill [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=200102152004.NAA04029@rcmenter.iserver.net \
    --to=russ.dill@asu.edu \
    --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.