From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Michael Neuling To: John Rose Subject: Re: [PATCH] powerpc: force 4k update_flash block and list sizes In-reply-to: <1162960202.14254.3.camel@sinatra.austin.ibm.com> References: <1162943615.13499.15.camel@sinatra.austin.ibm.com> <20286.1162951582@neuling.org> <1162960202.14254.3.camel@sinatra.austin.ibm.com> Date: Wed, 08 Nov 2006 15:39:04 +1100 Message-ID: <945.1162960744@neuling.org> Sender: mikey@neuling.org Cc: External List , Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , In message <1162960202.14254.3.camel@sinatra.austin.ibm.com> you wrote: > > kmem_cache_destroy doesn't return anything. > > Good call! How's this: > + if (flash_block_cache) { > + rc = kmem_cache_destroy(flash_block_cache); > + if (rc) > + printk(KERN_WARNING "%s: cache memory leak\n", > + __FUNCTION__); > + } Arrh, did anything change? Mikey