lkml.org 
[lkml]   [2015]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/35 linux-next] ata: constify of_device_id array


> On 16 March 2015 at 23:16 Richard Weinberger <richard.weinberger@gmail.com>
> wrote:
>
>
> Fabian,
>
> On Mon, Mar 16, 2015 at 8:17 PM, Fabian Frederick <fabf@skynet.be> 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


\
 
 \ /
  Last update: 2015-03-17 20:01    [W:0.443 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site