lkml.org 
[lkml]   [2015]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 01/35 linux-next] ata: constify of_device_id array
    From
    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,
    //richard


    \
     
     \ /
      Last update: 2015-03-16 23:21    [W:2.239 / U:0.304 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site