lkml.org 
[lkml]   [2013]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 0/4] Improve CLKSRC_OF matching
    Date
    On Thursday 07 February 2013, Rob Herring wrote:
    > How so? I don't see a warning as there is no type checking on the init
    > function since of_device_id.data is just a void *. It would be good to
    > have type checking here if you know a way, but I don't.

    Ah, that's right. So it silently builds find even though the
    prototypes don't match, and given the C calling conventions
    it even ends up working correctly, it just feels wrong.

    Arnd


    \
     
     \ /
      Last update: 2013-02-08 01:41    [W:2.507 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site