All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH 2/2]  Fixed typo Intel RNG driver for2.6.21-rc7-mm1
@ 2007-04-26  7:27 Tomita, Haruo
  0 siblings, 0 replies; 3+ messages in thread
From: Tomita, Haruo @ 2007-04-26  7:27 UTC (permalink / raw)
  To: Jan Beulich; +Cc: prarit, lkml, Tomita, Haruo

Hi Jan,

Thank you for the comment.
 
> ># Do you think that a "FWH not detected" message is noisy?
> 
> No, I think it helps understanding why there's no RNG device 
> in the system.

OK, the typo fixes patch was corrected.

 intel-rng.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- linux-2.6.21-rc7-mm1/drivers/char/hw_random/intel-rng.c~	2007-04-26 13:41:53.000000000 +0900
+++ linux-2.6.21-rc7-mm1/drivers/char/hw_random/intel-rng.c	2007-04-26 16:26:16.000000000 +0900
@@ -365,7 +365,8 @@ static int __init mod_init(void)
 	pci_dev_put(dev);
 	iounmap(intel_rng_hw->mem);
 	kfree(intel_rng_hw);
-	goto out;
+	if (err)
+		goto out;
 
 fwh_done:
 	err = -ENOMEM;

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

* RE: [PATCH 2/2]  Fixed typo Intel RNG driver for2.6.21-rc7-mm1
  2007-04-26  6:56 Tomita, Haruo
@ 2007-04-26  7:09 ` Jan Beulich
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Beulich @ 2007-04-26  7:09 UTC (permalink / raw)
  To: Haruo Tomita; +Cc: prarit, lkml

>>> "Tomita, Haruo" <haruo.tomita@toshiba.co.jp> 26.04.07 08:56 >>>
>> But why do you remove the printk()?
>
>I think that FWH connected to LPC of ICHx are not only Intel products.
>For example, sst... etc.
>Does rng address differ in except Intel products? 

I am not aware of non-Intel FWHs supporting the same RNG interface.

>I think that this driver is targeting Intel FWH.
>Therefore, printk() was removed.

If you're worried about people thinking their box being reported to have no
FWH when it does, then just make the message say so (i.e. add 82802 or
alike).

># Do you think that a "FWH not detected" message is noisy?

No, I think it helps understanding why there's no RNG device in the system.

Jan


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

* RE: [PATCH 2/2]  Fixed typo Intel RNG driver for2.6.21-rc7-mm1
@ 2007-04-26  6:56 Tomita, Haruo
  2007-04-26  7:09 ` Jan Beulich
  0 siblings, 1 reply; 3+ messages in thread
From: Tomita, Haruo @ 2007-04-26  6:56 UTC (permalink / raw)
  To: Jan Beulich; +Cc: prarit, lkml, Tomita, Haruo

> But why do you remove the printk()?

I think that FWH connected to LPC of ICHx are not only Intel products.
For example, sst... etc.
Does rng address differ in except Intel products? 
I think that this driver is targeting Intel FWH.
Therefore, printk() was removed.

# Do you think that a "FWH not detected" message is noisy?
--
Haruo

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

end of thread, other threads:[~2007-04-26  7:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-26  7:27 [PATCH 2/2] Fixed typo Intel RNG driver for2.6.21-rc7-mm1 Tomita, Haruo
  -- strict thread matches above, loose matches on Subject: below --
2007-04-26  6:56 Tomita, Haruo
2007-04-26  7:09 ` Jan Beulich

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.