Re: problems with "options" in modules.conf
Quoting Oreste Salerno (osalerno@studenti.unina.it):
>
> 2.2.15 code is the same as the 2.2.10, as what regards this part. Adding
> these extra printk showed me that the string ignore is composed only by the
> first word, even if actually there are more than one. i.e if i put:
>
> options ignore='aa hdb hdc'
> it will just appear:
> ide-cd: will ignore aa
>
> I tried to find where does ignore come from and I found that it's determined
> by a function called MODULE_PARM(), which does not belong to ide-cd.c so I
> think the problem does not belong to the ide-cd module. But I couldn't do
> anything more 'cause my programming knowhow is very limited. anyway, thanks
> again for your hints.
In which case, I would try the effect of
a) playing with the quotation marks, i.e. try " " instead of ' '
b) playing with the separator, i.e. try hdb,hdc hdb-hdc or even hdbhdc.
strstr() only looks for the first occurrence of a substring,
and has no concept of separators.
Cheers,
--
Email: d.wright@open.ac.uk Tel: +44 1908 653 739 Fax: +44 1908 655 151
Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer: These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.
Reply to: