Re: [PATCH 01/35 linux-next] ata: constify of_device_id array

From: Fabian Frederick
Date: Tue Mar 17 2015 - 14:48:28 EST




> On 16 March 2015 at 23:16 Richard Weinberger <richard.weinberger@xxxxxxxxx>
> wrote:
>
>
> Fabian,
>
> On Mon, Mar 16, 2015 at 8:17 PM, Fabian Frederick <fabf@xxxxxxxxx> 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 a lot for information Richard, I didn't know about that project.

Regards,
Fabian

>
> --
> Thanks,
> //richard
--
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/