Re: block/ps3vram: Delete an error message for a failed memory allocation in ps3vram_cache_init()

From
Geoff Levand <geoff@infradead.org>
Date
2017-08-07 18:28:15
Also in
kernel-janitors, lkml
Reply to
SF Markus Elfring, 2017-08-07
On 08/07/2017 09:27 AM, SF Markus Elfring wrote:
quoted
quoted
Omit an extra message for a memory allocation failure in this function.

This issue was detected by using the Coccinelle software.
NACK

When a user asks me for help I would certainly like to get 
'Could not allocate cache tags' as apposed to nothing,
Do you find the default allocation failure report insufficient?
The default is OK.  I didn't consider one would be triggered by
the kzalloc failure.
quoted
since the return value of ps3vram_cache_init() is not checked.
Are there any more update candidates to consider for better exception handling?
The return of ps3vram_cache_init() should be checked.  Feel
free to propose others.

-Geoff
Thread (11 messages) 11 messages, 4 authors, last reply 2017-08-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help