Re: [PATCH 1/2] modpost: reduce visibility of symbols and constify r/o arrays

From: Rusty Russell
Date: Wed Aug 27 2014 - 07:30:37 EST


Mathias Krause <minipli@xxxxxxxxxxxxxx> writes:
> Internally used symbols of modpost don't need to be externally visible;
> make them static. Also constify the string arrays so they resist in the
> r/o section instead of being runtime writable.

I'm not convinced of the second patch, but I've applied it anyway.

Thanks,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/