Fabian,

On Mon, Mar 16, 2015 at 8:17 PM, Fabian Frederick <[email protected]> wrote:
> of_device_id is always used as const.
> (See driver.of_match_table and open firmware functions)

Do you know the gcc plugin-system?
You could improve the const plugin in to find more interesting structs
to constify them.
http://grsecurity.net/~ephox/const_plugin/
Please check also the latest grsecurity patch.

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

Reply via email to