Re: ldd module param practice

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Américo Wang
Date: Sunday, August 22, 2010 - 7:19 pm

On Mon, Aug 23, 2010 at 07:00:18AM +0800, runcoderen wrote:


How can it work? You neither have a loop nor use 'whom'
in your hello_init()...

You need:

statick int hello_init(void)
{
   int i;
   for (i=0; i<howmany; i++)
      printk(KERN_WARNING "Hello, %s\n", whom);
   return 0;
}
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ldd module param practice, runcoderen, (Sun Aug 22, 4:00 pm)
Re: ldd module param practice, rdunlap, (Sun Aug 22, 7:12 pm)
Re: ldd module param practice, Américo Wang, (Sun Aug 22, 7:19 pm)