[lkml]   [2009]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [ofa-general] Re: [PATCH 10/14] infiniband: use printk_once

    > I'm a bit nervous about this one.
    > printk_once will print once ONLY if CONFIG_PRINTK is set in include/linux/autoconf.h
    > (i.e., when the kernel is configured). Otherwise, it gets defined to printk --
    > and it will always print in this case.
    > (see 2.6.30.xx kernel include file "include/linux/kernel.h", lines 235, 249, and 272).

    Umm... if CONFIG_PRINTK is turned off nothing prints, right?

    > Do you think that distributions will ALWAYS have CONFIG_PRINTK defined?

    Yes, I suspect they do want to get kernel messages.

    - R.

     \ /
      Last update: 2009-08-10 19:45    [W:0.021 / U:41.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site