[lkml]   [2003]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2.5.56] Sound core not compiling without /proc support
    On Sun, Jan 12, 2003 at 01:00:40PM +0100, Paul Rolland wrote:
    > Hello,
    > Here is a quick patch to allow sound support to compile correctly
    > when not using /proc support.

    You are making all users of functions manipulating /proc condentional.
    A simpler approach would be to make the functions that actually
    minipulate /proc conditional.
    For example snd_info_card_create() could be a noop if CONFIG_PROC_FS
    is not defined.
    Then you minimize the number of #ifdef's, and they are placed logically
    where they belongs.

    Furhtermore you make less code conditional which imply that the execution
    path - and thus code getting more test - is more similar for the two cases.

    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 13:32    [W:0.018 / U:1.604 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site