2.2.18pre2: slab.c missing return

From: Chip Salzenberg (chip@valinux.com)
Date: Sat Sep 02 2000 - 01:10:43 EDT

  • Next message: Chip Salzenberg: "2.2.18pre2: gcc 2.7 doesn't like __attr__((unused))"

    The modification of slab.c in 2.2.18pre2 seems to be missing a "return"
    in kmem_cache_shrink():

    Index: mm/slab.c
    --- mm/slab.c.prev
    +++ mm/slab.c Fri Sep 1 21:16:45 2000
    @@ -1048,5 +1048,5 @@ found:
     int kmem_cache_shrink(kmem_cache_t *cachep)
     {
    - __kmem_cache_shrink(cachep,0);
    + return __kmem_cache_shrink(cachep,0);
     }
     

    -- 
    Chip Salzenberg              - a.k.a. -              <chip@valinux.com>
    "I wanted to play hopscotch with the impenetrable mystery of existence,
        but he stepped in a wormhole and had to go in early."  // MST3K
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/
    



    This archive was generated by hypermail 2b29 : Sat Sep 02 2000 - 01:13:17 EDT