[PATCH] powerpc: force 4k update_flash block and list sizes
Michael Neuling
mikey at neuling.org
Wed Nov 8 13:06:22 EST 2006
> +
> + if (flash_block_cache) {
> + rc = kmem_cache_destroy(flash_block_cache);
> + if (rc)
> + printk(KERN_WARNING "%s: cache memory leak\n",
> + __FUNCTION__);
> + }
kmem_cache_destroy doesn't return anything. Hence we get:
arch/powerpc/kernel/rtas_flash.c: In function 'rtas_flash_cleanup':
arch/powerpc/kernel/rtas_flash.c:835: error: void value not ignored as it ought to be
Mikey
More information about the Linuxppc-dev
mailing list