lkml.org 
[lkml]   [2011]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: Missing put_cpu() in arch/ia64/sn/kernel/sn2/sn_hwperf.c?
    On Mon, Aug 8, 2011 at 14:05, Thomas Meyer wrote:
    >  Check for get/put_cpu() imbalances
    >
    >  The simplified semantic patch that makes this report is:
    >
    > * get_cpu()
    > ... when != put_cpu()
    > ? get_cpu()
    >
    > arch/blackfin/kernel/cplbinfo.c:89:9-10: WARNING: Possible missing put_cpu()!

    the get_cpu() is in the seq_operations.start while the put_cpu() is in
    the seq_operations.stop. i believe this is OK and so this is a false
    positive for blackfin.
    -mike
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-08-20 06:07    [W:3.124 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site