public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Thomas Gleixner" <tglx@linutronix.de>
To: linux-mtd@lists.infradead.org
Cc: Robert Schwebel <robert@schwebel.de>
Subject: Re: [PATCH] gen_probe forgets to clean chip_map
Date: Sat, 3 Jul 2004 16:37:04 +0200	[thread overview]
Message-ID: <200407031637.04488.tglx@linutronix.de> (raw)
In-Reply-To: <20040703110325.GA26836@pengutronix.de>

On Saturday 03 July 2004 13:03, Robert Schwebel wrote:
> ----------8<----------
> diff -urN mtd-20040622-1/drivers/mtd/chips/gen_probe.c
> mtd-20040622-1-ptx1/drivers/mtd/chips/gen_probe.c ---
> mtd-20040622-1/drivers/mtd/chips/gen_probe.c	2003-11-09 00:00:04.000000000
> +0100 +++ mtd-20040622-1-ptx1/drivers/mtd/chips/gen_probe.c	2004-06-25
> 14:38:28.000000000 +0200 @@ -114,6 +114,7 @@
>  		kfree(cfi.cfiq);
>  		return NULL;
>  	}
> +	memset(chip_map, 0, ((max_chips / 8) + ((max_chips % 8) ? 1 : 0)));
>
>  	set_bit(0, chip_map); /* Mark first chip valid */

Thanks, fixed due to your previous suggestion since 06-24 in CVS

-- 
Thomas
_____________________________________________________________________
From slash dot org
"When customers are visiting, engineers are not allowed to wear ties. 
That way the customer can tell who is the engineer and who is the 
salesman (and therefore whom to believe.). Ties cut off blood flow 
to the brain, making it easier for the salesmen to do their jobs." 
_____________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de

  reply	other threads:[~2004-07-03 14:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-03 11:03 [PATCH] gen_probe forgets to clean chip_map Robert Schwebel
2004-07-03 14:37 ` Thomas Gleixner [this message]
2004-07-04 15:23   ` Robert Schwebel

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=200407031637.04488.tglx@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=linux-mtd@lists.infradead.org \
    --cc=robert@schwebel.de \
    /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