public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Re: MTD CVS update: 'mtd/kernel mtdblock.c'
       [not found] <E13nksk-0002RR-00@infradead.org>
@ 2000-10-24  8:14 ` David Woodhouse
  2000-10-24 11:46   ` Steven J. Hill
  0 siblings, 1 reply; 5+ messages in thread
From: David Woodhouse @ 2000-10-24  8:14 UTC (permalink / raw)
  To: sjhill; +Cc: mtd


sjhill@cotw.com said:
>  Made changes so that 'mtdblock' would build with 2.2.x kernels again
> and not only on ARM platforms. People PLEASE remember that this code
> is used in two different kernel trees AND on different CPU
> architectures. 

*(int *)0=0; doesn't cause an oops on all platforms. That was why BUG() was 
introduced. Probably better just to omit my paranoia checks altogether, 
once we're happy that mtdblock actually works. For now, surround them in 
#ifdef PARANOIA. I thought I'd done that already.

DECLARE_MUTEX_LOCKED wants adding to compatmac.h if it's not already there.

What was the reasoning for removing the 'static' from the declaration of 
thr_wq?

Anyway, it didn't build _only_ on ARM - it built on SH too :)

--
dwmw2




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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: MTD CVS update: 'mtd/kernel mtdblock.c'
  2000-10-24  8:14 ` MTD CVS update: 'mtd/kernel mtdblock.c' David Woodhouse
@ 2000-10-24 11:46   ` Steven J. Hill
  2000-10-24 16:25     ` Proper way of setting MTD_DEBUG Bradley D. LaRonde
  0 siblings, 1 reply; 5+ messages in thread
From: Steven J. Hill @ 2000-10-24 11:46 UTC (permalink / raw)
  To: David Woodhouse; +Cc: mtd

David Woodhouse wrote:
> 
> *(int *)0=0; doesn't cause an oops on all platforms. That was why BUG() was
> introduced. Probably better just to omit my paranoia checks altogether,
> once we're happy that mtdblock actually works. For now, surround them in
> #ifdef PARANOIA. I thought I'd done that already.
> 
Alright, will do.

> DECLARE_MUTEX_LOCKED wants adding to compatmac.h if it's not already there.
> 
Will do.

> What was the reasoning for removing the 'static' from the declaration of
> thr_wq?
> 
Uhhh...that would be my stupidity. I forgot to put 'static' back on
the declaration.

-Steve

-- 
 Steven J. Hill - Embedded SW Engineer
 Public Key: 'finger sjhill@mail.cotw.com'
 FPR1: E124 6E1C AF8E 7802 A815
 FPR2: 7D72 829C 3386 4C4A E17D


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Proper way of setting MTD_DEBUG
  2000-10-24 11:46   ` Steven J. Hill
@ 2000-10-24 16:25     ` Bradley D. LaRonde
  2000-10-24 18:59       ` Steven J. Hill
  0 siblings, 1 reply; 5+ messages in thread
From: Bradley D. LaRonde @ 2000-10-24 16:25 UTC (permalink / raw)
  To: mtd

What is the proper way of setting MTD_DEBUG?

Regards,
Brad



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Proper way of setting MTD_DEBUG
  2000-10-24 18:59       ` Steven J. Hill
@ 2000-10-24 18:57         ` Bradley D. LaRonde
  0 siblings, 0 replies; 5+ messages in thread
From: Bradley D. LaRonde @ 2000-10-24 18:57 UTC (permalink / raw)
  To: Steven J. Hill; +Cc: mtd

Ahh... I'm looking at an older version (the one in 2.4.0-test7).

Regards,
Brad

----- Original Message ----- 
From: "Steven J. Hill" <sjhill@cotw.com>
To: "Bradley D. LaRonde" <brad@ltc.com>
Cc: <mtd@infradead.org>
Sent: Tuesday, October 24, 2000 2:59 PM
Subject: Re: Proper way of setting MTD_DEBUG


> "Bradley D. LaRonde" wrote:
> > 
> > What is the proper way of setting MTD_DEBUG?
> > 
> I re-wrote the debugging such that it is now a configuration
> option in the MTD sub-system menu where you choose the level
> of verbosity. There a four levels which are defined in the
> 'include/linux/mtd/mtd.h' that you can use to define the
> severity/verbosity of a debug statement.
> 
> -Steve
> 
> -- 
>  Steven J. Hill - Embedded SW Engineer
>  Public Key: 'finger sjhill@mail.cotw.com'
>  FPR1: E124 6E1C AF8E 7802 A815
>  FPR2: 7D72 829C 3386 4C4A E17D



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Proper way of setting MTD_DEBUG
  2000-10-24 16:25     ` Proper way of setting MTD_DEBUG Bradley D. LaRonde
@ 2000-10-24 18:59       ` Steven J. Hill
  2000-10-24 18:57         ` Bradley D. LaRonde
  0 siblings, 1 reply; 5+ messages in thread
From: Steven J. Hill @ 2000-10-24 18:59 UTC (permalink / raw)
  To: Bradley D. LaRonde; +Cc: mtd

"Bradley D. LaRonde" wrote:
> 
> What is the proper way of setting MTD_DEBUG?
> 
I re-wrote the debugging such that it is now a configuration
option in the MTD sub-system menu where you choose the level
of verbosity. There a four levels which are defined in the
'include/linux/mtd/mtd.h' that you can use to define the
severity/verbosity of a debug statement.

-Steve

-- 
 Steven J. Hill - Embedded SW Engineer
 Public Key: 'finger sjhill@mail.cotw.com'
 FPR1: E124 6E1C AF8E 7802 A815
 FPR2: 7D72 829C 3386 4C4A E17D


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-10-24 18:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E13nksk-0002RR-00@infradead.org>
2000-10-24  8:14 ` MTD CVS update: 'mtd/kernel mtdblock.c' David Woodhouse
2000-10-24 11:46   ` Steven J. Hill
2000-10-24 16:25     ` Proper way of setting MTD_DEBUG Bradley D. LaRonde
2000-10-24 18:59       ` Steven J. Hill
2000-10-24 18:57         ` Bradley D. LaRonde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox