[lkml]   [2011]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] watchdog: fix nv_tco section mismatch
    On 03/25/11 16:42, Mike Waychison wrote:
    > On Thu, Mar 24, 2011 at 1:32 PM, Randy Dunlap <> wrote:
    >> From: Randy Dunlap <>
    >> Fix section mismatch warning:
    >> Mark the called nv_tco_getdevice() as __devinit, just like its caller.
    > This looks fine.
    > I can't seem to reproduce the warning on my end however, compiling
    > this as a built-in nor as a module. How do I trigger a difference
    > between __init and __devinit?

    I just used allmodconfig. But why wouldn't you see a differnence between
    __init and __devinit? They are defined differently in include/linux/init.h,
    but maybe on some $arch, those sections are treated differently?

    I dunno.

    *** Remember to use Documentation/SubmitChecklist when testing your code ***

     \ /
      Last update: 2011-03-26 02:45    [W:0.021 / U:1.852 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site