[lkml]   [2001]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [CHECKER] 2.4.5-ac4 non-init functions calling init functions

    engler@csl.Stanford.EDU said:
    > drivers/mtd/docprobe.c:195:DoC_Probe: ERROR:INIT: non-init fn
    > 'DoC_Probe' calling init fn 'doccheck'

    Strictly speaking, not actually a bug. DoC_Probe() itself is only ever
    called from __init code. But it's probably not worth trying to make the
    checker notice that situation - I've fixed it anyway by making DoC_Probe()
    __init too, which saves a bit more memory. Thanks.

    parse_mem_cmdline() in arch/i386/kernel/setup.c is a similar false (or at
    least questionable) positive. Note that it's an inline function, only used
    inside setup_arch(), which _is_ marked __init.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:54    [W:0.025 / U:13.192 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site