RE: [PATCH] fix setting of sn_hub_info->shub_1_1_found

Luck, Tony
2005-06-06T05:05:54Z

>There is a linker restriction that you must initialise variables that
>are to be stored in different sections, which is what __initdata does.
>without initialization shub_1_1_found ends up in .bss, with
>initialization it ends up in .init.data.

Keith,

Thanks for the explanation.

At least things will still work as expected, we just won't free up the
memory for uninitialized __initdata objects, which is better than having
__initdata objects initialized to random values.

But it does mean that the docs are right, and that we should fix up
other places where __initdata objects do not have initializers.

-Tony