From: Geoff Levand Date: Mon, 07 Aug 2017 18:49:28 +0000 Subject: Re: block/ps3vram: Delete an error message for a failed memory allocation in ps3vram_cache_init() Message-Id: <3a657b44-2bc8-ee05-3a42-db7af354967e@infradead.org> List-Id: References: <8d140d00-935c-da0a-ff2e-167abe642bda@infradead.org> <32cdcd8a-1000-223c-71da-4c9119954d4e@users.sourceforge.net> In-Reply-To: <32cdcd8a-1000-223c-71da-4c9119954d4e@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring , linuxppc-dev@lists.ozlabs.org Cc: Benjamin Herrenschmidt , Michael Ellerman , Paul Mackerras , LKML , kernel-janitors@vger.kernel.org On 08/07/2017 11:34 AM, SF Markus Elfring wrote: >> I didn't consider one would be triggered by the kzalloc failure. > > Do you reconsider any special system settings for further > software evolution then? Sorry, I don't quite understand your question. I think your original patch is OK, and I would appreciate if you added a check for failure of ps3vram_cache_init() in ps3vram_probe(). If you decide not to add that check I'll create a patch for it later. If this doesn't answer your question, could you please rephrase it? -Geoff