[stable] [PATCH] drm/kms: remove spaces from connector names

Sergej Pupykin ml at sergej.pp.ru
Mon Dec 13 02:43:48 PST 2010


At Fri, 10 Dec 2010 19:05:13 +0100,
Peter Stuge <peter at stuge.se> wrote:
> append can contain any arbitrary string, which will be parsed by the
> kernel. I e.g. use:
>
> append="root=/dev/sda2 snd_ac97_codec.power_save=1 usbcore.autosuspend=1 hpet=force quiet drm_kms_helper.poll=0"
>
> And grub also supports an append string with spaces, that is probably
> used by every distribution.
>
> The question is, what will the kernel parser do about that space?

It seems lilo also have no support for such parameters.

append="video=9-pin DIN:1024x768-24 at 60e"

does not work (kernel panic: DIN: bad variable name)

As I understand, I should pass somehow to kernel string like:

video="9-pin DIN:1024x768-24 at 60e", but lilo uses doublequotes as
r-value bounds.

in_quote variable in next_arg() is set only for " character.


More information about the dri-devel mailing list